Getting error 'ViewController' does not conform to protocol 'JTAppleCalendarViewDelegate'

Currently running version 7.1.4 (Was previously running 7.0 but then updated) and going alongside the YouTube video for creating calendar from scratch using JTAppleCalendar. (https://www.youtube.com/watch?v=zOphH-h-qCs)  In the video, I was able to follow all the way up till about 7:20 but once you start conforming to delegate and datasource protocols, you add in the second function and the error that says "'ViewController' does not conform to protocol 'JTAppleCalendarViewDelegate' " I'm assuming goes away for you, but for me it stays and so my build fails. I am also running the newest version of Xcode but am still in Swift 3. I have attached the code with the error.

I got the same error. I had to implement the following method:
func calendar(_ calendar: JTAppleCalendarView, willDisplay cell: JTAppleCell, forItemAt date: Date, cellState: CellState, indexPath: IndexPath) {

Just did it, and it works. Thanks


improved numeric types in board

Currently we only have signed XCoord and YCoord, which is a problem because in some places (like the size of the board) we should have an unsigned value. also, for some functions it doesn't matter whether its an X or a Y value.

I think the change we need to make here is to make the board a Resource rather than just reference it in another module. When you start the game you might specify the board size and shape as parameters... Rendering might track the head and support zooming (ie. change the viewport geometry). What if move was impl Board { fn move(loc, dir)-> Loc { ... } } and you didn't even have to know the dimensions? Render could ask Board what the world dimensions are in usize. Love your code - what do you think of this?

Whoops didn't realise this would be closed too. Do you want to raise this again against step2?

Sure


Prevent multiple login failures because "Background" steps

This PR fixes:

Scenario: Check for the Salt entitlement
Scenario: Check installed packages are visible

We don't want to do a common login in "Background" for all scenarios because step I am on the Systems overview page of this client also handle the login for those tests. If multiple logins are done then tests will fail.
/cc @hustodemon @mseidl

this looks fine.


CI for Node 2

npx standard && npx jest

Initializes with two players

Initializes with two players

Initializes with two players


Update documentation to reflect 'ESM first' approach

Now that we have landed support for ES modules in #8329 the documentation should be updated to reflect this as the preferred approach to use Leaflet. This includes:

Replacing usages of the global L with imports (preferably named)
Updating installation instructions to prefer loading Leaflet as an import from CDNs
Possibly recommending Import Maps (needs more browser adoption).

I would be happy to take this on if you wanted some help. I've documented other projects with the SkyPack CDN which provides a CDN optimized for delivering ES modules. Once a beta/rc is on NPM it should be pretty strightforward to get the doc updated.

@patrickarlt feel free to give it a first draft if you like, I think it's good to start putting some ideas out there. Most likely this is something we'd try to land in multiple PRs, starting with the download and quickstart pages.
We'll also have to make some changes so that this documentation is not immediately published to from main. Perhaps we'll have to deploy this to another domain (e.g. next.leafletjs.com). @mourner @Falke-Design WDYT?

Yeah fine for me. But I don't know if it is possible to deploy from different branches to different domains over Github.
Or maybe v2.leafletjs.com?

I think v2.leafletjs.com would be nice yeah, @mourner is this something we can arrange?

@jonkoops that'd be great! Need to figure out how to do it...

@mourner @jonkoops It seems that we're gonna need a new repo just for v2.leafletjs.com (assuming we want to use github pages).
Having several branches of the same repo as different instances of github pages has been asked, and the answer was "no". See https://github.com/orgs/community/discussions/21582 .
It would be posible to do something more convoluted, such as a gitlab mirror of the whole repo, and using gitlab pages for a branch from the mirror. Unfortunately I don't know which approach is the cleanest one / the one with the lowest friction.

What if we make a subfolder leafletjs.com/v2/ instead of a subdomain (v2.leafletjs.com)?

Not sure if that would work. But perhaps we should start deploying the site from the v1 branch instead? That way we can work on the v2 docs directly on main, just like with the other features.

Yes I think that would make sense.
@mourner ok for you?

@Falke-Design yes! Ideally we would also have a staging URL to check how the v2 website from the main looks.

Ok, I have configured GitHub pages to deploy from the v1 branch, rather than main. So any changes we land in main should no longer affect the site.

yes! Ideally we would also have a staging URL to check how the v2 website from the main looks.

Agreed, do we have some way of accomplishing this? It seems GitHub pages will not allow us to do so, should we look for an alternative solution?

We could generate the page manually and then push it to the server in a own workflow. With that we could deploy to a subdomain too.
I will mark this with https://github.com/Leaflet/Leaflet/labels/help wanted

@jonkoops @mourner I never worked with aws, but can we make a second bucket for v2 and using this workflow to push our docs to another aws-bucket?

I guess we could yeah, @mourner is the owner of that bucket so perhaps he will know. If Github pages doesn't work then it would at least be nice to deploy somewhere else in the mean time.


Notification after copying query and results

This PR fixes #
Received feedback from the team to add notification after copying the wuery and results. Added the same in this PR

Pull Request Test Coverage Report for Build 461591809

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.001%) to 43.081%

Files with Coverage Reduction
New Missed Lines
%

extensions/import/src/wizard/pages/fileConfigPage.ts
1
73.46%

Totals

Change from base Build 461575041:
0.001%

Covered Lines:
24165

Relevant Lines:
51399

💛  - Coveralls

Pull Request Test Coverage Report for Build 461591809

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.001%) to 43.081%

Files with Coverage Reduction
New Missed Lines
%

extensions/import/src/wizard/pages/fileConfigPage.ts
1
73.46%

Totals

Change from base Build 461575041:
0.001%

Covered Lines:
24165

Relevant Lines:
51399

💛  - Coveralls


378-add-suffix-Query-for-all-queries

#378:

all queries are renamed to have suffix Query
all queriy tests are rename accordingly

Changes are done with following script:
toRename := ClyQuery allSubclasses reject: [ :each | each name includesSubstring: 'Query' ].

toRename do: [ :each | | c |
	c := SycRenameClassCommand new targetClass: each; newName: (each name, 'Query') asSymbol.
	c execute	 ].

testsToRename := toRename collect: [ :each | (each name withoutSuffix: 'Query'), 'Tests' ] thenSelect: [ :each | (self environment at: each asSymbol ifAbsent: [ nil ]) notNil ].

testsToRename do: [ :each | | c |
	c := SycRenameClassCommand new targetClass: each asClass; newName: ((each withoutSuffix: 'Tests'), 'QueryTest') asSymbol.
	c execute	 ].

#407:

all tests are renamed to have singular suffix Test instead of Tests

Changes are done with following script:
allTests := TestCase allSubclasses select: [ :each | each package name beginsWith: 'Calypso' ].

toRename := allTests select: [ :each | each name endsWith: 'Tests' ].
"toRename collect: [ :each | each name allButLast ]."

toRename do: [ :each | | c |
	c := SycRenameClassCommand new targetClass: each; newName: (each name allButLast) asSymbol.
	c execute	 ].

I thought Iceberg issue https://pharo.manuscript.com/f/cases/22749/Iceberg-does-not-see-rename-of-extended-class-which-leads-to-broken-commit was fixed but it is not


[BUG] - Debounce search field pushing history state

Briefly describe the bug.
When typing something in the space search bar, each keystroke is registered as a new page in the browser history
How can we reproduce the bug?

 A new history state was pushed for each keystroke

What is the expected behaviour?
Pushing new state in the history should be debounced, like sending the request to the hub.
A request is not send to the hub on each keystroke, history state should follow the same pattern
Can you attach screenshots?
No response
Can you provide your device specific details below?

Device Type - [ex. Desktop or Mobile]
Device OS - [ex. Android, MacOS, Windows, iOS]
OS Version - [ex. iOS 11, Windows 10]
Browser - [ex. chrome, safari]
Browser Version - [ex. 101]
Wallet - [metamask, portis, walletconnect]
Space - [ex. ENS, Gitcoin]
Any additional information we should know -

Bump

Should also debounce all input fields trigerring an API on change


Removed zeroGyro() in reset odometery

We also call resetOdometry() in Swerve's constructor and since the zero gyro() call is removed from resetodometry(), I think we might need to add a call to zero the gyro in the constructor.


PHP 5.6 also works with this but composer.json prevents using

I'm using PHP 5.6 in my project. I have been using this library by copy-pasting the code and it works. I wanted to use it via composer but composer.json requires to have PHP 7+.
Can we please update the composer.json to support 5.6 as well because code is working fine.
Thanks!

You mustn't be copy-pasting master or a recent version, because this https://github.com/lastguest/murmurhash-php/blob/master/src/lastguest/Murmur.php#L24 (master) won't work on 5.6 for sure.
version 1.2.0 should work with 5.6


Commands with cursor position?

Hi!
I would like to have some commands that either return the x/ypos of the current cursor position (e.g. after Move Next/Previous Field) or use the current cursor position (e.g. Read with only length specified).
Also helpful would be something like Search Screen with a string returning the x/ypos.
Could this be added to the library?

So at least for the first addition, to get the cursor position, there is no x3270 action that would return that value.
As for the second one, to Read from the current position, it seems like this is an easy one. The Ascii() action provided by x3270 allows for reading the length of a string from the current cursor position if only one argument is specified.
About the last one, I have not yet come up with an idea.

@robinmatz I looked at the commands too and was quite astonished that there does not seem to exist any command that returns the cursor position. Very weird.
Could it be reported at x3270 project as an enhancement?
Will reading at cursor position be an extension of the Read command or become a new command like Read_at_cursor?
If you have something for getting the cursor position then I would imagine using it in Search would be obvious?

@robinmatz  I found this http://x3270.bgp.nu/Unix/x3270-script.html which describes the Status Format of 12 fields of which fields 9 and 10 are the cursor row and column. Could this of use?

@robinmatz As you rightfully separated issues from this one, will this one be continued as only read from cursor position request?
(I guess Search screen could wait until there is a working Cursor query?)
Or should I create new issues for that and close this one?

Hey @Harm10 , you can create issues for the remaining features. I only created the first one, because this was the first that I wanted to work on.

@robinmatz I have created 2 new issues for the other requests. So this one can be closed?

@robinmatz Gentle reminder on my question.......... :-)

Ohh, sorry for the late reply. Yes, this issue can be closed now.

Closed because issues were separated into different issue reports.

@robinmatz Rereading this discussion I noticed we did not continue on my request for a command like Move to next field. I never created a separate issue for this. Should I do that still?

Reopened this one to become more viewable for my question on Move to next field.

Hey @Harm10 , can you please explain what you wanted to change about the Move Next Field keyword?
A PR with a keyword to get the current cursor position has already been merged.

@robinmatz If you have a screen with different input fields it would be easy to just move from field to field in stead of using it's exact position.
Also if you have a screen that contains a list of which you do not know how many lines it has it would be easy if you could move vertically if there is some field.
I understand that what I call field could be different things (input field, text field etc.).
In my view if you have already have a command that gives you the current cursor position then you can move horizontally and/or vertically so many positions would help a lot. Maybe that is the easiest first implementation?
And call it Move left/right/up/down?
Maybe you can tell me what you can discern of the type of field? If this is difficult then move to next input field would probably undoable.
Does this make sense?

I am not quite sure if I understand correctly. The library already offers two keywords, Move Next Field and Move Previous Field, to move between fields. Move Next Field leverages the underlying x3270 Tab() action, moving to the next modifiable input field. Move Previous Field uses x3270's BackTab() action.
Do these keywords serve your use case?

@robinmatz You are quite right to point to Move Next Field. This moves to the next INPUT field. But processing screens also gets information from other fields or locations on the screen. I do not know the correct terminology but a non input or text field is not reachable by this command.
Also navigating on the screen vertically is out of the question.
Now there is a command that gives you the Cursor position on the screen it seems to me that you can easily use that in a new command like Move Up or Move Down? If you understand what I mean with this I assume you will also understand Move Left and Move Right?

I was thinking about a keyword like
Move Cursor To     ypos=1     xpos=5

because it would be rather easy to implement. This keyword would allow you to move to any given ypos/xpos coordinate on the screen.
Does this sound good to you?

Good idea!

Publised in version 4.1


Idle notifier notifies on every cannonball craft

While smelting an inventory of steel bars to cannonballs, the idle notifier notifies midway through each cannonball craft.
It only notifies with "idle animations notifications" is checked, and ignores any timers set.
Steps to reproduce the behavior:

Take a cannonball mould and more than one steel bar.
start smelting the bars
Make the runelite window inactive.
Idle notification happens midway through the smelting of a cannonball batch.

Expected behavior
Idle notification happens at the end of ALL cannonball smelts.
Screenshots
Idle notification setup:

Environment (please complete the following information):

OS: MacOS
RuneLite version: 1.5.311

That's because your delay is only 7 milliseconds. Cannonball smithing wants a much higher delay, probably around 2000. Keep adjusting until you find a good value

thank you, i was under impression it was seconds.
Closing.

Hovering over the label shows a tooltip with the full name on it, by the way


[NO MERGE] Test PR for BROP

This PR is not for development...
Please ignore this T.T

No more needed! :D


Identity matrix

Write a program by accepting values from the user to determine whether the matrix is an identity matrix or not .

i would like to work on this
Rishita Chourey
FY comp

Janhavi Punse
SY Computer
I would like to work on this

This issue is exclusively for FYs .


Change API version to 2021-08-01

Update the API Management SDK to latest version 8.0.0
https://www.nuget.org/packages/Microsoft.Azure.Management.ApiManagement/8.0.0-preview

changed due to our usage of API client instead of APIM NuGet

Closing due to merging #662


OpenBSD build fails

I am trying to build cloudproxy on OpenBSD 5.9 amd64.
On Ubuntu, "go get github.com/GoogleCloudPlatform/cloudsql-proxy/cmd/cloud_sql_proxy" succeeds with go 1.63, but it fails on OpenBSD as:
go/src/bazil.org/fuse/error_std.go:27 undefined: errNoXattr
go/src/bazil.org/fuse/fuse.go:1345 undefined: attr
go/src/bazil.org/fuse/fuse_kernel.go:404 undefined: attr

I used go-1.5 (package) and go-1.6 (from source).
Is there any way to build without fuse support, as I do not need fuse on OpenBSD ?

Can you try again after https://github.com/GoogleCloudPlatform/cloudsql-proxy/commit/2d769ed481555c82d0cebddc52ec29851e8fa43b? I believe that's the way to cause it to ignore that package.

It builds and works now.
Thanks.

Great! Let me know if there's any other troubles on OpenBSD.


Feature Request: Highlight all finding

Description of the new feature/enhancement
A good and handy feature  will be the option to highlight all the find when using the ctrl+shift+f
Something like the GitBash alt+f3 search option:

This is really helpful when looking for something or doing some comparison

I actually like how the terminal scrolls to the next selection when searching a term but this can be useful too. Can this be a sub-setting?

Linking this to #3920. Thanks!

Please to implement this - it's dreadfully useful 🙏


OCPBUGS-34380: fix ingress node firewall lookup on s390x "bigendian" arch

- What this PR does and why is it needed
fix INFW key format on bigendian arch
- How to verify it

test on s390x arch
pass ut and e2e testing

- Description for the changelog
fix ingress node firewall ebpf lookup on s390x arch

/jira refresh

/retest

/retest

/jira cherrypick release-4,16

/jira cherrypick OCPBUGS-34380

/label cherrypick release-4,16

/cherrypick release-4.16


looking for special traces or scripts

I want to do some research about caching with low locality(means large reuse distance), but I don't find such nice traces.
So I want to ask is there such kind of traces in this project?
Or any scripts to get L2 traces by doing a L1 filtering?
Thank you for your time.

answered here https://groups.google.com/g/cache-trace/c/ct8MqEvKRhg

Thank you very much!!!
------------------ 原始邮件 ------------------
发件人:                                                                                "twitter/cache-trace"                                                                                @.>;
发送时间: 2021年3月22日(星期一) 上午10:50
@.>;
<EMAIL_ADDRESS>主题: Re: [twitter/cache-trace] looking for special traces or scripts (#2)
answered here https://groups.google.com/g/cache-trace/c/ct8MqEvKRhg
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Characters 8220 & 8221 are replaced with 28 (FS) & 29 (GS) when emitting/receiving a message

To reproduce, I emit a message such as “test” which contains characters 8220 & 8221. I've checked down to engine.io, and the packet seems to have the quote characters.
However, when received by the client, these characters seem to have been replaced with FS & GS. I've verified this in the Websockets tab under Network in Chrome as well:
engine.io-client:socket socket receive: type "message", data ... <FS>test<GS> // added just for illustration purposes

The log statement socket.io-parser decoded followed by engine.io-client:socket socket receive is missing in this case, and therefore the function added to on does not fire.
Any ideas?

Thank you for reporting the issue. Could you post the actual code you tried?

Sorry for taking so long to get back to you.
We must have been using an old version of socket.io-client, after upgrading to 1.3.5 the issue is solved. It could have been related to https://github.com/Automattic/socket.io/issues/2018


Feature request: raspi4 64 bit upstream 5.8.x+ kernel

** Description**

Steps to reproduce the issue:

Using poky dunfell and meta-raspberrypi dunfell I hacked my way though meta-raspberrypi and it's possible to use the raspberry kernel 4.19, 5.4 and 5.8-rc6 and boot with a rootfs over nfs.

Describe the results you received:

I added to upstream device tree overlays
I used upstream bcm2711-rpi-4-b.dts and it's dependencies
Then I tried to use upstream 5.8 with defaultconfig, as well as bcm2711_defconfig - no luck

Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Additional details (revisions used, host distro, etc.):
Is someone here interested to get a minimal rapberry 4 to run from an upstream kernel?
This is what I figured out in the meantime:
*) U-Boot has no network support, so Kernel and device tree need to reside on the SD card
*) rootfs over nfs works (with a happy raspi kernel)
Additional hints on how to get upstream to boot would be very useful.

Having said that I think there is lots of magic going on. What e.g. is kernel8.img?

kernel8.img is the file that the boot firmware will load when booting, e.g if you are using U-Boot in your build then kernel8.img == u-boot.bin.
The RPi boot firmware also supports booting the Linux kernel directly in which case kernel8.img == Image.
I know there is some strange management of the UART baudrate because it depends on VPU frequencies, and it is normally setup by the boot firmware. E.g U-boot relies on that it is configured by the boot firmware, meaning it does attempt to re-configure it. A similar case could be with the Linux kernel. I am not sure if it is allowed to be changed UART configuration and there might be some special handling in the downstream kernel for this.

You may want to look at how I tested upstream on raspberrypi3 in meta-kernel:

Config to be included in local.conf or a distro conf file: https://gitlab.com/openembedded/community/meta-kernel/-/blob/master/conf/meta-kernel/bsp/raspberrypi3.inc
Standalone recipe to populate cmdline.txt (I need to upstream this when I get some time): https://gitlab.com/openembedded/community/meta-kernel/-/blob/master/recipes-bsp/raspberrypi/rpi-cmdline.bb

Config to be included in local.conf or a distro conf file: https://gitlab.com/openembedded/community/meta-kernel/-/blob/master/conf/meta-kernel/bsp/raspberrypi3.inc

As far as I understand with a multi-v7 defconfig it is 32 bit and not 64 bit and it seems to be raspi 3 and not raspi 4.
Do you have upstream on raspi4 with 64 bit working?

@RobertBerger I've not looked at rpi4 64-bit yet in meta-kernel. It should just be a case of finding the right defconfig if it is already supported upstream.

@RobertBerger I've not looked at rpi4 64-bit yet in meta-kernel. It should just be a case of finding the right defconfig if it is already supported upstream.

It does not seem to be that easy. For arm 64 it's defconfig ;)
At the moment I copied a couple of patches (most likely more than actually needed) over to upstream from the raspi kernel and I got it to boot with patched upstream + defconfig but rootfs only from SD card - not yet over nfs.

Here is something I hacked up, which seems to work for me ;)
https://gitlab.com/meta-layers/meta-raspberrypi-ml-bsp/-/tree/dunfell/


Error after add a package/dataset - CKAN 2.6.2

I got this error when I try to add a new package:
2017-06-21 10:36:32,052 INFO  [ckan.lib.base]  /api/i18n/en render time 0.008 seconds
/usr/lib/ckan/default/local/lib/python2.7/site-packages/sqlalchemy/orm/unitofwork.py:79: SAWarning: Usage of the 'related attribute set' operation is not currently supported within the execution stage of the flush process. Results may not be consistent.  Consider using alternative event listeners or connection-level operations instead.
  sess._flush_warning("related attribute set")
2017-06-21 10:36:39,449 ERROR [ckan.model.modification] (ProgrammingError) relation "archival" does not exist
LINE 2: FROM archival JOIN resource ON archival.resource_id = resour...
             ^
 'SELECT archival.id AS archival_id, archival.package_id AS archival_package_id, archival.resource_id AS archival_resource_id, archival.resource_timestamp AS archival_resource_timestamp, archival.status_id AS archival_status_id, archival.is_broken AS archival_is_broken, archival.reason AS archival_reason, archival.url_redirected_to AS archival_url_redirected_to, archival.cache_filepath AS archival_cache_filepath, archival.cache_url AS archival_cache_url, archival.size AS archival_size, archival.mimetype AS archival_mimetype, archival.hash AS archival_hash, archival.etag AS archival_etag, archival.last_modified AS archival_last_modified, archival.first_failure AS archival_first_failure, archival.last_success AS archival_last_success, archival.failure_count AS archival_failure_count, archival.created AS archival_created, archival.updated AS archival_updated \nFROM archival JOIN resource ON archival.resource_id = resource.id \nWHERE archival.package_id = %(package_id_1)s AND resource.state = %(state_1)s' {'package_id_1': u'cc687cd5-3f7e-4011-8142-80d20965227f', 'state_1': 'active'}
Traceback (most recent call last):
  File "/usr/lib/ckan/default/src/ckan/ckan/model/modification.py", line 88, in notify
    observer.notify(entity, operation)
  File "/usr/lib/ckan/default/src/ckan/ckan/lib/search/__init__.py", line 130, in notify
    {'id': entity.id}),
  File "/usr/lib/ckan/default/src/ckan/ckan/logic/__init__.py", line 431, in wrapped
    result = _action(context, data_dict, **kw)
  File "/usr/lib/ckan/default/src/ckan/ckan/logic/action/get.py", line 1011, in package_show
    item.after_show(context, package_dict)
  File "/usr/lib/ckan/default/src/ckanext-archiver/ckanext/archiver/plugin.py", line 184, in after_show
    archivals = Archival.get_for_package(pkg_dict['id'])
  File "/usr/lib/ckan/default/src/ckanext-archiver/ckanext/archiver/model.py", line 143, in get_for_package
    .filter(model.Resource.state=='active') \
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2293, in all
    return list(self)
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2405, in __iter__
    return self._execute_and_instances(context)
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2420, in _execute_and_instances
    result = conn.execute(querycontext.statement, self._params)
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 727, in execute
    return meth(self, multiparams, params)
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/sqlalchemy/sql/elements.py", line 322, in _execute_on_connection
    return connection._execute_clauseelement(self, multiparams, params)
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 824, in _execute_clauseelement
    compiled_sql, distilled_params
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 954, in _execute_context
    context)
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1116, in _handle_dbapi_exception
    exc_info
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 189, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb)
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 947, in _execute_context
    context)
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 435, in do_execute
    cursor.execute(statement, parameters)
ProgrammingError: (ProgrammingError) relation "archival" does not exist
LINE 2: FROM archival JOIN resource ON archival.resource_id = resour...
             ^
 'SELECT archival.id AS archival_id, archival.package_id AS archival_package_id, archival.resource_id AS archival_resource_id, archival.resource_timestamp AS archival_resource_timestamp, archival.status_id AS archival_status_id, archival.is_broken AS archival_is_broken, archival.reason AS archival_reason, archival.url_redirected_to AS archival_url_redirected_to, archival.cache_filepath AS archival_cache_filepath, archival.cache_url AS archival_cache_url, archival.size AS archival_size, archival.mimetype AS archival_mimetype, archival.hash AS archival_hash, archival.etag AS archival_etag, archival.last_modified AS archival_last_modified, archival.first_failure AS archival_first_failure, archival.last_success AS archival_last_success, archival.failure_count AS archival_failure_count, archival.created AS archival_created, archival.updated AS archival_updated \nFROM archival JOIN resource ON archival.resource_id = resource.id \nWHERE archival.package_id = %(package_id_1)s AND resource.state = %(state_1)s' {'package_id_1': u'cc687cd5-3f7e-4011-8142-80d20965227f', 'state_1': 'active'}
2017-06-21 10:36:39,464 DEBUG [ckanext.archiver.plugin] Notified of package event: 123123123 new
2017-06-21 10:36:39,472 DEBUG [ckanext.archiver.plugin] New package - will archive
2017-06-21 10:36:39,473 DEBUG [ckanext.archiver.plugin] Creating archiver task: 123123123
2017-06-21 10:36:39,604 DEBUG [ckanext.archiver.lib] Archival of package put into celery queue priority: 123123123
Debug at: http://localhost:5000/_debug/view/1498041399

It looks like some incompatible with 2.6.x version after some migration.

Sorry.
Was my mistake. I reseted my database and forgot to run archiver migration again.


ZeroDivisionError when computing molecular descriptors

I'm trying to use PyBioMed to compute protein molecular descriptors. Everything works just fine except that for some sequences (like "RPDDEWY"), I encounter the following error:
ZeroDivisionError: integer division or modulo by zero.
Specifically, this happens when calling GetPAAC:
descriptors = Pyprotein.PyProtein(sequence)
descriptors.GetPAAC()

The last line of the Traceback points to _GetSequenceOrderCorrelationFactor but if I call just that function it works just fine. If I instead call either _GetPseudoAAC or _GetPseudoAAC1, I get the same error.

I see now that _GetSequenceOrderCorrelationFactor  is called many times and that the sequence provided is too short.

@lorenzoFabbri
Thanks for your comments.
lamda factor reflects the rank of correlation and is a non-Negative integer, such as 15.
Note that (1)lamda should NOT be larger than the length of input protein sequence;
(2) lamda must be non-Negative integer, such as 0, 1, 2, ...; (3) when lamda =0, the
output of PseAA server is the 20-D amino acid composition.


Pipelines_CreateOrUpdate examples crashing model validation process

Commenting out either of the examples allows them to run, but it seems like both together are causing an issue for oav
https://github.com/Azure/azure-rest-api-specs/blob/8bc8571d5d796f7c02b1dc8ce88effd2ba7a23e2/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/datafactory.json#L1680-L1688
https://github.com/Azure/azure-rest-api-specs/blob/8bc8571d5d796f7c02b1dc8ce88effd2ba7a23e2/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L1929-L1937
<--- Last few GCs --->

[93106:0x104800000]    54125 ms: Mark-sweep 1378.5 (1416.4) -> 1378.3 (1417.4) MB, 696.3 / 0.0 ms  (average mu = 0.080, current mu = 0.004) allocation failure scavenge might not succeed
[93106:0x104800000]    55275 ms: Mark-sweep 1379.3 (1417.4) -> 1378.9 (1417.9) MB, 1146.5 / 0.0 ms  (average mu = 0.033, current mu = 0.003) allocation failure scavenge might not succeed

<--- JS stacktrace --->

==== JS stack trace =========================================

    0: ExitFrame [pc: 0x1a78ce9cfb7d]
    1: StubFrame [pc: 0x1a78ce9d0eea]
Security context: 0x253356b9d9f1 <JSObject>
    2: reduceToSingleString(aka reduceToSingleString) [0x2533a99d7f91] [internal/util/inspect.js:~1160] [pc=0x1a78cedfd15c](this=0x2533023025b1 <undefined>,0x2533e5354369 <Object map = 0x2533d498e6e1>,0x25338c311c51 <JSArray[3]>,0x253302302851 <String[0]: >,0x25338c311c31 <JSArray[2]>)
    3: formatRaw(aka formatRaw) [0x...

Abort trap: 6

@JackTn What's do you expect service team to do this? Is it still an issue since it's opened for years, and we know limited on the model validation process.

@JackTn What's do you expect service team to do this? Is it still an issue since it's opened for years, and we know limited on the model validation process.

Close it for now since no one follow up on this.

@shawnxzq I'm not sure if this is happening still, but I don't thing I follow the logic of closing this because the one person you pinged on the MS side didn't respond


apply + assign slows down further computations (possibly related to #1590)

Hi,
Notebook is here and code below for reference.
If you run comment the assignement lines in the MAP and APPLY cells, everything runs as expected.
If you uncomment the assignment in MAP, everything still ok
if you uncomment and run APPLY, it's much slower (expected) but the MAP cell also becomes slower.
I encountered the issue with pd.DateOffset operations. I didn't check if it's related.
It's not really a problem for me at the moment but I wonder if it's the expected behavior and something to plan for or i am doing something wrong (other than using apply!) or a bug...
import dask
import dask.dataframe as dd
from dask.diagnostics import ProgressBar, Profiler, ResourceProfiler, CacheProfiler
import numpy as np
import pandas as pd
from pandas.tseries.offsets import DateOffset

# Versions
print('pandas:', pd.__version__)
print('numpy:', np.__version__)
print('dask:', dask.__version__)

df = pd.DataFrame(index=pd.DatetimeIndex(end=pd.Timestamp('2017-05-18'), periods=25000, freq='1B', name='date'), columns=['value'], data=np.random.rand(25000)).reset_index()
ddf = dd.from_pandas(df, npartitions=10)
def my_func(d):
    return d + DateOffset(months=3)

f = lambda x: my_func(x.date)

# MAP
z = ddf.map_partitions(f, meta=(pd.Timestamp))
ddf = ddf.assign(date2=z)   # Assignement
with ProgressBar():
    ddf.compute()
ddf.head()

# APPLY
z = ddf.apply(f, axis=1, meta=pd.Timestamp)
ddf['date2'] = z  # Assignement
with ProgressBar():
    ddf.compute()
ddf.head()

I think it's a couple things.

When you assign z = ddf.apply(f, axis=1, meta=pd.Timestamp), the meta isn't quite right.

>>> ddf.apply(f, axis=1, meta=pd.Timestamp).dtype
dtype('O')

I think you want z = ddf.apply(f, axis=1, meta=pd.Series(dtype='datetime64[ns]')).dtype
If you run your "APPLY" and then followup with your "MAP" again, I think the apply still has to run, since when you've assigned that column to ddf. And when you ddf.map_partitions(f), all the columns are passed down to f. You could try something like ddf['date'].map_partitions(my_func).

Noted for the meta but I don't think that changes the situation.
Maybe to clarify my question: the MAP and APPLY blocks perform the same thing. I was trying both and discovered the performance of MAP depended on whether I did the APPLY assignement or not:
MAP (0.1s) followed by APPLY (6s). Ok
APPLY (6s) followed by MAP(6s) << I don't understand why MAP is slower now
MAP (0.1s) followed by MAP (0.1s) << That second MAP also get passed all columns, right? so it can't be the explanation

I believe it just comes down to .apply(f, axis=1) being so slow in pandas:
def mkdf():
    df = pd.DataFrame(index=pd.DatetimeIndex(end=pd.Timestamp('2017-05-18'), periods=25000, freq='1B', name='date'), columns=['value'], data=np.random.rand(25000)).reset_index()
    ddf = dd.from_pandas(df, npartitions=10)
    return ddf

def my_func(d):
    return d + DateOffset(months=3)

f = lambda x: my_func(x.date)

This is just pandas, no dask:
%timeit f(df)
100 loops, best of 3: 3.08 ms per loop

%timeit df.apply(f, axis=1)
1 loop, best of 3: 2.67 s per loop

If you define your assignments as functions:
def my_map(ddf):
    z = ddf.map_partitions(f, meta=pd.Series(dtype='datetime64[ns]'))
    ddf = ddf.assign(date2=z)
    return ddf

def my_apply(ddf):
    z = ddf.apply(f, axis=1, meta=pd.Series(dtype='datetime64[ns]'))
    ddf['date2'] = z  # Assignement
    return ddf

And look at the graph produced by .visualize
r1 = my_apply(ddf)
r2 = my_map(r1)

r2.visualize()

You get

so the apply version is still running, since map version comes after it in the dag. It's not that the map version is slower now, it's that both are running.

Ugh... my bad. Of course it does that. Calling APPLY then MAP stacks both operations and the .compute() in MAP compute both actually.
Sorry about that, closing.


how to launch the application at startup and activate it automatically

Hi,
I would like wireguird launch automatically and activate before qbittorrent starts , especially if the computer restarts after a power outage

I'd also like to see some command line option to activate "tunnel x" automatically when launching the program. Whether the launch is done manually (in my case) or automatically (like @carlito13500), is up to the user's system autostart configuration. But for automatically activating a tunnel, we'd need this funcction in WireGUIrd.

Salut  @pkoevesdi , j'ai finalement paramétré une connexion réseau wireguard et  sélectionné l'interface dans qbittorrent

Hi @pkoevesdi , I finally set up a wireguard network connection and selected the interface in qbittorrent

I don't use qbittorrent, but thanks for pushing me towards setting up wireguard in the ubuntu network manager.
I tried it several times, years ago and never got it to work, but this time it did, as described here. I still couldn't set it up within the standard network settings of Ubuntu 23.10, but after setting it up with nm-connection-editor, it shows up there and can be switched on and off. So, wireGUIrd is obsolete for me.
Still thanks to the developer(s) for publishing it! It still has it's value, because we can import a tunnel, and must not fiddle around with these network manager dialogs.


Ebean gets deprecated in spigot

In the following commit in spigot/bukkit repository ebean gets deprecated. It will be completely removed in 1.12.
d991ef4bc922b6d3fd68e2e48d88545654b57eb8

damn :'s

EbeanORM usage has been removed as of version 3.0.0


fix(Analytics): Updating session stop time for cached events.

Description
This PR makes the following changes:
Updating the sessionStopTime value for old events
Whenever we record an analytics event, we save it in the local database using the currentSession values (i.e. sessionId, sessionStartTime, sessionStopTime).
However when a session is stopped (the app either goes to the background or is terminated), we do not update existing events in the local database to set the proper sessionStopTime. Whenever we actually end up submitting these events later, they all include the session information as if it were still running, when that's no longer the case.
So I'm adding a new method to update these values whenever a session is ended, i.e. when we are discarding it and going to start a new one.
Adding a queue to deal with async tasks in SessionClient
All analytics operations are async, so in order to prevent potential concurrency issues while handling analytic stuff during session state transitions, I've added a simple TaskQueue that will only let one task run at a time.
Other misc tweaks

PinpointSession has no business being a class, so I've made it a struct instead. I've also expanded it to actually differentiate between a pause and stop state by the introduction of a State enum.

I've renamed PinpointSession.invalid to PinpointSession.none to be more clear about what it's meant to represent: That the SessionClient does not have a session and it should create a new one.

Once all the analytics reporting is done when a session is ended, I'm saving the actual object to the local storage. This prevents us from submitting the "_session.stop" analytics event again on restart.

Added more verbose logging here and there

Addressing suggestions from https://github.com/aws-amplify/amplify-swift/pull/3403

General Checklist

[X] Added new tests to cover change, if needed
[X] Build succeeds with all target using Swift Package Manager
[X] All unit tests pass
[X] All integration tests pass
[X] Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
[ ] Documentation update for the change if required
[X] PR title conforms to conventional commit style
[X] New or updated tests include Given When Then inline code documentation and are named accordingly testThing_condition_expectation()
[ ] If breaking change, documentation/changelog update with migration instructions

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

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (56d5339) 68.15% compared to head (abf7d78) 68.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3405      +/-   ##
==========================================
- Coverage   68.15%   68.00%   -0.15%
==========================================
  Files        1080     1080
  Lines       36054    36054
==========================================
- Hits        24573    24520      -53
- Misses      11481    11534      +53

Flag
Coverage Δ

API_plugin_unit_test
67.07% <ø> (ø)

AWSPluginsCore
64.45% <ø> (ø)

Amplify
47.81% <ø> (-0.02%)
:arrow_down:

Analytics_plugin_unit_test
81.16% <ø> (ø)

Auth_plugin_unit_test
79.56% <ø> (+0.06%)
:arrow_up:

CoreMLPredictions_plugin_unit_test
59.44% <ø> (ø)

DataStore_plugin_unit_test
79.78% <ø> (-0.90%)
:arrow_down:

Geo_plugin_unit_test
70.75% <ø> (ø)

Logging_plugin_unit_test
63.09% <ø> (ø)

Predictions_plugin_unit_test
37.29% <ø> (ø)

PushNotifications_plugin_unit_test
87.03% <ø> (ø)

Storage_plugin_unit_test
78.10% <ø> (ø)

unit_tests
68.00% <ø> (-0.15%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Autoprefixing and stacking browser-specific pseudo-selectors

http://stackoverflow.com/questions/2610497/change-an-inputs-html5-placeholder-color-with-css
convert
*:input-placeholder {
color: red;
}
to
*::-webkit-input-placeholder {
color: red;
}
:-moz-placeholder {
/ FF 4-18 */
color: red;
}
::-moz-placeholder {
/ FF 19+ */
color: red;
}
:-ms-input-placeholder {
/ IE 10+ */
color: red;
}

This library is not autoprefixer, it's just a stylus wrapper for it. If you have questions or issues with the behavior of autoprefixer itself, you should ask them in its repo, which can be found here

Next time i should also look through the deps, not only the devDeps, i'm sorry.

It's ok, no worries! Appreciate the suggestions either way, that's an easy thing to overlook :grinning:


Publish joint names in ServoOnOff msg

In this pull request, joint names are now published within the ServoOnOff message.
Additionally, instead of assigning values to self.joint_servo_on within servo_on_off_callback(), this has been standardized to use self.check_servo_states().

$ rostopic echo /fullbody_controller/servo_on_off_real_interface/state -n1
joint_names:
  - joint1
  - joint2
  - joint3
  - joint4
  - joint5
  - joint6
  - joint7
  - gripper_dummy_joint
  - gripper_joint1
  - gripper_joint2
servo_on_states: [False, False, False, False, False, False, False, False, False, False]
---


Possible to do simple zooming/panning?

Hi -- I have a semi-giant image (500 MP) and I was looking for a solution to show it on the web with zooming, panning, etc. Pannellum seems to have all the features I need, but it's not clear to me from skimming through the website if it can do something as simple as I describe.
Meaning: I don't want any three-dimensional projection/distortion/rotation, just a simple ability to scroll around in a 2D image, zoom deep in to it, etc.
And if Pannellum can't do this, I would welcome any tips for something that can.
Thanks!
Pannellum looks fantastic, by the way -- great work.

Pannellum only works with equirectangular / cube map panoramas, not flat images. I'd recommend looking at OpenSeadragon.

Looks like exactly what I need, thanks for the reply.

Would it be hard to modify the code to support flat images with multi resolution? The reason is both flat and panorama images types will be viewed in succession, and loading another viewer just for flat images would introduce quirks in the UI and double JS payload.

I have no intention of adding such a feature.

I understand, just wondering what your advice is, given your knowledge of the code, is there a clean way to add this?

Not really. Everything is panorama-specific, so only rotations are handled, not panning.


Add MoCmaSampler

Contributor Agreements
Please read the contributor agreements and if you agree, please click the checkbox below.

[x] I agree to the contributor agreements.

[!TIP]
Please follow the Quick TODO list to smoothly merge your PR.

Motivation & Description of the changes
Add MoCmaSampler, which implements the CMA-ES variant for multi-objective optimization.
TODO List towards PR Merge
Please remove this section if this PR is not an addition of a new package.
Otherwise, please check the following TODO list:

[x] Copy ./template/ to create your package
[x] Replace <COPYRIGHT HOLDER> in LICENSE of your package with your name
[x] Fill out README.md in your package
[x] Add import statements of your function or class names to be used in __init__.py
[x] Apply the formatter based on the tips in README.md
[x] Check whether your module works as intended based on the tips in README.md

@nabenabe0928 Could you review this PR?


Optimizer scheduler

I plug in some basic schedulers and I add adamW as an optimizer.
I didn't really find anything fancy regarding scheduling in the literature.  I saw someone using AdamW, but I can't remember who.

Here's what Mattergen does

The welling group uses Adam and not scheduler in the paper  Equivariant Diffusion for Molecule Generation in 3D

The Abbeel group use Adam and no scheduler in Denoising Diffusion Probabilistic Models (vision, not physics /chemistry).

Song & Ermon also seem to only use Adam and no scheduler in Improved Techniques for Training Score-Based Generative Models (vision, not physics/chemistry).

What I see a lot, however, is the use of Exponential Moving Average (EMA). Maybe we should also throw that in at some point.

The scheduler is not working as expected. Now fixing...


[RFC] Coerce bytes to str in stringify

As this is used on the Client to handle keys and it seems we would prefer to coerce bytes to str there, one way to get that behavior would be to change stringify's.
xref: https://github.com/dask/distributed/pull/4336

[ ] Tests added / passed
[ ] Passes black dask / flake8 dask

I'm ok with this in principle.  It looks like CI was stopped.  Does this cause other systems to fail?

The failures that I see seem to be due to the tests of this function specifically. Likely something I didn't update in the tests correctly.
The rest appear to be cancelled. Maybe GitHub Actions cancels builds if one of them fails?

@jakirkham it seems like the work here has stalled. Are you planning on coming back to it?


[FAQ] reports_kit vs active_reporting vs datagrid

Hi,
I am now confused with 3 implementation(reports_kit vs active_reporting vs datagrid) Reporting module in Rails.
Please compare and throw some light on merit and demerits of each.
Thanks.

One way to do this comparison would be to make a feature matrix comparing these libraries. If anyone would like to make one, we could add it to the ReportsKit docs. I don't have time to do this now, but if anyone else would like to, feel free to do so.
In the meantime, I'm hesitant to make broad generalizations about these three libraries without more thorough research. There are some significant differences that should be apparent by looking at the documentation of each library, though. Because it's unclear how important this issue is, I'm going to close it to avoid having a huge backlog of open, unimportant issues. If there's more interest in this, we can reopen it.


Move TURN configuration back to livekit-server

This is only used to provide TURN servers to the clients.
This also enables STUN servers when the node IP address was autogenerated

In the current version, the STUN servers would basically never get added as NodeIP is always set through autodetection. Please confirm that this part of the change is appropriate here (including for media nodes)


error of psnr/ssim

sorry for bothering,
when i run the original code, the size of 'im_pre' and 'im_label' is different, and always 'im_pre' is 6-8 pixels less than the 'im_label'. May i ask why this happened and how to solve this issue?
thanks in advance for your support and attention.

sorry for bothering,
when i run the original code, the size of 'im_pre' and 'im_label' is different, and always 'im_pre' is 6-8 pixels less than the 'im_label'. May i ask why this happened and how to solve this issue?
thanks in advance for your support and attention.

i have this problem too, so i resized im_pre as below:
  if opt.is_y is True:
    #print("if opt.is_y is True\n")
    im_label = quantize(sc.rgb2ycbcr(cropped_gt_img)[:, :, 0])
    im_pre = quantize(sc.rgb2ycbcr(cropped_sr_img)[:, :, 0])
    #print("y im_pre:\n" , im_pre.shape)
    #print("y im_label:\n", im_label.shape)
    if(im_label.shape != im_pre.shape):
      #print("im_label shape:\n" , im_label.shape)
      im_pre = cv2.resize((im_pre) , (int(im_label.shape[1]) , int(im_label.shape[0])))
      #print("im_pre resized shape:\n" , im_pre.shape)

but I am not sure it affects the results or not.

thanks bro, your code solve this problem...


Webview - Hide webview developer tools access with a config in the manifest

I would like to have a configuration that disables the option to access the webview developer tools for my extension. I was thinking it could be a prop called "allowDeveloperTools" somewhere in the package.xml. Then vscode would use it to show or hide developer tools. Or in the end user machines disable the access to this option automatically.

@dbaeumer webviews are owned by MattB.

What is the use case for this?

Dont let people read the code

No plans to support this use case on desktop and it would not be possible on web (or once VS Code migrates to iframe based webview on desktop)


Add support for drive root endpoint

New endpoint has been added on ocis : https://owncloud.dev/libre-graph-api/#/drives.root/InviteSpaceRoot
Add code to support root endpoint api

[x] update libre graph package https://github.com/owncloud/ocis-php-sdk/pull/224
[x] get permission https://github.com/owncloud/ocis-php-sdk/pull/225

[x] add code which detected ocis version https://github.com/owncloud/ocis-php-sdk/pull/229
[x] throw an exception about API endpoint not implemented on ocis version less than 6.0.0 using capabilities api

[x] share invite https://github.com/owncloud/ocis-php-sdk/pull/226
[x] delete share https://github.com/owncloud/ocis-php-sdk/pull/227
[x] update share https://github.com/owncloud/ocis-php-sdk/pull/230
[x] https://github.com/owncloud/ocis-php-sdk/pull/232

Ocis-php-sdk story-line for drive invitation

user A invite user B on drive player.
user A should be able to update the role, and expiration date and remove the user.
user B gets invited-drive on  getMYdrive.
user B should able to get all resources inside invited drive.
user B should able to invite other user if he/she has enough permission.
user B should get permission of drive on which he/she invited

Test coverage

user send drive invitation to group

user A invite user B on drive player.

user A should be able to update the role, and expiration date and remove the user.

user B gets invited-drive on  getMYdrive.

user B should able to get all resources inside invited drive.

user B should able to invite other user if he/she has enough permission.

user B should get permission of drive on which he/she invited

[x] Check ocis-php-sdk with moodle-repository-ocis @nirajacharya2

The endpoint is available in ocis major version 6, so the code needs to understand that.

@nirajacharya2 and @SagarGi split tests coverage

feature support for drive endpoint and tests has been added so closing this issue


Catch formatError

When formatError throws an error, the request nevers responds. In this PR I add try/catch to formatError and use the default one if the provided fails.
This fixes #171
TODO:

[x] Update CHANGELOG.md with your change (include reference to issue & this PR)
[x] Make sure all of the significant new logic is covered by tests
[x] Rebase your changes on master so that they can be merged easily
[x] Make sure all tests and linter rules pass

Looks great to me, thanks!


Nowhere does it say what to do if you get an error running Update-AdfsCertificate -CertificateType: Token-Signing

Not a single article, blog or internet search explains what to do if the "auto" certificate did not automatically renew like the property states it should, and then a manual run of this PS command as admin when authenticated throws an error:
Update-AdfsCertificate -CertificateType: Token-Signing
Update-AdfsCertificate : The server was unable to process the request due to an internal error.  For more information
about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the
<serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or
turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.
At line:1 char:1

Update-AdfsCertificate -CertificateType: Token-Signing

  + CategoryInfo          : InvalidData: (:) [Update-AdfsCertificate], FaultException
  + FullyQualifiedErrorId : The server was unable to process the request due to an internal error.  For more informa
 tion about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from
the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the cl

ient, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.,
Microsoft.IdentityServer.Management.Commands.UpdateCertificateCommand
Same error for token-decrypting cert update.

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

ID: 993d83d2-922d-0b5d-42e4-ed86117dc3db
Version Independent ID: dccf4daf-47bc-696e-672e-92d1a826346c
Content: Obtain and Configure Token Signing and Token Decryption Certificates for AD FS
Content Source: WindowsServerDocs/identity/ad-fs/operations/configure-TS-TD-certs-ad-fs.md
Product: windows-server
Technology: identity-adfs
GitHub Login: @jenfieldmsft
Microsoft Alias: billmath

Had the same issue. Was related to "Certificate Authentication" ticked on in Authentication Methods on ADFS Server. After unticking, "Update-AdfsCertificate -CertificateType: Token-Signing" created the certificate w/o error.

Had the same issue. Was related to "Certificate Authentication" ticked on in Authentication Methods on ADFS Server. After unticking, "Update-AdfsCertificate -CertificateType: Token-Signing" created the certificate w/o error.

Also having the same issue. Were you able to resolve if so how? Had a look at th0u's suggestion but this was already unticked. Have ticket open with MS but nothing much from them so far. Any help appreciated.

Also having the same issue. Were you able to resolve if so how? Had a look at th0u's suggestion but this was already unticked. Have ticket open with MS but nothing much from them so far. Any help appreciated.

Also having the same issue, Ticket open with MS but nothing much. Any help is appreciated

I work at Microsoft.  I fixed this for a customer today.
Rename it old and then lets make a new one.  You can use this PowerShell below. When you run the set command you should have it be domain\ADFS service account name.  It should make a new identical one with all the correct permissions.
PS C:\Windows\system32> (Get-AdfsProperties).certificatesharingcontainer
CN=a45403ae-89a1-4314-892a-94a1fa86a689,CN=ADFS,CN=Microsoft,CN=Program Data,DC=mikehall,DC=xyz
PS C:\Windows\system32> Set-AdfsCertSharingContainer -ServiceAccount mikehall\serviceaccount01$
PS C:\Windows\system32>

Did that and it worked, recreated the container in adsi edit, but the token-signing and token-decrypting cert are still expired since 2020.  I try to run Update-ADFSCertificate -CertificateType token-signing and still get the same error.  Not sure if I just need to wait some time, reboot or restart any services, etc...
Anyway its been like this for a long time and nothing is broken.  We can still sign into various apps against Azure AD and Azure AD Connect still syncs up on-prem to 365 without any issue.  We use a few SSO things against portal.azure.com as well as register Office via portal.office.com and theres no issues.  So maybe this is a moot point or not needed in our org.

Hi, thanks for the feedback.  The as others have done in this thread, if the output generates an error, it's best to contact Microsoft Support.  In this instance I notice you're adding a colon after the -CertificateType parameter, which is what the error you gave is saying: "InvalidData: (:)". In this instance I will close this issue.
#please-close

I work at Microsoft boii. I fixed this for a customer today.
My customer's token signing cert was about to expire. He wanted to run Update-AdfsCertificate.
This is how we fixed it. It has to do with the AdfsCertSharingContainer.
Rename it old and then make a new one. You can use this PowerShell below. When you run the set command you should have it be domain\ADFS service account name. It should make a new identical one with all the correct permissions.
PS C:\Windows\system32> (Get-AdfsProperties).certificatesharingcontainer CN=a45403ae-89a1-4314-892a-94a1fa86a689,CN=ADFS,CN=Microsoft,CN=Program Data,DC=mikehall,DC=xyz PS C:\Windows\system32> Set-AdfsCertSharingContainer -ServiceAccount mikehall\serviceaccount01$ PS C:\Windows\system32>

THANK YOU.
Found a lot of fantasist solutions for this issue, none of them worked.
This fixed the problem for us, many thanks.

Just run this part  (Get-AdfsProperties).certificatesharingcontainer
On Fri, Jan 14, 2022 at 3:38 AM InsaneHomer @.***>
wrote:

"Rename it old and then make a new one."
Is this just make a new container?
I run
(Get-AdfsProperties).certificatesharingcontainer
CN=245a7b17-4057-4b97-9986-5d9f5d0afcf3,CN=ADFS,CN=Microsoft,CN=Program
Data,DC=ad,DC=byrnegroup,DC=co,DC=uk
parse that to your command, but get the error below
(Get-AdfsProperties).certificatesharingcontainer
CN=245a7b17-4057-4b97-9986-5d9f5d0afcf3,CN=ADFS,CN=Microsoft,CN=Program
Data,DC=ad,DC=byrnegroup,DC=co,DC=uk
and get
`At line:1 char:50

... icatesharingcontainer
CN=245a7b17-4057-4b97-9986-5d9f5d0afcf3,CN=ADFS ...

                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Unexpected token 'CN=245a7b17-4057-4b97-9986-5d9f5d0afcf3' in expression
or statement.
At line:1 char:89

... catesharingcontainer
CN=245a7b17-4057-4b97-9986-5d9f5d0afcf3,CN=ADFS, ...

                                                           ~

Missing argument in parameter list.

CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
FullyQualifiedErrorId : UnexpectedToken`

—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/windowsserverdocs/issues/3761#issuecomment-1012957788,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVPFYY3MOIROOOLR3EEXDRDUV7VINANCNFSM4KIUGWBA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

had the same issue and this great article saved my life

Hi,
my workaround (see above) did not work this time but the solution renaming the Container worked.
first I identified the guid
(Get-AdfsProperties).certificatesharingcontainer
then I renamed the Container using ADSI Edit. As we run multiple DCs across locations, I double checked that the rename was replicated before going ahead.
second, I ran
Set-AdfsCertSharingContainer
and typed in the account manually: domain\SRV-USER
Also I took in account that DC replication may take some time
third, after the container was visible again in ADSI Edit it ran
Update-AdfsCertificate -CertificateType: Token-Decrypting
Update-AdfsCertificate -CertificateType: Token-Signing

this time without error.

Hey th0u, how did you identify/ verify the service account?
My ADFS was created before me so not sure what the service account was used to create it and I want to make sure when re- creating the container all is the same.

Use the service manager and search for service "Active Directory Federation Services" and identify user in Column "Log on As".

Th0u, thanks that worked great certs have been recreated and no issues, does ADFS automatically promote the new secondary to primary or do you need to run a PowerShell command?

One more question, what if you use the wrong service account?

Hey Zebix78, what if I used the wrong service account to create the certificate share container?? I need answer asap please.

I ran the set-adfscertsharingcontainer -serviceaccount domain\correctedserviceaccount. But do I need to resend metadata to our relay companies? Seems to have broken my service account certificate for the external sites now showing “not secure” in web browser and getting HTTP404 error…need help ASAP!!!

Hi, after I was able to do all of the steps above, I just again looked in the Certificate Sharing container and it appears to NOW contain different folders than when created, can anyone tell me why this is happening? we are also getting an  error when our users try to login to the sites (See attached photo....)

Any help is really appreciate, I tried to call MS Suppport but they never answer seems they think they are to good to support users!!!!!

Hi, after I was able to do all of the steps above, I just again looked in the Certificate Sharing container and it appears to NOW contain different folders than when created, can anyone tell me why this is happening? we are also getting an error when our users try to login to the sites (See attached photo....)
Any help is really appreciate, I tried to call MS Suppport but they never answer seems they think they are to good to support users!!!!!

Did you end up fixing this? I'm running into the same issues.

Hi, after I was able to do all of the steps above, I just again looked in the Certificate Sharing container and it appears to NOW contain different folders than when created, can anyone tell me why this is happening? we are also getting an error when our users try to login to the sites (See attached photo....)
Any help is really appreciate, I tried to call MS Suppport but they never answer seems they think they are to good to support users!!!!!

Did you end up fixing this? I'm running into the same issues.

Never mind. I was able to resolve it. You're required to rerun the proxy config wizard to complete the process, which hasn't been outlined in the above.

yes, I fixed it by recreating the cert share container using adedit once done restart all services , but my main problem was the service account used for the service once I put the correct service account in and restarted services all was good.


XSS on comments

Hello,
You can inject Javascript in your post comments, take a look in here - http://demo.keystonejs.com/blog/post/another-post#comment-id-5716127eb541d30300b33620
I think you need to fix this ASAP,
Cheers.

There used to be an issue on that, I thought it was closed...

Looks like this was fixed by @morenoh149's commits from 2016, but never closed. If there are still any outstanding problems please create a new GitHub issue.
Thanks,
Stennie


improve UI for removing a team member

was: How to remove a member from a team? How to revert a team to an individual entity?
I find the gittip teams too complicated to use, so I'd like to go back to making DocPad an individual entity.

I can't find a way to remove team members from the DocPad team, as there is no remove button.

I also can't find a way to turn off the teams ability altogether.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/867088-improve-ui-for-removing-a-team-member?utm_campaign=plugin&utm_content=tracker%2F85909&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F85909&utm_medium=issues&utm_source=github).

+1 from @JeffSpies in https://github.com/gratipay/gratipay.com/issues/3177.

No team <-> members now, closing.


Arango DB not picking the memory mappings from sysctl vm parameters

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:
[ ] 3.3
Mode:
[ ] Single-Server
Storage-Engine:

[ ] rocksdb

On this operating system:

[ ] DCOS on

[ ] own infrastructure

[ ] Linux

[ ] Ubuntu .deb

Hi Team,
We are evaluating ArangoDB for one of our requirements. We are facing an issue related to memory mappings. We have set the syscntl vm parameter -vm.max_map_count=1024000 but the same is not getting reflected while running the ArangoDB instance.
We are setting syscntl parameters as below
vm.max_map_count=1024000
fs.file-max=500000
Please find the ArangoDB logs as below
2018-06-14T09:41:34Z [32753] INFO detected operating system: Linux version 4.4.0-1052-aws (buildd@lgw01-amd64-031) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9) ) #61-Ubuntu SMP Mon Feb 12 23:05:58 UTC 2018
2018-06-14T09:41:34Z [32753] INFO using storage engine rocksdb
2018-06-14T09:41:34Z [32753] INFO {cluster} Starting up with role SINGLE
2018-06-14T09:41:34Z [32753] INFO {syscall} file-descriptors (nofiles) hard limit is 1048576, soft limit is 1048576
2018-06-14T09:41:34Z [32753] INFO {authentication} Authentication is turned on (system only), authentication for unix sockets is turned on
2018-06-14T09:41:34Z [32753] INFO using endpoint 'http+ssl://<IP_ADDRESS>:8530' for ssl-encrypted requests
2018-06-14T09:41:34Z [32753] INFO using endpoint 'http+tcp://<IP_ADDRESS>:8529' for non-encrypted requests
2018-06-14T09:41:35Z [32753] INFO Please note that a new bugfix version '3.3.10' is available
2018-06-14T09:41:35Z [32753] INFO ArangoDB (version 3.3.3 enterprise [linux]) is ready for business. Have fun!
2018-06-18T08:56:39Z [18243] ERROR {memory} process is near the maximum number of memory mappings. current: 127319, maximum: 128000. it may be sensible to increase the maximum number of mappings per process
2018-06-18T09:08:29Z [18243] ERROR {memory} process is near the maximum number of memory mappings. current: 127360, maximum: 128000. it may be sensible to increase the maximum number of mappings per process
2018-06-18T09:55:13Z [18243] ERROR {communication} unable to perform ssl handshake: Connection reset by peer : 104
2018-06-18T09:57:50Z [18243] ERROR {communication} unable to perform ssl handshake: Connection reset by peer : 104
2018-06-18T10:05:10Z [18243] ERROR {communication} unable to perform ssl handshake: malloc failure : 117850177
2018-06-18T10:05:11Z [18243] ERROR {communication} unable to perform ssl handshake: malloc failure : 117850177
2018-06-18T10:05:11Z [18243] ERROR {communication} unable to perform ssl handshake: malloc failure : 117850177
2018-06-18T10:05:11Z [18243] ERROR {communication} unable to perform ssl handshake: malloc failure : 117850177
2018-06-18T10:05:11Z [18243] ERROR {communication} unable to perform ssl handshake: malloc failure : 117850177
2018-06-18T10:05:20Z [18243] ERROR {communication} unable to perform ssl handshake: malloc failure : 336183361
2018-06-18T10:05:23Z [18243] ERROR {communication} unable to perform ssl handshake: Connection reset by peer : 104
2018-06-18T10:05:23Z [18243] ERROR {threads} scheduler loop caught exception: out of memory (exception location: /var/lib/jenkins/workspace/RELEASE__BuildPackages/lib/Basics/StringBuffer.h:263)
Please find the list of all sysctl vm parameters as below
vm.admin_reserve_kbytes = 8192
vm.block_dump = 0
vm.compact_unevictable_allowed = 1
vm.dirty_background_bytes = 0
vm.dirty_background_ratio = 10
vm.dirty_bytes = 0
vm.dirty_expire_centisecs = 3000
vm.dirty_ratio = 20
vm.dirty_writeback_centisecs = 500
vm.dirtytime_expire_seconds = 43200
vm.drop_caches = 0
vm.extfrag_threshold = 500
vm.hugepages_treat_as_movable = 0
vm.hugetlb_shm_group = 0
vm.laptop_mode = 0
vm.legacy_va_layout = 0
vm.lowmem_reserve_ratio = 256   256     32      1
vm.max_map_count = 1024000
vm.memory_failure_early_kill = 0
vm.memory_failure_recovery = 1
vm.min_free_kbytes = 67584
vm.min_slab_ratio = 5
vm.min_unmapped_ratio = 1
vm.mmap_min_addr = 65536
vm.nr_hugepages = 0
vm.nr_hugepages_mempolicy = 0
vm.nr_overcommit_hugepages = 0
vm.nr_pdflush_threads = 0
vm.numa_zonelist_order = default
vm.oom_dump_tasks = 1
vm.oom_kill_allocating_task = 0
vm.overcommit_kbytes = 0
vm.overcommit_memory = 2
vm.overcommit_ratio = 125
vm.page-cluster = 3
vm.panic_on_oom = 0
vm.percpu_pagelist_fraction = 0
vm.stat_interval = 1
vm.swappiness = 60
vm.user_reserve_kbytes = 131072
vm.vfs_cache_pressure = 100
vm.zone_reclaim_mode = 0
Please help resolve the issue.

ArangoDB will simply read the value of /proc/sys/vm/max_map_count on start.
ArangoDB will only pick up updated sysctl parameters after a restart of ArangoDB. It will not help if sysctl parameters are changed after ArangoDB was already started.
Apart from that, have the sysctl parameter changes been made permanent, or will they change back to the original values after a restart of the system?

Thanks for the quick response Jan.
ArangoDB instance is restarted post sysctl parameter update. Also, sysctl parameter changes been made permanent.

Ok.
I just double-checked the code. The value is definitely read from /proc/sys/vm/max_map_count at arangod start. If it reads 128,000, then the arangod process will have seen a value of 128000 in that file.
Which by the way seems like an adjusted value already, because the default value on most Linux kernels is around 65535 (or slightly lower).
Do sudo sysctl  -a | grep max_map and cat /proc/sys/vm/max_map_count also show 128000 on the same server arangod is running on?
If so, can you check in /etc/sysctl.d if there are any further places in your configuration that override the max_map_count value?

Both "sudo sysctl -a | grep max_map" and "cat /proc/sys/vm/max_map_count" show 1024000 not 128000.

Ok, the code in ArangoDB 3.3.3 (and all other versions) only reads from file /proc/sys/vm/max_map_count:
    std::string value =
        basics::FileUtils::slurp("/proc/sys/vm/max_map_count");

    maxMappings = basics::StringUtils::uint64(value);

And it works fine whatever value I try.
So I guess there must be something wrong in the setup, so that arangod has either not been restarted or is running on a different server or something else.

If you think the new (raised) value is in effect, you may also turn off arangod reading the max_map_count value by passing the startup option --server.check-max-memory-mappings false to arangod (or putting the option into arangod's conf file).

Hi @SharadUnifyed,
how are things going? Did you find an error in your setup or does the problem still persist?

Hi @SharadUnifyed
Just sending a quick followup - Could you please send us a feedback.
Are we all set with this ticket or any further help is required here ?
Thanks

Hi @SharadUnifyed
We haven't heard from you recently, I am going ahead and close this ticket.
Note: tickets can be reopened at anytime by adding a new comment
Best,


Add launch setting

Add launch settings for debug on VSCode.

LGTM 👍
I was able to debugging on vscode.


Terraform now always uses nix bundled providers

Describe the bug
Since this commit: b5dc07a4b471e6f651af3b13e4bd841b6b3ea6ed
Added to master in this PR: #86442
Now in the unstable channel
Previous working commit: c59c4e358989ce49afd177e6899549fbb8f8bf7f
Terraform now always uses the nix bundled providers rather than using the vanilla behavior of downloading them from hashicorp releases on terraform init
To Reproduce
Steps to reproduce the behavior:

Install terraform built from the issue commit
Run terraform init on the sample terraform and verify it failed
Install terraform built from the working commit
Run terraform init on the sample terraform and verify it worked

provider "google" {
  version = "~> 2.9.0"
}

Expected behavior
I'm working on a project that uses the v2 GCP/Google provider which isn't bundled. Before I could run terraform init just fine, now it says it couldn't find the plugin and wont download it due to either --plugin-dir or --get-plugin=false being set.
Checking out the previous commit c59c4e358989ce49afd177e6899549fbb8f8bf7f and installing that instead with nix-env -f . -iA terraform has fixed the issue and now terraform will download releases again.
Screenshots
If applicable, add screenshots to help explain your problem.
Notify maintainers

@zimbatm @peterhoeg @kalbasit @marsam @babariviere
Metadata

system: "x86_64-linux"
host os: Linux 5.4.40, NixOS, 20.09pre225673.8ba41a1e149 (Nightingale)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.4
channels(root): "home-manager, nixos-20.09pre225673.8ba41a1e149, nixos-hardware"
channels(user): ""
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: terraform
# a list of nixos modules affected by the problem
module:

Notification bump
@zimbatm @peterhoeg @kalbasit @marsam @babariviere

After some more testing the core of the issue seems to be terragrunt using terraform.full, not sure why it was working and then not...
Might be worth having an easy way to use non-full terraform with terragrunt


[Bug] Export doesn't work in example

I can only export to PDF from Chrome in the example that you made

In the demo example, the download function is not implemented and commented out.
https://github.com/bosskmk/pluto_grid/blob/master/demo/lib/screen/feature/export_screen.dart
The download function must be implemented using a package that downloads files.


operator contrail-operator (2011.L2.372)

This operator helps bring-up Juniper Contrail SDN networking for Redhat Openshift.

closing to proceed new PR with fixes


Throw error earlier for NaN logDensity

It would be beneficial, for future debugging purposes, if RealVariablePeskunTypeMove threw an error if any of the connected factors returns NaN. The error should include which factor returned NaN. My only hesitation is whether the check is worth the computational overhead.

My initial testing for this issue has revealed that this issue most commonly occurs when two components have loglikelihoods of -Inf => their sum -Inf + -Inf is NaN. There is one explicit loop in RealVariablePeskunTypeMove where this occurs, but could also occur in user's custom code.
The easiest fix is to simply return -Inf for the first component that evaluates as such.


In variable and types typo

boolean (true or false, 1 byte)
A boolean stores one bit not one byte

Technically a boolean could be represented by one bit. However, in Java and most languages the smallest assignable chunk of memory is one byte, so the size of a boolean in Java is indeed one byte.

k


Connect via SIP without websocket

Hi!
I am new to this. My client has intercoms and wants an app with videocall to them.
They told me the intercoms have their own server and the only thing I need to do is to connect with the IP to the sip port. And that´s all they provided me, the Ips and SIP port.
Is there a way this is achievable without the websocket?
Thanks!

Sorry, this is SIP over websocket only.
On Fri, 18 Sep 2020, 19:13 Joaquin Anduano<EMAIL_ADDRESS>wrote:

Hi!
I am new to this. My client has intercoms and wants an app with videocall
to them.
They told me the intercoms have their own server and the only thing I need
to do is to connect with the IP to the sip port. And that´s all they
provided me, the Ips and SIP port.
Is there a way this is achievable without the websocket?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter-webrtc/dart-sip-ua/issues/126, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABG66AJWW2N7QWY2QQYF4TSGOPNBANCNFSM4RSKW32Q
.

Thanks!

@joaquin03 Did you find any other option?

We setup an Asterisk Server and integrate everything on that


Roslyn Quick Fixes and Analyzer

Create a Roslyn Analizer to evaluate library usage and suggest best practices
Deploy it to Nuget and recommend user to install it

Version 0.2 is on the way
Current Fixes:

Suggest to use generic version of the engine

https://github.com/MarcosMeli/FileHelpers/tree/master/FileHelpers.Analyzer
https://www.nuget.org/packages/FileHelpers.Analyzer

You can contribute with new analyzers

Here is the code of the first analyzer that transform
new FileHelperEngine(typeof(RecordType))

to
new FileHelperEngine<RecordType>()

Analyzer: https://github.com/MarcosMeli/FileHelpers/blob/master/FileHelpers.Analyzer/FileHelpers.Analyzer/FileHelpers.Analyzer/UseGenericEngine/UseGenericEngineAnalyzer.cs
CodeFix: https://github.com/MarcosMeli/FileHelpers/blob/master/FileHelpers.Analyzer/FileHelpers.Analyzer/FileHelpers.Analyzer/UseGenericEngine/UseGenericEngineAnalyzer.cs


Add CSV delay flag to openchannel

This PR adds an optional remote CSV delay flag to openchannel.
Fixes #792

Rebased ⚾


Error occurs when removing mentees as a Admin

Describe the bug
The following error occurs when removing mentees as a admin in Admin Dashboard - Manage Mentees.
Error, User has not enrolled in any program as a mentor. 2021-06-04 22:38:20.611 WARN 63008 — [nio-8080-exec-9] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method ‘DELETE’ not supported]
Screenshots

Desktop (please complete the following information):

OS: macOS Big Sur
Browser Safari
Version 14.0.1

Hi @kumuditha-udayanga

Error, User has not enrolled in any program as a mentor.
I'm not sure how this error occurred. Maybe It's an error that came with a previous query

However, this is not a backend issue. I think the endpoint we have used in the frontend is wrong.
https://github.com/sef-global/scholarx-frontend/blob/6bbe334701752406c1c4c4c46aceb64c8939c843/src/scenes/Dashboard/scenes/ManageMentees/index.tsx#L56
Correct endpoint is DELETE ${API_URL}/admin/mentees/id


Tester is a .NET Framework app

The Tester project is a .NET Framework app, which makes it difficult to test things, as libtorch isn't available on Windows yet.

I'll have a PR for this in a minute.


Crash on startup

CM - Compact Machines
CC - Computer craft
PC - Pneumatic Craft
The game crashes on startup when running with Computer craft, Pneumatic craft and Compact Machines.
The game will run if CM and CC or CM and PC or CC and PC are together but will not run at all 3 are running at the same time.
Mod Pack crash log
Isolated mods crash log
Compact machines 1.20 works with all the mods but it will crash on CM 1.21

Just add OpenComputers and it will work just fine...
I'm not kidding here

Will all computer craft programs work 100% with opencomputers and what is the difference between the two?

He's saying your 3 + OpenComputers. Just don't use OC

That I can't guarantee but it will certainly not crash at startup, worth testing

I did add at the bottom that the crash only occurs on the latest version (1.21) but it works fine on 1.20

I'll diff them, see what was changed.

Also, about the programs, no, they would not be 100% compatible, however, if you wanted to use OC instead of CC, it shouldn't be that big of an adaptation.

Do the two mods work along side each other?

The problem seems to be the following:

Mods are loaded alphabetically unless otherwise defined in their Mod annotation.
PneumaticCraft uses ComputerCraft if it is available, but does not specify that it needs to load after it.
CompactMachines wants to be loaded after PneumaticCraft if it is available, which seems to move PneumaticCraft to the front of the list with ComputerCraft still being behind CompactMachines, i.e. when all three Mods are active they load in this order:

PneumaticCraft
CompactMachines
ComputerCraft

This throws PneumaticCraft of the rails, because it tries to use ComputerCraft without it being loaded yet.

Solution: add after:ComputerCraft to the dependencies of PneumaticCraft.
I'll open a pull request on PneumaticCraft.

Currently working on a 1.10.2 version, the 1.7.10 version is not being maintained anymore, sorry.
Closing all issues not relevant for the new version.


feat(rust_indexer): add flag to disable emitting xrefs for stdlib

Open Source Code Search has a strange bug where, occasionally, anchors for cross-references can be clickable even when the definition node (including an anchor node) for the target of the cross reference does not exist. Clicking the cross reference anchor brings up the References panel which shows an error because the definition node does not exist (we don't index the Rust standard library, so we can't emit definition nodes and anchors for it). An example of this is here: https://cs.opensource.google/fuchsia/fuchsia/+/main:src/connectivity/network/dns/src/main.rs;l=30;bpv=0;bpt=1 (hover over the "std" and try clicking on it)
This PR adds an optional flag to the Rust indexer that disables emitting any cross references to the standard library, which should mitigate this issue.

This is a reasonable change, but it's worth noting for posterity that we originally considered this behaviour to be a feature, not a bug: Even if a definition site wasn't indexed, it can be useful for the user to see xrefs for other uses of the same thing.
(Internal CodeSearch didn't cope with this super gracefully, as it was oriented toward definition sites—but the open-source UI seems to provide an option)

This is a reasonable change, but it's worth noting for posterity that we originally considered this behaviour to be a feature, not a bug: Even if a definition site wasn't indexed, it can be useful for the user to see xrefs for other uses of the same thing.
(Internal CodeSearch didn't cope with this super gracefully, as it was oriented toward definition sites—but the open-source UI seems to provide an option)

That's true in general. For reasons we haven't determined yet, we're not seeing cross references for that symbol. Also note that due to constraints on the current Rust indexer implementation, we don't get all std references during indexing.
Arguably, the utility of finding "uses of the std crate" is low, so in this specific case there seems to be no huge loss.
Ideally, in the fullness of time, we'll index the Rust stdlib and then this flag will just be off permanently. (And also figure out the bug in the UI pathways.)


[tinyexr] update version and add targets

This is part of https://github.com/microsoft/vcpkg/pull/12199

Thanks again!


Error when update: Clear AzuraCast Cache

Hello,
When i try to update Azuracast i get this error:
TASK [azuracast-update : Clear AzuraCast Cache] ********************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "php /var/azuracast/www/util/cli.php cache:clear", "delta": "0:00:00.116400", "end": "2017-02-28 11:43:35.709214", "failed": true, "rc": 255, "start": "2017-02-28 11:43:35.592814", "stderr": "", "stdout": "", "stdout_lines": [], "warnings": []}

What can i do?

When you manually run the command it's trying to run:
php /var/azuracast/www/util/cli.php cache:clear

Does it send anything back on the console?

already tried, it send nothing :/

no solution?


LogicalThreadContext properties not logged

When using the AsyncRollingFileAppender and adding properties view LogicalThreadContext the properties are not logged.
Seems to be resolving the properties lazily, so it is resolving properties in the context of the AppendTask rather than in the context  the message was added to the log.

I'm reluctant to do any more work on the async appenders. I'm tempted to even obsolete them or possibly remove them in a major version bump release. The AsyncForwarder is a much better solution and you can also wrap multiple appenders in one forwarder to reduce the number of background threads you have running. The bug you mention is not present in the AsyncForwarder.


[FEATURE] Commands should not be registered on start

Description
No response
Screenshots
No response
Additional information
No response

The best approach for this would be to set an OWNER_ID environment variable.
Then, a check in the message event if the message.author.id matches that variable, and if the content is register commands, and if so call the registerCommands utility.
Note that we want to leave the loadCommands module called in the main.ts file there.


Add API Key authentication to this library

Hi
I've just finished porting my Owin API key authentication project to .NET Core, and it can be found here: https://github.com/jamesharling/Microsoft.AspNetCore.Authentication.ApiKey. I wanted to upload this package to NuGet but you have a prefix reservation active, meaning I am unable to do so. The Owin version has proved popular and I've had requests to port it to .NET Core, so I wondered if we could discuss one of these options:

Delegate the prefix reservation so this package can be maintained separately by me
Incorporate the code in this repository (via fork and PR perhaps), and have the ASP.NET team manage the packaging etc.

I'd be keen to hear your thoughts!
Thanks

We recommend taking projects like this over to https://github.com/aspnet-contrib and/or dropping the Microsoft naming prefix.

Thanks for the feedback. @Tratcher do you know how to get a repository under aspnet-contrib? All members are hidden in that org.

@PinpointTownes ?

@jamesharling not sure why the members are not public. Thanks for pointing that out, I'll take a look.
@Tratcher unfortunately, I can't accept new projects ATM (I already maintain 60 packages as part of the contrib initiative and without help, it's hard to keep up). If you guys offered to help with reviewing PRs/managing issues/fixing things, I'd certainly reconsider that (I don't mention financial support 'cause it's certainly out of the question :sweat_smile:).

@PinpointTownes understood. You've done a good job to juggle that many.
@jamesharling AspNet.Security.ApiKey or AspNetCore.Authentication.ApiKey sound good.

FYI this library is now uploaded as AspNet.Security.ApiKey.Providers.


Fix ConfigureAwait in NetworkPeerServer

for reference, this is the reason for this change:
https://github.com/stratisproject/StratisBitcoinFullNode/pull/3873#issuecomment-524589051


Mock PE Issues

closes #185 #188 #215 #220

Codecov Report

Merging #242 into master will increase coverage by 0.11%.
The diff coverage is 75.00%.

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


Support reading and writing HCL files

The HashiCorp Configuration Language (HCL) has a JSON transform, we should be able to use it to output (and also also read from!) .tf or .hcl files.

Terraform 0.12 is reaffirming its commitment to the JSON output:
https://www.hashicorp.com/blog/terraform-0-12-reliable-json-syntax
https://www.terraform.io/docs/internals/json-format.html
There are quite a few details needed to keep a 1:1 (terraform) HCL <-> JSON representation, hopefully we'll get tooling to help us provide better HCL support in the future.

https://github.com/hashicorp/hcl/wiki/Version-Selection I think if we switch to v2 of the hcl library we might get even closer


Fix get cded dem res

Hi @ateucher
I reworked this function to allow output resolution to be controlled by default template or user defined output (param = res, as a numeric (in meters).
I might be missing something in the if else statements, as I converted default res to a TRUE /FALSE, for initial check but I think this may skip over the is.numeric() check. It is a bit cumbersome as is with series of if statements.
Tests passing, but failing on internet download issue as discussed.
This should closes #15.
Thanks

Hey @gcperk - I pushed a change where I simplified the logic of dealing with the res argument and creating the template aoi, and pulled it into a helper function.
I also added another test so we test both default res, and a new res. Let me know what you think

@ateucher - Thanks - that is great. I like the res check and it seems much cleaner, I might even use for other function down the line.


Updated OWNERS to be consistent across k8s repos

As the title says

/assign @thockin

/approve
/lgtm


add(types): stage discovery privacy fields

Reference: https://github.com/discord/discord-api-docs/pull/2971

Please resolve the conflicts

Need unit tests

Did you test the changes localy and can you confirm that they work?

Did you test the changes localy and can you confirm that they work?

Yes

@Skillz4Killz I will merge it now since it is impossible to do tests rn because discord does not allow bots to create conmunity guilds.


Ftp sites

Rhea:
https://ftp.expasy.org/databases/rhea/rdf/rhea.rdf.gz
Rhea TSV sprot:
https://ftp.expasy.org/databases/rhea/tsv/rhea2uniprot_sprot.tsv
Rhea TSV trembl:
https://ftp.expasy.org/databases/rhea/tsv/rhea2uniprot_trembl.tsv.gz
Uniprot sprot:
https://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/complete/uniprot_sprot.xml.gz
Uniprot trembl:
https://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/complete/uniprot_trembl.xml.gz

Sanity check, I'm assuming you don't leave the https prefix in there correct @Koeng101?

Sanity check failed. You can leave the https prefixes :)

Thanks, @Koeng101! I will try later to see if I could take some metadata information using the Stat function from GoFTP package . The ftp server choose if the users, or what kind of user, could access those types of information about the files.

This has all been integrated as of merging #21. Closing!


TypeError [ERR INVAND ARG_TYPE]: The "path" argument must be of type string. Received type undefined

Describe the bug
A clear and concise description of what the bug is.
When I try to build my game it prepares for the build but then it says TypeError [ERR INVAND ARG_TYPE]: The "path" argument must be of type string. Received type undefined.
To Reproduce
Steps to reproduce the behavior:

Go to 'Build And Run'
Click on 'Run'
Wait a few seconds
See error

Expected behavior
A clear and concise description of what you expected to happen.
I expected this not to happen at all to be honest.
Screenshots
If applicable, add screenshots to help explain your problem.

Platform (please complete the following information):

OS: macOS 10.13
App version 3.1.0

Additional context
Add any other context about the problem here.

I just noticed Google Lens misspelled invalid. Sorry.

I somehow fixed it changing the background.


Publish AwsCommunity::IAM::PasswordPolicy

What type of extension are you looking for?
Resource
Describe the extension you'd like to request
AwsCommunity::IAM::PasswordPolicy exists in source code form, it would be great if I could activate it in my account without having to build/publish it myself.
Describe the solution you'd like
AwsCommunity::IAM::PasswordPolicy being available as a Third Party Public Extension
Additional context
No response
Is this something that you'd be interested in working on?

[ ] 👋 I may be able to implement this feature request

Would this feature include a breaking change?

[ ] ⚠ This feature might incur a breaking change

We can't publish anything that needs IAM permissions other than PassRole.

I think we should leave the example as it is for now. I'll bring up the possibility of removing the restriction again internally.


Default Load Replay

Hi! Thanks for your works ^^
I just wondering, is there any chances we can load the replay in default mode (opponent's card in hand are not visible) as well as if we just save it manually after ranked?
Thanks!

thank you for the suggestion on a toggle for viewing the opponents hand. I'm not sure what you mean by "save it manually after ranked" though.

I think that means "manually save the duel as soon as we finished the rank duel". Since currently, we can only replay the duel to save it.


Limit project description to 1mb

The google-datastore used to store the objects that contain the contents of Playground projects has a limit of 1.2mb per field.
We need to validate, and provide some feedback to the user if they are entering content into the Playground that exceeds this length. Their project won't save if this limit is exceeded.
This is currently an issue for project descriptions, which are stored on a Project object (with fields limited to 1.2mb in size) in the datastore.

@10thfloor would this fail silently, or user will receive error on UI?

@10thfloor would this fail silently, or user will receive error on UI?

It fails silently. A savvy user could see the error in the browser console, but no UI feedback is provided.

is the change deployed @MaxStalker  ?

Reopening the issue to confirm it's properly deployed.

Feature is deployed to Playground.


fs.exists() and fs.existsSync() will be deprecated

According to the Node.js API docs fs.exists() and fs.existsSync() will be deprecated. They are currently critical to the operation of this module. An alternative method is suggested in this thread on Stack Overflow.

PRs that work in older versions of node and in newer ones appreciated.
i.e. test should pass in node 0.10, 0.12 and new iojs versions (in which case you can use fs.access.

The following ponyfill could be used: https://www.npmjs.com/package/fs-access


[FR]: add option to show full tag

Currently, for tag with hierarchy e.g.

The plugin shows only last part of the tag e.g.

Consider adding an option to control this behaviour

This is intentional. You can navigate to #smart and you will see #pointer as its parent. I can make it a setting to display the whole tag path, or just the last section (as currently).

Yes, additional setting would be great

I've implemented this feature in 0.1.1. Hope to release it soon.

This:

vs. this:


The file or directory to be published does not exist: bower/jquery/dist

I suddenly got this error few hours ago.
The file or directory to be published does not exist: `bower/jquery/dist`

Turns out the there is one more level under directory vendor/bower,
$ ls vendor/bower
bower-asset
$ ls vendor/bower/bower-asset
ace-builds              bootstrap                 handlebars          jquery-slimscroll       magnific-popup  seiyria-bootstrap-slider  zeroclipboard
angular                 bootstrap-hover-dropdown  jquery              jquery.sparkline.build  moment          slick-carousel

while in
https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L456
       Yii::setAlias('@bower', $this->_vendorPath . DIRECTORY_SEPARATOR . 'bower');

I'm using "fxp/composer-asset-plugin:~1.0.3"

To reproduce
$ git clone git@github.com:yiisoft/yii2-app-basic.git
$ composer update --prefer-dist
$ ls vendor/
autoload.php  bin/          bower/        cebe/         composer/     ezyang/       fzaninotto/   phpspec/      swiftmailer/  yiisoft/
$ ls vendor/bower/
bower-asset
$ ls vendor/bower/bower-asset
bootstrap  jquery  jquery.inputmask  punycode  typeahead.js  yii2-pjax

$sed -n '456'p vendor/yiisoft/yii2/base/Application.php
        Yii::setAlias('@bower', $this->_vendorPath . DIRECTORY_SEPARATOR . 'bower');

The problem recently occurred and we are trying to figure out what happens.

Simple solution is by
Yii::setAlias('@bower', $this->_vendorPath . DIRECTORY_SEPARATOR . 'bower/bower-asset');

It seems that the problem is in composer.
Temporary solution:
Use stable composer 1.0.0-alpha11: ://getcomposer.org/download/1.0.0-alpha11/composer.phar

Composer master is broken.
composer self-update 1.0.0-alpha11
composer clear-cache

Then repeat.

@samdark's solution is working
composer self-update 1.0.0-alpha11
composer clear-cache

thanks!

https://github.com/francoispluchino/composer-asset-plugin/issues/164

This is now fixed and fxp plugin is tagged.

go to the  directory C:\wamp64\www\yii2-advanced-api\vendor and change bower-asset into bower. this helped me

Have same issue, bower located on vendor/bower-asset

I've same problem in 2017 (CARL !). The solution is

rm -r vendor/bower-assets
Open composer.json
config array has following lines:
"asset-installer-paths": { "npm-asset-library": "vendor/npm", "bower-asset-library": "vendor/bower" }
Move these lines in extra array
composer update. At termenal you will see "Installing in bowe-assets/jquery...", but in real bower files will be installed in bower directory.
Enjoy

Just rename the folder "bower-asset" to "bower" in /vender directory. And make sure the directory "bower-asset" has all of its content

Still facing the issue with latest composer version 1.5.2 2017

make sure you have the latest version of the composer-asset-plugin and the config in composer.json:
https://github.com/yiisoft/yii2-app-basic/blob/0c87fab0c3c9d0ada04a85f4982aeffc08b76cc7/composer.json#L33

What an crazy bug

I had the same issue when I updated to the latest composer.json.
The solution: update the config/web.php too. Add
'aliases' => [
  '@bower' => '@vendor/bower-asset',
  '@npm'   => '@vendor/npm-asset',
],

to $config. Like in the config/web.php on master now.

Hey there i am still facing this issue. i tried:
1). 'aliases' => [
'@bower' => '@vendor/bower',
'@npm'   => '@vendor/npm-asset',
],
2. Rename Folder bower-asset to bower and vice versa.
3. Giving proper read write permissions
Need Help.

2020 - this issue still seems to exist and bother me;)

I had the same issue when I updated to the latest composer.json.
The solution: update the config/web.php too. Add
'aliases' => [
  '@bower' => '@vendor/bower-asset',
  '@npm'   => '@vendor/npm-asset',
],

to $config. Like in the config/web.php on master now.

This worked for me.

Still getting this error in 2020 :(

Please read README.md of this https://packagist.org/packages/yidas/yii2-bower-asset