New package: DATEVeG.Sicherheitspaketcompact version 7.66

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

I don't get whats wrong, the installer runs fine on my machine within 3 minutes :/

let me try again without the custom flag..


1436790/1438462: Part 25: 20 files with MSDN link fixes.

Contributes to PR #2037 and applies to the following work items:

User Story 1436790: Content Update: update MSDN links for .NET content
Task 1438462: Update MSDN links for .NET content

#sign-off

Thanks, @DennisLee-DennisLee. I've approved your PR, and we'll merge when the build has completed.


Show all versions with brew cask list --versions.

Changes to the core

[x] Followed hacking.md.

Fixes part 4 of https://github.com/caskroom/homebrew-cask/issues/14058.

Thank you. The submission is appreciated. Even if one day we’ll need to remove this (since we’ll always be keeping only one version), for now it means list will work better (as users expect), and that in itself means progress.

Ok, I separated the version comparator, should be good to merge now.

Looks great now! 👍
Waiting a few hours in case other maintainers wish to chime in.


Revamp dsl front-end to cope with changes

Current issue is handling source/target specific closures used to configure the source or target.
AKA options


Global Masthead Performance Issues: Potentially Degrading User Experience

Description
The Web Components Masthead loads many scripts and there is concern that it is causing a degraded user experience.  We'd like to explore ways to improve load times and/or component weight.
This was brought to light when mobile pages started crashing on iOS and iPadOS the week of October 16.  It turns out there was a significant memory leak in another script that was determined to be the cause, but the masthead was the most recent significant addition to it took the blame.  Still, it brought to light the size of the masthead so we'd like to investigate any performance improvements we could make to help keep the pages as performant as possible.
Component(s) impacted
Global masthead.
Browser
Safari
Carbon for IBM.com version
latest
Severity
Severity 3 = The problem is visible or noticeable to users but does not impede the usability or functionality. Affects minor functionality, has a workaround.
Application/website
ibm.com
Package
@carbon/ibmdotcom-web-components
CodeSandbox example
na
Steps to reproduce the issue (if applicable)
No response
Release date (if applicable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

We have new information on this issue, the navigation code creates 2/3 of the total number of nodes on IBM pages, which is about 22,000 nodes on both DOM and shadow DOM.
Lighthouse flags pages with DOM trees that:

Warns when the body element has more than ~800 nodes.
Errors when the body element has more than ~1,400 nodes.

Attached is a snapshot Lighthouse for https://ww.ibm.com/us-en, which shows 5,255 in the normal DOM, not accounting for the shadow DOM which is over three times larger

My recommendation is to backout the new navigation system because of the impact to SEO and paid search and also to overall page performance

How many nodes did the previous navigation implement?  Are we net + or - with the new navigation?  Also, can we quantify the impact on page performance with some sort of AB test?  The initial issue wasn't load times, but memory usage where the scrips the continued running after the page loaded ate up over 7GB of system memory.

We're definitely adding nodes with the new navigation. There's a considerable amount more complexity

By design, and also showing in number of nodes, the v2 Masthead is more than twice the size of the v1 Masthead.

Closing out this issue since it has been resolved by https://github.com/carbon-design-system/carbon-for-ibm-dotcom/pull/9595 and https://github.com/carbon-design-system/carbon-for-ibm-dotcom/pull/9602. Feel free to re-open if there are more unresolved issues.


App content not dispalyed

Describe the bug
The Electron's app content is not displayed, we can see only grey window without any console errors, and also the frame is also not working
To Reproduce
1)disabled frame in browser window option
2) loaded the preload script
3) enabled node integration
4) added the render script in script tags in html inside the body tag
Expected behavior
the custom frame window along with the app's content should be displayed
Screenshots

Desktop (please complete the following information):

OS:  win 10
Electron version: 9.0.5

You can provide the code snippet where you placed the title bar


Error in instllation over window

Hi
I am try to install testrpc on window but is shown a error "pkg-config" required through pip(python).
Please help me to resolve this dependency .

I believe the best help I can provide is for you to search for instructions on how to install the necessary system dependencies for the secp256k1 python cryptography library.  I'm not familiar with how those types of dependencies are installed in a windows environment.
If you find something that works I'd be interested to know what it is so that I can point future windows users that direction.


docs(spinnaker): add Alto to user list

Hi, @bpowell . Sorry to do this to you...
A bunch of PRs for this same page came in at about the same time, and there are conflicts. Could you either rebase and recommit, or close this and re-do it?
Thanks!

Sure thing @dorbin !

Opened up new PR: https://github.com/spinnaker/spinnaker.github.io/pull/1267


Add support for Keen Home smart vent

This is to add support for Keen Home smart vent (https://keenhome.io).
Here's what the DB entry looks like:
{
  "id": 14,
  "type": "EndDevice",
  "ieeeAddr": "0x0022777788889999",
  "nwkAddr": 4975,
  "manufId": 4443,
  "manufName": "Keen Home Inc",
  "powerSource": "Battery",
  "modelId": "SV01-410-MP-1.4",
  "epList": [1],
  "status": "offline",
  "joinTime": null,
  "endpoints": {
    "1": {
      "profId": 260,
      "epId": 1,
      "devId    ": 3,
      "inClusterList": [0, 1, 3, 4, 5, 6, 8, 32, 1026, 1027, 2821, 64513, 64514],
      "outClusterList": [25],
      "clusters": {
        "64513": {
          "dir": {
            "value": 1
          },
          "attrs": {}
        },
        "64514": {
          "dir": {
            "value": 1
          },
          "attrs": {}
        },
        "genBasic": {
          "dir": {
            "value": 1
          },
          "attrs": {}
        },
        "genPowerCfg": {
          "dir": {
            "value": 1
          },
          "attrs": {}
        },
        "genIdentify": {
          "dir": {
            "value": 1
          },
          "attrs": {
            "identifyTime": 0
          }
        },
        "genGroups": {
          "dir": {
            "value": 1
          },
          "attrs": {}
        },
        "genScenes": {
          "dir": {
            "value": 1
          },
          "attrs": {
            "count": 0,
            "currentScene": 0,
            "currentGroup": 0,
            "sceneValid": 0,
            "nameSupport": 0
          }
        },
        "genOnOff": {
          "dir": {
            "value": 1
          },
          "attrs": {
            "on    Off": 1
          }
        },
        "genLevelCtrl": {
          "dir": {
            "value": 1
          },
          "attrs": {
            "currentLevel": 252
          }
        },
        "genOta": {
          "dir": {
            "value": 2
          },
          "attrs": {}
        },
        "genPollCtrl": {
          "dir": {
            "value": 1
          },
          "attrs": {
            "checkinInterval": 240,
            "longPollInterval": 20,
            "shortPollInterval": 4,
            "fastPollTimeout": 1200
          }
        },
        "msTemperatureMeas    urement": {
          "dir": {
            "value": 1
          },
          "attrs": {
            "measuredValue": 2126,
            "minMeasuredValue": -4500,
            "maxMeasuredValue": 8000,
            "tolerance": 1
          }
        },
        "msPressureMeasurement": {
          "dir": {
            "value": 1
          },
          "attrs": {}
        },
        "haDiagnostic": {
          "dir": {
            "value": 1
          },
          "attrs": {
            "lastMessageLqi": 255,
            "lastMessageRssi": -43
          }
        }
      }
    }
  },
  "_id": "6fUxxCc7LmJtjlbl"
}

I need some pointer on this though. I've updated lib/extension/homeassistant.js with following:
'SV01-410-MP-1.4': [configurations.light_brightness]

But when I restart I see this in the log:

2019-2-12 02:12:52 - error: Failed to configure 0x0022a30000154174 (0x0022a30000154174) ('Error: request unsuccess: 134')

and I don't see any related entity show up in Home Assistant.
The other problem I see is that this device reports temperature, pressure and battery level. But I don't see any of those show up in the log. fwiw when I paired it with deconz, I had to manually "read" the attribute from UI (I believe it sends a message to the vent to force it return the values?). Is there anyway to poll the device?

What doesn't work yet? Home asisstant discovery will be added once this device is integrated.

Seems to be working now, I think this is ready to be merged

Just some questions if you can help me understand more about the code.

I see this in the code: (cb) => device.foundation('genPowerCfg', 'configReport', [cfg], foundationCfg, cb), What does it do? Does it send a 'read' request to the device?
Is there anyway to make a 'read' request to a device when zigbee2mqtt starts up?
For (cb) => device.report('msTemperatureMeasurement', 'measuredValue', 30, 600, 1, cb),, what does the min/max interval mean?

Is the brightness used to control the fan level?

(cb) => device.foundation('genPowerCfg', 'configReport', [cfg], foundationCfg, cb) set up reporting, meaning that if the battery level changes, it will report the new status

Value will reported maximally each 30 seconds, minimally each 600 seconds.

Is the brightness used to control the fan level?

Yes. If I want this to be a cover component in Home assistant, is there anything else I need to do?

(cb) => device.foundation('genPowerCfg', 'configReport', [cfg], foundationCfg, cb) set up reporting, meaning that if the battery level changes, it will report the new status

Is this only needed for specific device?
The keen home smart vent wasn’t reporting anything when I pair it the first time, I’ve tried device.foundation() and it still didn’t report. Then I paired it again, now all of a sudden it reports fine even without device.foundation(). Not sure if I need it or not.

Value will reported maximally each 30 seconds, minimally each 600 seconds.

Ok I’ll increase the minimal. I assume less reporting = better batery usage?

Device configure only has to succeed once, it is only required again after a factory reset/re-pair of the device.
I would recommend replacing 600 with repInterval.MAX (https://github.com/Koenkk/zigbee-shepherd-converters/blob/master/devices.js#L8)
To properly integrate this with the Home Assistant MQTT fan component, we need to handle the following MQTT topics:

zigbee2mqtt/[DEVICE_FRIENDLY_NAME]/set - OFF, ON, low, medium, high`
and send back the following payload:
{
  "state": "ON",
  "speed": "medium"
}

Let me know if you can do this, if not, I can help you with it.

About the brightness, am I right by saying that when sending zigbee2mqtt/[DEVICE_FRIENDLY_NAME]/set, payload:

{"brightness": 255} = full speed
{"brightness": 127} = 50% speed
{"brightness": 10} = almost off

Just to clarify, this is a device that can adjust the openness of your heating or cooling vent (https://keenhome.io/).
It doesn’t have fan functionality. The brightness value indicate how much to open the vent. 255 means fully opened and 0 means closed.
In home assistant I think this should map to cover component.

Agree, in that case we should handle the following:
zigbee2mqtt/DEVICE_FRIENDLY_NAME/set: OPEN, CLOSE and 0 - 100. You should add two toZigbee converters with the key state.

I just pushed the change to handle cover position, can you have a look please?
The vent is using on/off (genOnOff.onOff), do you think we should take OPEN/CLOSE from HASS and map it to on/off?

If I understand correctly, the two toZigbee converters you mentioned should be on/off and change position?

The onoff should also handle OPEN and CLOSE, add something like
if (value.toLowerCase() === 'open') {
   value = 'on'
} else if (value.toLowerCase() == 'close') {
   value = 'off'
}

I've made some updated, can you try with the following home assistant configuration:
cover:
  - platform: mqtt
    name: "my_cover"
    command_topic: "zigbee2mqtt/DEVICE_FRIENDLY_NAME/set"
    position_topic: "zigbee2mqtt/DEVICE_FRIENDLY_NAME"
    set_position_topic: "zigbee2mqtt/DEVICE_FRIENDLY_NAME/set"
    set_position_template: '{ "position": {{ position }} }'

Finally got it working with this:
cover:
- platform: mqtt
  name: "z2m_office_vent"
  command_topic: "zigbee2mqtt/z2m_office_vent/set"
  position_topic: "zigbee2mqtt/z2m_office_vent"
  set_position_topic: "zigbee2mqtt/z2m_office_vent/set"
  set_position_template: '{ "position": {{ position }} }'
  value_template: '{{ value_json.position }}'

But I noticed a problem that if I only send OPEN / CLOSE, the device would return this

zigbee2mqtt:error 2019-2-19 19:30:54 Zigbee publish to device '0x0022a30000113876', genOnOff - off - {} - {"manufSpec":0,"disDefaultRsp":0} - null failed with error Error: AF data request fails, status code: 233. MAC no ack.

I think instead of using genOnOff.onOff to determine the state, I should just use currentLevel, if it's > 0, then OPEN otherwise CLOSE

Yes, would you be able to do that?

Yep I made the change locally and it works great now! I'll do some more test and maybe adjust the report time again as I think the battery is draining a bit too fast

btw sometime I'd get "invalidValue" error for the vent, any idea what that means? The log before the error message seems normal to me
  zigbee2mqtt:debug 2019-2-20 07:31:50 Received zigbee message of type 'attReport' with data '{"cid":"genLevelCtrl","data":{"currentLevel":0}}' of device 'SV01-410-MP-1.0' (0x0022a300000fd04c)
  zigbee2mqtt:info 2019-2-20 07:31:50 MQTT publish: topic 'zigbee2mqtt/z2m_office_vent', payload '{"temperature":27.31,"linkquality":18,"pressure":1005.1,"battery":50,"state":"CLOSE","brightness":255,"position":"0"}'
  zigbee2mqtt:error 2019-2-20 07:31:51 Failed to configure z2m_office_vent (0x0022a300000fd04c) ('invalidValue')

One of the configure commands fails; I guess this one: https://github.com/Koenkk/zigbee-shepherd-converters/pull/276/files#diff-6c9a6acf22f90d1c6e524d9f3c5c1745R2619 , is that one really needed? Looks like a typo.https://github.com/Koenkk/zigbee-shepherd-converters/pull/276/files#diff-6c9a6acf22f90d1c6e524d9f3c5c1745R2619 as this is already done on https://github.com/Koenkk/zigbee-shepherd-converters/pull/276/files#diff-6c9a6acf22f90d1c6e524d9f3c5c1745R2618

@Koenkk this PR is ready now
Turns out the invalidValue error was due to my battery config report, for some reason that'll end up with the error. In the end, I removed all the reporting configs and just use device default

@snjoetw great!


Edit vector/rect properties in a "linked" manner when holding down Ctrl

Don't merge yet. This PR needs to be modified so it doesn't link coordinates when dragging properties to change their values while holding down Ctrl.

For Rect2, Rect2i and AABB, this only applies to the size, not the position.
This closes https://github.com/godotengine/godot-proposals/issues/144.
Note: When cherry-picking to the 3.2 branch, remove the parts that modify the integer vector types as these aren't present in 3.2.x.

I think that a link button would make more sense. I did a bit of work in my fork

@Calinou What's the status of this PR? Do you plan to continue working on this? There are requested changes above that need to be addressed.

Superseded by #59125.


"Getting started" guide leads people to check in vendor/src directory

In the FAQ (content/faq/externals.md) you clearly mentioned you disagree managing a copy of dependencies in project code base.

The Go authors agree that vendoring, taking a copy of your dependencies, is the path to repeatable builds – we just disagree on the method.
The Go authors are recommending vendoring by copying the source of your dependencies into a folder inside your package, then rewriting the source of those vendored depdendencies to accomodate.

Then please do NOT lead people to do that in the "getting started" guide (content/examples/getting-started.md) (the "Wrapping up" section):

you should check your $PROJECT directory into a source control repository. This includes any source you have copied from other projects into your $PROJECT/vendor/src/ directory.

I just started learning golang and got here when trying to pick the best  dependency management tool out of the ~20 tools (!).  Turns out a lot of tools recommend to copy dependencies and check into project source tree.  I personally strongly disagree with that, I'd rather manage links to dependencies in project source tree, either using git submodule/subtree or tools like gom.   If your opinions remain the same as mentioned in the FAQ, giving some more detailed examples would be very helpful.
Thanks for the great tool!

Thank you for raising this issue. I believe the problem is I have not made it clear the difference between vendoring inside a package
$GOPATH/src/github/com/someuser/someproject/vendor

And vendoring inside a project
$PROJECT/vendor

The key difference is the source inside a gb project is all transitive dependencies controlled by the project, not individual libraries.
You can use submodules if you like, it is the responsibility of the project owner to manage the contents of their entire gb project. gb doesn't care how you do it, all you as the owner have to do is make sure the project contains the full source code, including dependencies, when you want to build or test.

Thanks for the swift reply.  Yes making the statement clear would be better.


♻ Simplify AsyncExitStackMiddleware as without Python 3.6 AsyncExitStack is always available

♻ Simplify AsyncExitStackMiddleware as without Python 3.6 AsyncExitStack is always available

🚀 Deployed on https://6486414b6038ce59694f6330--fastapi.netlify.app


Consider integrating escope

JSDoc currently uses a bunch of complex, flaky code to identify member scopes. We should consider using estools/escope instead. Using escope might also make it possible to track variable aliases more easily.
ESLint uses escope, so that's a decent place to look for usage examples. Also, there's JSDoc documentation for the API. How about that.

This is probably a good idea, but it has the potential to be fairly difficult. I'd like to see 100% code coverage of jsdoc/src/parser before we attempt this.

I suspect that this would only be possible as part of a very large change to the parser code, so I don't think there's any value in tracking this issue.

I see that this issue is about 4 1/2 years old now.
Since this issue has been created, the ESLint-family of projects (including the Esprima parser) have become incredibly widespread and battle-tested.
I think it would be a mistake not to use them.  Not just because JSDoc's current parsing is “flaky”, but because Esprima (and family) are so thoroughly tested with every edge case—way more tested than the much smaller JSDoc community could ever hope to match.
In fact, I found this section from the Esprima documentation that describes how to collect comments.  By simply passing in a few options, you can collect comment types (i.e. // or /* ... */ style), their locations, and their character ranges.
I think this should be reopened as part of JSDoc 4.0 tasks, and I'm willing to help.  I can't do it single-handed, but I can probably do a decent chunk of gruntwork.
@hegemonic : Thoughts?


Various test fixes to maintain CI stability

This PR focuses on following things

fixes #1308 - Supplying increased wait time for fixing vmlistener cleanup method
Fixing installation script to install vDVS plugin onto swarm worker2 node (/CC @shaominchen )
fixes #1302 - resolving deployESXInstall failure during CI run

CI is failing and blocked due to VIB installation issue .. I will update the PR with fresh changes.

CI is passing and back to stable

https://ci.vmware.run/vmware/docker-volume-vsphere/301
https://ci.vmware.run/vmware/docker-volume-vsphere/303


[TDX-1370] Konnect ServiceHub: add Archive or Delete a Service Version section

Summary
Add Archive or Delete a Service Version section to Konnect ServiceHub documentation.
Reason
New feature allows users to archive a Service version.
Testing
https://deploy-preview-3259--kongdocs.netlify.app/konnect/servicehub/manage-services/#archive-or-delete-a-service-version

Hey sorry this already got merged, but can we add that archiving does not affect proxy access or application registration for a service?
For example:
If application registration is enabled on the service package enabled you can still access an archived service version with your application credentials.
not a 100% sure on how to phrase that @Mierenga do you think we should add this or is it implied?

@falondarville After @HenriPro and I discussed this for now we need you to remove reference to Archive action and only leave the Delete action in the docs. Also the code for archiving a service version is not deployed to prod yet.

@thao2021 I will open up a new PR with the modifications: rm Archive, leave Delete version instructions.


Board support for Adafruit Trinkey QT2040

Includes rainbow example. Tested on a board plugged into a Pi 4 Model B.

Sorry - one more thing. Please could you add it to the top-level README along with the other boards?

Requested changes made.


delete cmd: Show tasks that will be deleted

Tests need to be updated accordingly.

Actually master failed, fixed.
On Tue, Oct 04, 2016 at 09:13:08PM -0700, Hugo Osvaldo Barrera wrote:

Tests need to be updated accordingly.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/pimutils/todoman/pull/44#issuecomment-251577531

Thanks for fixing master. This branch still requires a few test updates too.

Ok, it's fixed.

Thanks!


Having trouble running pico on Windows localhost

I'm running windows 10 and the latest pico version as of the date of this issue. I am using the built in web server of PHP version 5.6.17
I get the following error:
Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in C:\Users\xyz\Development\pico-release-v1.0.0.tar\lib\Pico.php on line 501
Fatal error: Call to undefined function mb_convert_encoding() in C:\Users\xyz\Development\pico-release-v1.0.0.tar\vendor\erusev\parsedown-extra\ParsedownExtra.php on line 468

Thank you for your bug report! This turns out to be a misconfiguration of your PHP installation. Please check your php.ini and set the date.timezone option to a appropriate value. We'll suppress this warning in Pico 1.0.1. Additionally, Pico requires PHP's mbstring extension due to the use of parsedown, the Markdown parser Pico uses. Please make sure to use a PHP installation with mbstring enabled.

Great! That did it!
I also landed up using XAMPP which had everything set up properly.
Thanks!


LoadError when generating new project.

I'm getting an issue loading 'rails/generators' when trying to generate a new suspenders project. I wouldn't be surprised if this is an issue with the way I have set things up, but I'm on a fresh install using the thoughtbot laptop script and dot files.
I'm using rbenv and running ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin15] and Rails 4.2.5
~ % suspenders mes
/Users/jdbann/.rbenv/versions/2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `require': cannot load such file -- rails/generators (LoadError)
	from /Users/jdbann/.rbenv/versions/2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
	from /Users/jdbann/.rbenv/versions/2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in `require'
	from /Users/jdbann/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/suspenders-1.34.0/lib/suspenders/generators/app_generator.rb:1:in `<top (required)>'
	from /Users/jdbann/.rbenv/versions/2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
	from /Users/jdbann/.rbenv/versions/2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
	from /Users/jdbann/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/suspenders-1.34.0/lib/suspenders.rb:2:in `<top (required)>'
	from /Users/jdbann/.rbenv/versions/2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
	from /Users/jdbann/.rbenv/versions/2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
	from /Users/jdbann/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/suspenders-1.34.0/bin/suspenders:7:in `<top (required)>'
	from /Users/jdbann/.rbenv/versions/2.2.3/bin/suspenders:23:in `load'
	from /Users/jdbann/.rbenv/versions/2.2.3/bin/suspenders:23:in `<main>'

I had two versions of Rails installed, 4.2.3 and 4.2.5. Uninstalling 4.2.3 has sorted this.

That's surprising, I've never seen this. If it's reported again or we known of a way to fix it, let's do it. Thanks for your report!

I have rails (4.2.5, 4.2.4, 4.2.3, 4.2.1, 4.2.0, 4.1.12, 3.2.22) installed, and can't replicate this issue. @jdbann or @seanpdoyle, how can I replicate it, if you know?

Just reinstalled rails 4.2.3 alongside rails 4.2.5 and it gave the same error

I have ruby 2.2.3p173, rails (4.2.5, 4.2.4, 4.2.2) and rbenv 0.4.0 and I'm with the same problem.
Uninstalling all rails and installing only 4.2.5 solved for me.

I can also confirm that on the same ruby version ruby 2.2.3p173 I would get this error with any combination of multiple rails gem versions but it would work fine with only a single version.

+1

I won't be able to work on this for a few weeks, I'll happily merge a PR if you send one! Thanks for reporting.
cc @rjewell2200

@tute Which ruby version were you using when you tried this?

I haven't tried to trigger this with more rails versions yet. I use 2.2.3p173.

Same problem, same ruby version ruby 2.2.3p173
rails (4.2.5, 4.2.4, 4.2.3, 4.2.1)

@tute Changing Suspenders::RAILS_VERSION to "4.2.5" instead of "~> 4.2.0" did the trick. Does it make sense to send a PR changing it or do you prefer to investigate more?

Changing Suspenders::RAILS_VERSION to "4.2.5" instead of "~> 4.2.0" did the trick. Does it make sense to send a PR changing it or do you prefer to investigate more?

I'd rather find another solution. Fixing the patch version requires more maintenance than leaving it undefined. Thanks for your input, Thiago!

@tute Changing Suspenders::RAILS_VERSION to "4.2.5" instead of "~> 4.2.0" did the trick. Does it make sense to send a PR changing it or do you prefer to investigate more?

In my previous message I said I didn't prefer this, but I think I was mistaken. @thiagogabriel, moving it to ~> 4.2.5 fixes this problem? If so, please do send a PR, and I'll merrily merge it! Thank you.

@tute suspenders is requiring Ruby >= 2.3.0. Even reinstalling other Rails versions listed above I can't replicate the problem. Looks like it is solved.
Can you guys try again? @iovis9 @jdbann @delphaber
I have rails (<IP_ADDRESS>, 4.2.4, 4.2.2, 4.2.1) installed on Ruby 2.3.0

Closing for now, if it continues to be a problem let me know and we'll reopen and work through it. Thank you!


Add this app to f-droid

The title says it all. It would be really awesome to add this app to the fdroid repository.

Any news on this issue?

@IzzyOnDroid Is the size of the apk the issue here for your repository?


Invalid paramter

InvalidParameterCombination: Unable to download from S3 location (Bucket: XXX  Key: XXX). Reason: Not Found
the same account has access to both ELB and S3 via policy.
deploy:
  elastic_beanstalk:
    access_key: [account key]
    secret_key: [account secret key]
    region: us-west-2
    version_label: v1
    bucket_name: [env's bucket name]
    application: [env name]
    bucket_key: [account secret key]

I can't verify that as I'm not using elastic beanstalk

But the error looks like wrong configuration

That's what I though. I assume the bucket key is the same as the account's secret key? I'm giving a user access via IAM to EBS and S3

I'm getting this error too.  @clanstyles did you figure this out?

@tboerger I don't think this implementation of using EB is even correct or near feature complete.  Why is it in the Drone docs?

It's not. From what I can tell you don't need a secret key for the bucket if the account also has access. I think this was changed a while back with the IAM stuff. You use access_key/secret_key with a user that has access and you should be able to upload. I tried setting a blank secret_key and @tboerger requires one.
I tried to make a fix for it. It was really hard to get drone to give my account permission to test and then write the test itself. You have to push changes and I think I had an issue with the Docker container. Eventually I gave up it's just too much of a hassle. I wish it did work though.

The bucket key isn't supposed to be a secret key.  It's an "S3 bucket key", as in the uploaded file that should exist in S3.. however, I'd think the deployment process (this plugin), should be uploading the file and setting the key, then telling EB to update using that file.
Better yet, drone is all "dockerized", and it would be great to simply be able to upload trigger a container publish, then after the publish, just simply notify EB to pull the latest image that was uploaded (using Docker in EB).

i.e. http://cloudavail.com/2014/10/26/elasticbeanstalk-docker/

Was there any movement on this?

Was there any movement on this?

No, because I'm not able to reproduce any issue. As far as I know this plugins works like expected. As already said above, the bucket key is not a secret key as you can see here

@clanstyles i gave up on this. seems like a lot of the drone deploy plugins are just name squatting.  stick with docker hub pushing then deploying from the new image

@joshdvir you are really using this plugin, can you say something to this issue?

@tboerger, @clanstyles, @j  this is how I do it:
first I upload the zip file to S3 using this:
publish:
s3:
acl: private
region: [AWS region]
bucket: [s3 bucket name]
access_key: [account key]
secret_key: [account secret key]
source: [local zip file]
target: [target zip to be in s3 bucket]
after the file has been uploaded to S3 this creates a version in EB and update the environment.
deploy:
elastic_beanstalk:
access_key: [account key]
secret_key: [account secret key]
region: [AWS region]
application: [EB application name]
version_label: [application version name]
bucket_name: [s3 bucket name]
bucket_key: [target zip in s3 bucket]
environment_name: [EB environment name]
environment_update: true
as you can see the bucket key is the path to the zip file inside the S3 bucket and not the account key.
I'm using this plugin daily let me know if you have anymore questions.

Thanks for this clarification. Should we rename this variable? With a fallback to the old name of course

@tboerger there is no need to rename the variable, it takes the same conventions as in Dockerrun.aws.json file which is being using in Elastic Beanstalk, it should stay the same.

Ok, than I will close this issue as it strongly looks like wrong usage of the plugin.

when i am trying to deploy in the elastic beanstalk it say s3 not found although i have create an s3 bucket. my .drone.yml code is this
kind: pipeline
type: docker
name: default
steps:
name: deploy to elastic beanstalk
image: pelotech/drone-elastic-beanstalk
settings:
access_key:
from_secret: aws_access_key
secret_key:
from_secret: aws_secret_key
region: ap-southeast-2
application: drone ci tester
version_label: v1
description: Deployed with DroneCI
bucket: drone-node-test
bucket_key:
from_secret: aws_access_key
and the logs says:

@joshdvir Can you please help me with this?

@Aabhusan at first glance and looking at the error it looks like it's not finding the s3 object.
Looking at your config, I'm guessing it's because you're using the aws access key for the bucket key (from the secret) but that needs to be the actual object that's being deployed.
access_key and access_secret are for auth
bucket and bucket_key are for the location of the s3 item


[spi_device] Tagging for Upload Command/Address FIFOs and Payload Buffer

Currently, address fifo and the payload do not have any information that SW is able to figure out which command these address and/or payload belong to.
If the host system follows the protocol correctly, it is easy for SW to get. For example, SW can assume that the block erase will always have address field but not payload buffer.
However, if the host system does not follow the protocol, or the SPI is prone to error, it may have chances to receive incomplete commands or redundant data at the end of a SPI transactions. In this case, the matches between the address and command FIFOs will be broken.
The suggestion is to have tags to figure out the connections among the FIFOs and buffer.
Easy (from the HW design point of view) revision is to have tag field in command/ address/ and payload that SW can read out.
Cleaner revision is, to update the address to the index same as the command fifo is written. Payload to have tag CSR pointing to the correct cmd FIFO entry. This requires the overhaul of the FIFOs and additional CSR for payload buffer.
BREAKING CHANGE: This will revise the way how to get the address and payload for the upload commands. SW and DV needs to be revised too.
CC: @alphan

@cfrantz @a-will
Related: #11871

Based on discussions with @alphan looks like SW expects only one command is being pushed to the upload FIFOs until the command is processed. So, matching the address and payload is easy with the current design.
This may lead to reducing the size of Command/Address FIFOs (to 2~4).

Based on discussions with @alphan looks like SW expects only one command is being pushed to the upload FIFOs until the command is processed. So, matching the address and payload is easy with the current design.

Just to be clear, this was for bootstrap in ROM, not sure about other use cases.

@a-will
i think in terms of normal, valid commands, this is probably true most of the time.
Especially since commands we want to upload / capture are "usually" going to cause BUSY assertion, which should prevent the host from sending more.
I have in the past heard of desires to capture "bad" commands also so the device can figure out what's going on, but I think Alex will have a better sense whether that's an actually useful scenario.

Now that we have hardware handling WREN / WRDI, we cover the common use cases with the capability to handle just one uploaded command. Any operation on the arrays causes BUSY to assert, and flash parts do not decode most commands while BUSY.
The program/erase suspend commands don't fit into that set, but I suspect we don't intend to support them. The two-command soft reset sequence also doesn't set BUSY for the first command.
Capturing "bad" commands seems nice, but it's also not essential for the part's operation, I think. But how could it be used in practice? Diagnostics? Force reset the host because it seems suspicious? I'm not sure, myself.

Triaged for spi_device. Assigning to M2.5 with https://github.com/lowRISC/opentitan/labels/Priority%3AP2 because even though this is about robustness in an environment with errors, we should check with the product team if the behavior of spi_device is acceptable.  If yes, we can defer this to https://github.com/lowRISC/opentitan/labels/Type%3AFutureRelease.

Reviewing this issue to estimate effort, I'm unsure if the original issue is still valid after the conclusion #11871 (e.g #12614 was merged which seems to to be relevant), or if the question of the FIFO's becoming out-of-sync due to a misbehaving host is still open and relevant. @eunchan @a-will Could you help me understand the state of this issue? Thanks

Agreed here.
If anything, I'd recommend eliminating the FIFO altogether and only accepting a single command (perhaps with a tag of the WEL bit status at the time the command was uploaded).
For behaving like a SPI flash, uploaded commands are intended to work in conjunction with the WIP bit, so it is impossible to queue up multiple commands at a time. Any command that does not immediately get serviced uses the WIP bit to indicate when it completes. By contrast, any command that must be serviced immediately cannot be processed by the high-latency firmware, so the spi_device IP would need to handle it directly, without uploading.
Given the target application, this buffering architecture seems unnecessarily complex.


Update Firefox branding

https://design.firefox.com/photon/visuals/product-identity-assets.html

Done as part of #514.


ocamlPackages.lwt4: 4.2.1 → 4.4.0

Motivation for this change
Bug fixes and co.: https://github.com/ocsigen/lwt/blob/51a7deb8709ab7afa5848b0444b460a8eca91a67/CHANGES
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build acgtk flow jackline reason stog


State shown as offline instead aspleep

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
After upgrade to 2024.8.7 asleep displayed as offline
Expected Behavior
No response
Steps To Reproduce
No response
Relevant log output
2024-03-31 17:35:57.042 [info] GET https://nominatim.openstreetmap.org/reverse -> 200 (504.435 ms)
2024-03-31 17:35:57.047 [info] End of drive initiated by: %TeslaApi.Vehicle.State.Drive{active_route_destination: nil, active_route_energy_at_arrival: nil, active_route_latitude: nil, active_route_longitude: nil, active_route_miles_to_arrival: nil, active_route_minutes_to_arrival: nil, active_route_traffic_minutes_delay: 0.0, gps_as_of:<PHONE_NUMBER>, heading: 169, latitude: 39.839463, longitude: -7.861796, native_latitude: 39.839463, native_location_supported: 1, native_longitude: -7.861796, native_type: "wgs", power: 1, shift_state: "P", speed: 0, timestamp:<PHONE_NUMBER>215}
2024-03-31 17:35:57.047 car_id=1 [info] Driving / Ended / 0 km – 1 min
2024-03-31 17:35:57.047 car_id=1 [info] Start / :online
2024-03-31 17:39:13.727 car_id=1 [info] Suspending logging
2024-03-31 18:04:52.871 [info] Streaming API: Vehicle offline
2024-03-31 18:04:52.871 car_id=1 [warning] Stream reports vehicle as offline, fetching vehicle state ...
2024-03-31 18:04:53.106 car_id=1 [info] Start / :offline
2024-03-31 18:04:53.108 car_id=1 [info] Disconnecting ...
2024-03-31 18:14:36.648 car_id=1 [info] Start / :online
2024-03-31 18:14:36.653 car_id=1 [info] Connecting ...
2024-03-31 18:17:38.340 car_id=1 [info] Suspending logging
2024-03-31 18:18:55.170 [info] Start of drive initiated by: %TeslaApi.Stream.Data{time: ~U[2024-03-31 17:18:54.592Z], speed: 0, odometer: 73994.8, soc: 72, elevation: 692, est_heading: 169, est_lat: 39.839463, est_lng: -7.861796, power: 4, shift_state: "R", range: 191, est_range: 98, heading: 169}
2024-03-31 18:18:55.170 car_id=1 [info] Driving / Start
2024-03-31 18:21:17.759 [info] GET https://nominatim.openstreetmap.org/reverse -> 200 (408.027 ms)
2024-03-31 18:21:18.197 [info] GET https://nominatim.openstreetmap.org/reverse -> 200 (437.065 ms)
2024-03-31 18:21:18.201 [info] End of drive initiated by: %TeslaApi.Vehicle.State.Drive{active_route_destination: nil, active_route_energy_at_arrival: nil, active_route_latitude: nil, active_route_longitude: nil, active_route_miles_to_arrival: nil, active_route_minutes_to_arrival: nil, active_route_traffic_minutes_delay: 0.0, gps_as_of:<PHONE_NUMBER>, heading: 352, latitude: 39.841989, longitude: -7.860189, native_latitude: 39.841989, native_location_supported: 1, native_longitude: -7.860189, native_type: "wgs", power: 3, shift_state: "P", speed: 0, timestamp:<PHONE_NUMBER>724}
2024-03-31 18:21:18.201 car_id=1 [info] Driving / Ended / 0 km – 2 min
2024-03-31 18:21:18.201 car_id=1 [info] Start / :online
2024-03-31 18:25:35.725 car_id=1 [info] Suspending logging
2024-03-31 18:52:22.187 [info] Streaming API: Vehicle offline
2024-03-31 18:52:22.187 car_id=1 [warning] Stream reports vehicle as offline, fetching vehicle state ...
2024-03-31 18:52:22.464 car_id=1 [info] Start / :offline
2024-03-31 18:52:22.466 car_id=1 [info] Disconnecting ...
2024-03-31 22:17:13.382 car_id=1 [info] Start / :online
2024-03-31 22:17:13.387 car_id=1 [info] Connecting ...
2024-03-31 22:20:14.983 car_id=1 [info] Suspending logging
2024-03-31 22:29:28.070 [info] Streaming API: Vehicle offline
2024-03-31 22:29:28.070 car_id=1 [warning] Stream reports vehicle as offline, fetching vehicle state ...
2024-03-31 22:29:28.330 car_id=1 [info] Start / :offline
2024-03-31 22:29:28.332 car_id=1 [info] Disconnecting ...
2024-03-31 22:41:15.192 [info] Refreshing access token ...
2024-03-31 22:41:15.588 [info] POST https://auth.tesla.com/oauth2/v3/token -> 200 (395.461 ms)
2024-03-31 22:41:15.590 [info] Scheduling token refresh in 6 h
2024-03-31 22:56:43.604 car_id=1 [info] Start / :online
2024-03-31 22:56:43.609 car_id=1 [info] Connecting ...
2024-03-31 22:59:45.051 car_id=1 [info] Suspending logging
2024-03-31 23:09:17.663 [info] Streaming API: Vehicle offline
2024-03-31 23:09:17.663 car_id=1 [warning] Stream reports vehicle as offline, fetching vehicle state ...
2024-03-31 23:09:17.919 car_id=1 [info] Start / :offline
2024-03-31 23:09:17.921 car_id=1 [info] Disconnecting ...
2024-04-01 04:41:15.591 [info] Refreshing access token ...
2024-04-01 04:41:15.921 [info] POST https://auth.tesla.com/oauth2/v3/token -> 200 (329.427 ms)
2024-04-01 04:41:15.923 [info] Scheduling token refresh in 6 h
2024-04-01 07:03:51.949 car_id=1 [info] Start / :online
2024-04-01 07:03:51.954 car_id=1 [info] Connecting ...
2024-04-01 07:06:53.424 car_id=1 [info] Suspending logging
2024-04-01 07:16:32.361 [info] Streaming API: Vehicle offline
2024-04-01 07:16:32.361 car_id=1 [warning] Stream reports vehicle as offline, fetching vehicle state ...
2024-04-01 07:16:32.551 car_id=1 [info] Start / :offline
2024-04-01 07:16:32.554 car_id=1 [info] Disconnecting ...
2024-04-01 08:47:29.428 car_id=1 [info] Start / :online
2024-04-01 08:47:29.441 car_id=1 [info] Connecting ...
2024-04-01 08:47:57.891 [info] GET /
2024-04-01 08:47:57.893 [info] Sent 200 in 2ms
2024-04-01 08:48:53.595 [info] GET /settings
2024-04-01 08:48:53.600 [info] Sent 200 in 4ms
2024-04-01 08:50:31.452 car_id=1 [info] Suspending logging
2024-04-01 08:52:54.558 [info] GET /
2024-04-01 08:52:54.561 [info] Sent 200 in 2ms
2024-04-01 09:05:04.152 [info] Streaming API: Vehicle offline
2024-04-01 09:05:04.153 car_id=1 [warning] Stream reports vehicle as offline, fetching vehicle state ...
2024-04-01 09:05:04.407 car_id=1 [info] Start / :offline
2024-04-01 09:05:04.410 car_id=1 [info] Disconnecting ...
2024-04-01 10:41:15.923 [info] Refreshing access token ...
2024-04-01 10:41:16.321 [info] POST https://auth.tesla.com/oauth2/v3/token -> 200 (397.658 ms)
2024-04-01 10:41:16.323 [info] Scheduling token refresh in 6 h
2024-04-01 13:11:15.600 [info] GET https://owner-api.teslamotors.com/api/1/vehicles/1492930661955577/vehicle_data -> 408 (9111.258 ms)
2024-04-01 13:11:15.600 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil}
2024-04-01 13:11:15.600 car_id=1 [error] Error / :unknown
2024-04-01 13:11:54.806 [info] GET https://owner-api.teslamotors.com/api/1/vehicles/1492930661955577/vehicle_data -> 408 (9105.988 ms)
2024-04-01 13:11:54.807 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil}
2024-04-01 13:11:54.807 car_id=1 [error] Error / :unknown
2024-04-01 13:12:34.009 [info] GET https://owner-api.teslamotors.com/api/1/vehicles/1492930661955577/vehicle_data -> 408 (9119.933 ms)
2024-04-01 13:12:34.009 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil}
2024-04-01 13:12:34.010 car_id=1 [error] Error / :unknown
2024-04-01 13:13:34.475 car_id=1 [info] Start / :online
2024-04-01 13:13:34.480 car_id=1 [info] Connecting ...
2024-04-01 13:16:36.381 car_id=1 [info] Suspending logging
2024-04-01 13:40:43.705 [info] Streaming API: Vehicle offline
2024-04-01 13:40:43.705 car_id=1 [warning] Stream reports vehicle as offline, fetching vehicle state ...
2024-04-01 13:40:43.932 car_id=1 [info] Start / :offline
2024-04-01 13:40:43.934 car_id=1 [info] Disconnecting ...
2024-04-01 13:53:23.880 [notice] SIGTERM received - shutting down
2024-04-01 13:53:26.390 [info] Migrations already up
2024-04-01 13:53:28.713 [info] System Info: Erlang/OTP 26 (jit)
2024-04-01 13:53:28.713 [info] Version: 1.28.5
2024-04-01 13:53:30.263 [info] POST https://auth.tesla.com/oauth2/v3/token -> 200 (1506.007 ms)
2024-04-01 13:53:30.263 [info] Refreshed api tokens
2024-04-01 13:53:30.266 [info] Scheduling token refresh in 6 h
2024-04-01 13:53:30.271 [info] Running TeslaMateWeb.Endpoint with cowboy 2.10.0 at :::4000 (http)
2024-04-01 13:53:30.271 [info] Access TeslaMateWeb.Endpoint at http://teslamate.rato.live
2024-04-01 13:53:30.572 [info] Starting logger for 'ZX Spectrum'
2024-04-01 13:53:30.588 [info] MQTT connection has been established
2024-04-01 13:53:30.693 car_id=1 [info] Start / :offline
2024-04-01 13:56:17.251 [info] GET /
2024-04-01 13:56:17.257 [info] Sent 200 in 5ms
2024-04-01 13:56:24.140 [info] GET /settings
2024-04-01 13:56:24.146 [info] Sent 200 in 5ms

Screenshots

Additional data
No response
Type of installation
Docker
Version
1.28.5

Please see #3753.


Backslashes not escaped after #3071

Description
Today I upgraded from Fake 5-beta018 to beta020 because of the broken intellisense in VSCode. (fsharp/fake#1744).
With this change the forward slashes in intellisense.fsx are replaced with single back slashes.
Repro steps
Please provide the steps required to reproduce the problem

Upgrade Fake 5 from beta018 to beta020

Delete [script_name.fsx].lock file

Call fake.cmd, such that a restore is triggert

Open directory in Ionide

repo
Expected behavior
Expected output:
#if !FAKE
#r "C:/Users/jarno/.nuget/packages/fake.core.xml/5.0.0-beta018/lib/net46/Fake.Core.Xml.dll"

Actual behavior
Actual output:
#if !FAKE
#r "C:\Users\jarno\.nuget\packages\fake.core.xml\5.0.0-beta020\lib\net46\Fake.Core.Xml.dll"

Known workarounds
Possible workarounds are:

Replacing the \ with /
Escape the \ with a extra \

Example:
#if !FAKE
#r "C:\\Users\\jarno\\.nuget\\packages\\fake.core.xml\\5.0.0-beta020\\lib\\net46\\Fake.Core.Xml.dll"

Ah sorry... you fix something on one side and something else breaks on the other side :/

Is that a paket bug?
Am 27.02.2018 22:12 schrieb "Matthias Dittrich"<EMAIL_ADDRESS>
Ah sorry... you fix something on one side and something else breaks on the
other side :/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/Paket/issues/3093#issuecomment-369027606,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNJpCAo_8zB6AtcJGegfDVCJJIiVEks5tZG-ugaJpZM4SVo-X
.

Yes most likely load script generation is still broken

Are you looking into this?
Am 28.02.2018 07:13 schrieb "Matthias Dittrich"<EMAIL_ADDRESS>
Yes most likely load script generation is still broken
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/Paket/issues/3093#issuecomment-369133443,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNNusl1uzugKRzEfMet9rdI52xbVFks5tZO6RgaJpZM4SVo-X
.

I added the fix to https://github.com/fsprojects/Paket/pull/3090

that one gets huge ;-)

+45 −18 is still kind of review-able ;)


Issues with running PyDIP on Windows

Windows 10
Python 3.8.0
Visual Studio 16.5.4
Java 8u211
DIPlib @ca62d40
PyCharm 2020.1

After installing DIPlib and PyDIP in accordance with INSTALL_Windows.md, except for the optional dependencies, I got the following error:
Traceback (most recent call last):
  File "D:/Stack/Bioinformatica/2019-2020/Image Analysis with Applications in Microscopy/Assignment 2/main.py", line 1, in <module>
    import PyDIP as dip
  File "C:\Program Files\Python38\lib\site-packages\PyDIP\__init__.py", line 30, in <module>
    from PyDIP.PyDIP_bin import *
ImportError: DLL load failed while importing PyDIP_bin: The specified module could not be found.

After doing some research, I stumbled on this Python issue. As it turns out, at some point during the development of Python 3.8, the usage of the PATH variable for DLL loading has been disabled. See also this blog and this Microsoft documentation.
In addition to this, it appear that DIPjavaio.dll depends on jvm.dll which is bundled with Java. The default Java installation on Windows, however, does not add this DLL to the PATH variable. As such, PyDIP gives the same ImportError even on Python version where DLLs are still loaded using the PATH variable.
I was able to work around this issue by copying all of DIP's DLLs as well as jvm.dll to the PyDIP package folder. It should, however, be solvable from within __init__.py in accordance with the Python issue linked above.

After solving the DLL issue, two other issues still remain. First of all, there is no autocompletion in my IDE, even though this works on Linux. Secondly, upon the usage of the Kuwahara filter, I get the following unspecific error:
Traceback (most recent call last):
  File "D:/Stack/Bioinformatica/2019-2020/Image Analysis with Applications in Microscopy/Assignment 2/main.py", line 83, in <module>
    dip.Kuwahara(img1a),
RuntimeError: Caught an unknown exception!

Could this be because I'm lacking a certain library?

It would appear that installing Doxygen and completely restarting the installation adds autocompletion to my IDE. If this can be reproduced, it should be added to INSTALL_Windows.md.

Thanks @Wicloz for reporting these issues.

Windows 10 / Python 3.8 issue locating DLL files. I'm not sure how to solve this. I didn't spot an easy solution in the Python issue you linked, I probably skimmed the page too quickly and missed it. Moving the jvm.dll file to the DIPlib directory doesn't seem like a good solution. We need to tell the binary where to search for libraries.
I tested this on Windows 7 with Python 3.7, I guess I need to upgrade my Windows VM to be able to test possible solutions. @ronligt do you have any ideas on how to solve this?

I don't have an issue with the Kuwahara filter on macOS. The following works:
import PyDIP as dip
a=dip.ImageRead('/Users/cris/newdip/examples/trui.ics')
dip.Kuwahara(a)

This filter uses OpenMP (if you compiled with it enabled), but doesn't depend on any other external libraries. If other filters work, then so should this one. I'll run it under the memory checker to see if there's an out-of-bounds write that is harmless on macOS but problematic on Windows.

I don't see how Doxygen would add autocompletion to your IDE. We use Doxygen to generate documentation for the C++ library, but not for Python. I think one issue is that we don't have any documentation at all for the Python interface (well, there's just a little bit of documentation there). It might have taken your IDE some time or some prodding to index the function names and parameter names. By the way, I'm still looking for a way to auto-generate documentation for Python from the C++ Doxygen documentation.

OK, in Python 3.8 we need to use os.add_dll_directory. No need to test for Python versions, though, it is better to test for the existence of that particular function.
import os
if os.name == 'nt':
    if 'add_dll_directory' in dir(os):
        os.add_dll_directory("@CMAKE_INSTALL_PREFIX@/@LIBRARY_DESTINATION@")
    else:
        os.environ["PATH"] += os.pathsep + "@CMAKE_INSTALL_PREFIX@/@LIBRARY_DESTINATION@"

from PyDIP.PyDIP_bin import *
from PyDIP.PyDIP_py import *

Though we should really be using something like
with os.add_dll_directory(...):
    from PyDIP.PyDIP_bin import *
    from PyDIP.PyDIP_py import *

Not sure what the best way is to combine those two.

Found a way to combine the two here.
@contextlib.contextmanager
 def add_gdal_dll_directories():
     dll_dirs = []
     for dll_directory in dll_directories:
         dll_dirs.append(os.add_dll_directory(dll_directory))
     try:
         yield None
     finally:
         for dll_dir in dll_dirs:
             dll_dir.close()

with fiona._loading.add_gdal_dll_directories():
     from fiona.collection import BytesCollection, Collection
     ...

@Wicloz I have no way of testing this fix currently. Would you be willing to fetch the Python3.8_on_Windows_issue branch and see if this works for you?

With regard to the Kuwahara filter failing, I have tried out all the non-linear filters listed in the documentation. Most filters work, except for the following:

SelectionFilter - fails with the same error as above
Kuwahara - fails with the same error as above
AdaptiveBanana - fails with the same error as above
FullBilateralFilter - AttributeError: module 'PyDIP' has no attribute 'FullBilateralFilter'
QuantizedBilateralFilter - AttributeError: module 'PyDIP' has no attribute 'QuantizedBilateralFilter'
SeparableBilateralFilter - AttributeError: module 'PyDIP' has no attribute 'SeparableBilateralFilter'

Additionally, when running the code multiple times the error above is occasionally replaced with the following error, which confirms the theory of memory issues.
Traceback (most recent call last):
  File "D:/Stack/Bioinformatica/2019-2020/Image Analysis with Applications in Microscopy/Assignment 2/main.py", line 115, in <module>
    dip.AdaptiveBanana(img2b, [img3a]).Show()
RuntimeError: bad allocation
in function: AdaptiveFilter (D:\Downloads\diplib-master\src\nonlinear\adaptivegauss.cpp at line number 822)

I will be able to try out the fixed branch later tonight.

The three bilateral filters you mention do not have Python bindings because the function BilateralFilter is the interface to call any of the three.
Kuwahara is implemented using SelectionFilter, so it's the same error you see. On macOS, using Clang and OpenMP, I don't have any issues that AddressSanitizer can detect, so it's not a write-out-of-bounds issue nor a writing to unallocated or freed memory. I think this is a Windows-specific issue. SelectionFilter does not yet use multi-threading, so it's definitely not an OpenMP implementation issue. Unfortunately, without access to Windows I cannot debug this problem.
AdaptiveBanana also shows no issues in AddressSanitizer. It is implemented using the much of the same code as AdaptiveGauss, but that one runs without problems? That limits the source of the problem to a very limited section of code...

Unfortunately, this new branch does not work, and gives the following error:
Traceback (most recent call last):
  File "C:\Program Files\Python38\lib\site-packages\PyDIP\__init__.py", line 42, in add_diplib_dll_directory
    yield None
  File "C:\Program Files\Python38\lib\site-packages\PyDIP\__init__.py", line 50, in <module>
    from PyDIP.PyDIP_bin import *
ImportError: DLL load failed while importing PyDIP_bin: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:/Stack/Bioinformatica/2019-2020/Image Analysis with Applications in Microscopy/Assignment 2/main.py", line 1, in <module>
    import PyDIP as dip
  File "C:\Program Files\Python38\lib\site-packages\PyDIP\__init__.py", line 64, in <module>
    hasDIPjavaio = True
  File "C:\Program Files\Python38\lib\contextlib.py", line 131, in __exit__
    self.gen.throw(type, value, traceback)
  File "C:\Program Files\Python38\lib\site-packages\PyDIP\__init__.py", line 45, in add_diplib_dll_directory
    dll_dir.close()
AttributeError: 'str' object has no attribute 'close'

I fixed the SelectionFilter problem. As far as I can tell, AdaptiveBanana works if called with the example from the documentation, but fails with this error when called as
dip.AdaptiveBanana(a, [])

As for the location of jvm.dll, that seems quite hairy. Perhaps the easiest option would be to use %JAVA_HOME% or %JRE_HOME% to search for it, but in many cases those will have to be set manually by the user. Another option is to remove PyDIPjavaio altogether and write some Python code that depends on python-bioformats (similar to DIPimage).

@wcaarls Thanks for that fix! Good catch!
The AdaptiveBanana and related functions apparently checked for the right number of images in the 2nd parameter using DIP_ASSERT, which does nothing when compiled for release. I have fixed this, just haven't pushed it yet.
python-bioformats sounds like a really good idea. But I don't think it fixes "DLL load failed while importing PyDIP_bin", since that one doesn't depend on Java any more.

@Wicloz Thanks so much for testing that! I guess I have more work to do there. I will have to find a Windows 10 distribution somewhere, otherwise it's going to take for ever... :)

With regard to what @wcaarls mentioned, I should clarify that there are 2 separate DLL issues, which both give the same error:

On all operating systems, PyDIP will not work on Python >= 3.8 due to the PATH no longer being used.
On only Windows DIPjavaio.dll does not work. This affects all versions of Python, and probably MATLAB as well. This is because it relies on jvm.dll, which is not added to the PATH of Windows.

One of my classmates installed DIPlib without compiling DIPjavaio on Python 3.7, which worked without any DLL issues, confirming the issues above.

I just pushed a change that uses os.add_dll_directory when available. This leaves finding jvm.dll, but that might be obviated if we remove PyDIPjavaio altogether.

@wcaarls : I have a first attempt at using the python-bioformats module:
https://github.com/DIPlib/diplib/commits/python_bioformats
Let me know what you think.
There's an issue where the interpreter hangs upon exit (^D) after using Bio-Formats. No idea what that is about.

I'm having trouble compiling javabridge in Windows. It does not seem to recognize non-oracle JDK immediately. I'll check more later.
For reference, I wrote this code to setup Java under windows for PyDIPjavaio. It works as long as there is some kind of environment variable indicating where Java is to be found. This is the default when installing AdoptOpenJDK (on PATH); when unzipping OpenJDK manually, JAVA_HOME needs to be set.
import os, shutil

def setup_java_windows():
    paths = []
    if "JAVA_HOME" in os.environ:
        paths.append(os.path.join(os.environ["JAVA_HOME"], "bin", "server"))
        paths.append(os.path.join(os.environ["JAVA_HOME"], "jre", "bin", "server"))
    if "JRE_HOME" in os.environ:
        paths.append(os.path.join(os.environ["JRE_HOME"], "bin", "server"))

    exe = shutil.which("java")

    if exe:
        paths.append(os.path.join(os.path.dirname(exe), "server"))
        paths.append(os.path.join(os.path.dirname(exe), "..", "jre", "bin", "server"))

    for p in paths:
        dll = os.path.join(p, "jvm.dll")
        if os.path.exists(dll):
            try:
                os.add_dll_directory(p)
            except:
                os.environ["PATH"] += os.pathsep + p
            return

    print("jvm.dll not found")

When compiling from source, it might be easier to just find it from CMake, but that doesn't work for binaries.

@wcaarls,
I just learned that javabridge is an older package, the newer version is python-javabridge. Try to install that one, openjdk8 and openjdk11 are part of its Travis test suite. It installs the module with the same name, so nothing else changes.
According to the developer, the JVM cannot be started twice in the same process (so start, kill, start -> doesn't work).  So the only clean way of using javabridge is to have the user call a function to kill the VM before trying to exit Python. It sort of sucks, but it seems to be the only way.
The advantage of BioFormats in MATLAB is that it runs in MATLAB's JVM.
In your C++ interface, the JVM is started upon first use, and not explicitly killed, I presume it is automatically killed upon process termination.
In Python, we would be relying on this 3rd party package that doesn't let Python terminate until the JVM is killed, and cannot be killed by atexit because that only runs when Python terminates, which it cannot do.
I much prefer using DIPjavaio, if the path thing on Windows can be solved neatly.

It's not just a problem under Windows; in Linux (and OSX?) as well if we distribute binaries without RPATHs. I'm thinking about just getting the discovery code from python-javabridge and using that. It's BSD-licensed. What do you think?

I'm fine with that. Just add an entry in the list of included code in the README.md file.

Could you give d74ee7c a spin? It seems to work for Windows and Linux (at least my versions, with my Java versions, etc., etc.)

I need to change the import statement to:
import PyDIP.loadjvm as loadjvm

otherwise it doesn't find the loadjvm module.
With that change, it checks a whole lot of directories and finally finds the right one. It also produces these two lines:
Exception ignored in: <generator object suggest_javahome at 0x1191100d0>
RuntimeError: generator ignored GeneratorExit

I committed eb936dc (but forgot to reference this issue...), which hopefully works. With that, all three parts of this issue should be solved.
Other issues may arise when distributing binaries (such as rpaths in the Python modules), which might also be solved by preloading like this. But that is a problem for another time.

Works great!
With this commit you've completed the fix for the DLLs not being found. We've also fixed the issues with Kuwahara and AdaptiveBanana. So I'll close this issue.

I can confirm that installing the latest master works out of the box now, without any workarounds. I can also confirm that the three filters mentioned earlier (SelectionFilter, Kuwahara, and AdaptiveBanana) work properly on Windows. Thank you for the effort you put in to expand the range of platforms PyDIP functions on.
As a final note, I would recommend adding Doxygen to the list of dependencies in INSTALL_Windows.md and include this link, as this software is required for the c++ documentation, which in turn is processed by certain IDEs to generate autocompletion.

Thanks @Wicloz for testing this again!
I'll add a note to the Windows installation instructions about Doxygen. Thanks for the idea. I did not know that any IDEs would use the output of Doxygen, rather than the Doxygen comments in the header files, to help with autocompletion.


Create and/or update form data class

This is POC for creating / updating data classes for Forms in Nette applications
https://doc.nette.org/en/3.1/form-presenter#toc-mapping-to-classes
I would be happy if you find time to check if I am on right way how to do it or I am completely missing the point.
I don't really like the way how I'm finding $form in class and then its fields, but I didn't find any other way yet.
Next steps should be to find $form->onSuccess callback and change the type of second parameter ($values) to newly class created.
I would be also grateful if you give me some hint how should I test this type of rector (where new class is created and old class is also changed)

@TomasVotruba approved means it is correct way and I should continue? :)

It didn't allow me to comment so I misscliked :D It's a right way to go, just in the core: https://github.com/rectorphp/rector-nette/pull/23#discussion_r666778558

@TomasVotruba I've finished first version of FormData rector. It is working on my projects, but there are so many ways how to work with Nette Forms, I can't cover it in one PR. So if there will be some failing test with another usage, we can add some code to cover it.
Please check also PHPStan errors and mark which of them are ignore-able.

Thanks :+1:
Could you make CI green first? That way I can check it just once and merge it if everything is ok

Thanks 👍
Could you make CI green first? That way I can check it just once and merge it if everything is ok

That was my question :) some of PHPStan errors like "cognitive complexity" or "Array with keys is not allowed" would require some refactoring, but I don't want to spend time with it if some other logic in this PR is wrong...

That's a chicken egg situation :D

Ok, I'll look at it ;)

Fixed some test, ignored the rest. CI is green.
I still believe that after you read changed files you will write me how to optimally find nodes in rector. Something like: "this could be done with simple $this->nodeFinder->findWhatYouNeed()" because I can't believe this is the correct way :D

Thank you for green :green_circle:  :+1: I've added few comments

@TomasVotruba I'm done here, you can check again.

Thank you, looks good to me :clap:


Replace studlyName in HTML page title with human friendly title

i2g make:page account_info
instead of showing the page title as AccountInfo we should show it as Account Info
I can submit a PR if you think it's a good idea

bta3rif shu radd?

You'd have to handle the kebab-case on the file names as well, so it would generate account-info.ts, account-info.html, account-info.scss
It's going to be added eventually, if you'd like to submit a PR go ahead :smile:


Google Analytics Reporting API v4

It looks as though the Analytics v4 is not yet in the client. Is this easy to add?
Thanks

I failed to read all of the README. Figured it out. Thanks!

@scottious how to use v4 API? I try to read README but couldn't figure it out.

Related to the section under Generating APIs if you run this:
$ generate-api gen <output_dir> --url='https://analyticsreporting.googleapis.com/$discovery/rest'
Include like so:
require 'google/apis/analyticsreporting_v4'
I must say though I had a lot of trouble trying to get this class to execute and return the request and ended up resorting to a more simpler approach to use v4.

Thanks.


Chef::Exceptions::ValidationFailed:  Option package_name must be a kind of [String]!  You passed ["vim"].

==> default: Recipe: vim::package
==> default:   * package[["vim"]] action install
==> default:
==> default: ================================================================================
==> default: Error executing action `install` on resource 'package[["vim"]]'
==> default: ================================================================================
==> default:
==> default:
==> default: Chef::Exceptions::ValidationFailed
==> default: ----------------------------------
==> default: Option package_name must be a kind of [String]!    You passed ["vim"].

This is by design as this cookbook specifies that it requires Chef 12, which features multi-package installation support.  I'd highly suggest upgrading your Chef clients to the latest version for this and many other new features.


Use concave hull for neighborhoods

Also, for sidewalks, interpolate points every n-meters to get a better concave hull.
Be aware, that this is noticeably more expensive than the convex hull calc for dev builds, but there's no perceptible slowdown for release builds.
before:

after:

note:
This currently relies on an unmerged/unreleased PR:
I'm happy to either:

merge this and run geo from my branch (there aren't really any other relevant changes for abstreet)
wait for that PR to get merged, and then I could probably quickly wrangle out a geo release that abstreet could update to.

Fantastic, thanks! The results are seriously impressive:

this is noticeably more expensive than the convex hull calc

Noticeably sluggish on larger maps, but not bad. We could use parallelism, but it'll take a bit of detangling around the for group in partition_sidewalk_loops(app) loop. Can tackle that later, not a blocker.

merge this and run geo from my branch (there aren't really any other relevant changes for abstreet)

This one's fine by me, no need for another geo release

Sped up in 0bce76e1722d3b1eba1e557762f3ece4578db7e8


Library exception: simple fix required

Issue details: Library exception, everytime
Steps to reproduce:

From examples modify(add necessary credentials) microphone_recognition.py to run google cloud recognizer.
Run microphone_recognition.py

Alternative:
Create an instance of the PortableNamedTemporaryFile class defined in init.py
Error observed:
Traceback (most recent call last):
  File "audio_recognize.py", line 64, in <module>
    print("Google Cloud Speech thinks you said " + r.recognize_google_cloud(audio, credentials_json=GOOGLE_CLOUD_SPEECH_CREDENTIALS))
  File "/usr/local/lib/python2.7/dist-packages/speech_recognition/__init__.py", line 750, in recognize_google_cloud
    with PortableNamedTemporaryFile("w") as f:
  File "/usr/local/lib/python2.7/dist-packages/speech_recognition/__init__.py", line 1038, in __enter__
    self._file = open(file_descriptor, self.mode)
TypeError: coercing to Unicode: need string or buffer, int found

Suggested fix:
In "init.py", inside PortableNamedTemporaryFile class definition, modify line 5 in "enter" method from -
def __enter__(self):
        # create the temporary file and open it
        import tempfile
        file_descriptor, file_path = tempfile.mkstemp()
        self._file = open(file_descriptor, self.mode)     #line 5

        # the name property is a public field
        self.name = file_path
        return self

to:
self._file = open(file_path, self.mode)
System information
(Delete all the statements that don't apply.)
My system is "Ubuntu 16.04 LTS x64"
My Python version is 2.7.12
My Pip version is 9.0.1
My SpeechRecognition library version is 3.6.3
My PyAudio library version is 0.2.11
I installed PocketSphinx from source code

Hey @soumya-gk,
This should be fixed in version 3.6.5! Previously, it was always broken on Python 2.


tsconfig can't be read with some compilerOptions.baseUrl and<EMAIL_ADDRESS>

Describe the bug
Add "baseUrl": "src", to compilerOptions of tsconfig.
src/index.tsx
  Line 0:  Parsing error: Cannot read file '/users/tasogare/projects/sdc-repos/www/services/map-editor/client/services/remote-control-cloud/client/tsconfig.json'

Did you try recovering your dependencies?

It works without baseUrl, or with "baseUrl": "./".
Which terms did you search for in User Guide?

baseUrl
Environment

% npx create-react-app --info
npx: установлен 67 в 7.022s

Environment Info:

  current version of create-react-app: 4.0.1
  running from /Users/tasogare/.npm/_npx/69119/lib/node_modules/create-react-app

  System:
    OS: macOS 10.15.7
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
  Binaries:
    Node: 12.18.3 - ~/.nvm/versions/node/v12.18.3/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.8 - ~/.nvm/versions/node/v12.18.3/bin/npm
  Browsers:
    Chrome: Not Found
    Edge: Not Found
    Firefox: 72.0.2
    Safari: 14.0.2
  npmPackages:
    react:  16.13.1
    react-dom:  16.13.1
    react-scripts: 4.0.1 => 4.0.1
  npmGlobalPackages:
    create-react-app: Not Found

Steps to reproduce

(Write your steps here:)

Add "baseUrl": "src", to compilerOptions of tsconfig.
Run npm start

Expected behavior

baseUrl accepted and imports from src/features/map/index.tsx can be written as from 'features/map'.
Actual behavior

Project can't be built.
Reproducible demo

Not sure what kind of structure does your application have. I created a fresh app with cra 4.0.1 and absolute components import, and all looks fine with setting baseUrl as src:
https://codesandbox.io/s/sample-app-for-cra-issue-10410-0msiu

Not sure what kind of structure does your application have. I created a fresh app with cra 4.0.1 and absolute components import, and all looks fine with setting baseUrl as src:
https://codesandbox.io/s/sample-app-for-cra-issue-10410-0msiu

Same problem here....
After upgrading react-script my project cannot build...
I use "baseUrl": ".", and the error I receive is:
src/xxx.ts
  Line 0:  Parsing error: Cannot read file '/home/xxx/yyy/packages/website/package/packages/website/package/tsconfig.json'

Where the actual file is in /home/xxx/yyy/packages/website/package/tsconfig.json
Seems like part of the path is concatenated when it should not

Not sure what kind of structure does your application have. I created a fresh app with cra 4.0.1 and absolute components import, and all looks fine with setting baseUrl as src:
https://codesandbox.io/s/sample-app-for-cra-issue-10410-0msiu

The problem is with baseUrl. As far as I can see you don;t use it in your example

Maybe a regression from 3.2.0 ? https://github.com/facebook/create-react-app/pull/7755

@ValeryVS is it in a monorepo ?
Seems like running the build form the monorepo root works for me, but not when running it at the package level

I can confirm, that disabling eslint, for example, through craco, is a workaround for this issue.

Not sure what kind of structure does your application have.
We hava a monorepo with .eslintrc.js in root and such parserOptions

      parserOptions: {
        project: [
          // use more explic paths here, `**` globs will lead to slow lint
          './packages/*/tsconfig.json',
          './services/remote-control-cloud/client/tsconfig.json',
          './services/map-editor/client/tsconfig.json',
          './tsconfig.json',
        ],
      },

Not work well with<EMAIL_ADDRESS>


feat(demo): demos update

Description
examples update.
basic:

battery
brick-button
button
icon-font

date-entry:

checkbox
picker-view
silder

feedback:

swipeout

navigation:

tab-bar

presentation:

collapsible
divider
linear-gradient
tylist-item

Type of change
Please select the relevant option.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

Codecov Report

Merging #104 (34d1d73) into master (5b0738d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #104   +/-   ##
=======================================
  Coverage   90.82%   90.82%
=======================================
  Files         155      155
  Lines        7364     7364
  Branches     2021     2021
=======================================
  Hits         6688     6688
  Misses        555      555
  Partials      121      121

Continue to review full report at Codecov.

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


Texture Manifest Multiple Non-Compressed Formats

Expected Behavior
Given the following texture manifest JSON:
{
 "cacheID": "interface/sprites-0",
 "textures": [
  {"format":"COMPRESSED_RGBA_S3TC_DXT1_EXT","src":"sprites-0.s3tc.ktx"},
  {"src":"sprites-0.webp"},
  {"src":"sprites-0.png"}
 ]
}

If the S3TC format is not supported, but WebP is, it should use the WebP texture.  If WebP is not supported, it should use the PNG texture.
Current Behavior
When the S3TC format is not supported, the PNG is always used. The CompressedTextureLoader loops through the textures, and since it can't find one with a supported compressed format, it falls back to the last item without a format. Only compressed formats can be specified. In the case of the JSON above, it will always use the PNG.
Possible Solution
Allow specifying formats for all textures listed in one of these manifest files, so that multiple non-compressed formats can be specified.
Environment

pixi.js version: 6.0.2

Good idea!


Client Allocation Request for: Starry sky in Yunnan

Client Allocation Questions
Core Information

Name: Starry sky in Yunnan
Website / Social Media:  http://hlmxy.file123.pro:9006
DataCap Requested: 5TiB
Addresses to be Notarized: f3qqttrr5b6df5kjrtt6fwy3bafthqboe3aeghhqas2qiwavlxjlbdmo5xsai4s5hnam53pdiq55wsvkf52s6q

Hey @IPFS-grandhelmsman  - thanks for your request. Can you kindly add more information / context here on:

yourself , e.g. include links to social media / news mentions etc
your history working on IPFS / Filecoin, e.g. notable contributions to the community, type of engagement shown over time etc
type and source of the data you (and by extension other Discover participants) are looking to store on Filecoin, e.g. public data vs private data etc
how you intend to store the data on Filecoin, e.g. redundancy, location / miner preferences, etc

Thanks

Helmsman Team；IPFS-grandhelmsman；grandhelmsman
https://twitter.com/Helmsma07094671
https://twitter.com/grandhelmsman
http://www.grandhelmsman.com/

Participated in Trusted Setup Ceremony Phase 1 https://github.com/arielgabizon/perpetualpowersoftau/blob/master/README.md
Participate in the first phase of the testnet that started in December 2019, ID: t019125, and the final storage capacity exceeds 1PiB
PB-scale Miner Testing,E-mail submitted the relevant test plan,the email was sent to the Filecoin team, and Filecoin team members like @why @keren knew about it https://github.com/filecoin-project/devgrants/blob/master/rfps/rfp-pbscale-miner-testing.md
Selected as a member of Filecoin Security Research Fellowship by Filecoin team,@why is one of the organizers, he can prove it https://security.filecoin.io/
Participated in Trusted Setup Ceremony Phase 2 https://filecoin.io/blog/trusted-setup-complete/
Participate in HackFS, the project is called Filecoin123 https://hack.ethglobal.co/showcase/filecoin123-recBa27E4zfpHRRln
space race Participated in Space Race, and finally ranked 22nd in the world (name: Five Star-Helmsman&Heiben) Miner ID: t03176 https://spacerace.filecoin.io/
Participated in the slingshot competition, project name: 1. Starry sky in Yunnan 2. Filecoin-Crawl
Participated in Slingshot-Phase 1 Closing Ceremony https://www.youtube.com/watch?v=qheNJZ1DClM&list=PL_0VrY55uV19nu6orLLCaGCGocsjvpiGZ&index=1
Participated in Filecoin Devgrants and submitted three application project applications:
·FileWallet-Tools https://github.com/filecoin-project/devgrants/pull/107
·Filecoin-file-storage-and-retrieval-utility https://github.com/filecoin-project/devgrants/pull/106
·Filecoin123-Block-Explorer https://github.com/filecoin-project/devgrants/pull/105
PB-scale Miner Testing,E-mail submitted the relevant test plan,the email was sent to the Filecoin team, and Filecoin team members like @why @keren knew about it https://github.com/filecoin-project/devgrants/blob/master/rfps/rfp-pbscale-miner-testing.md
Participate in HackFS, the project is called Filecoin123 https://hack.ethglobal.co/showcase/filecoin123-recBa27E4zfpHRRln

We plan to store public data sets. Before that, we participated in the first phase of slingshot. Our project Starry sky in Yunnan stored public astronomical data, so this time we will store these public astronomical data sets https://github.com/filecoin-project/slingshot/blob/master/datasets.md

The underlying storage system is based on erasure codes to ensure that the underlying storage is safe and reliable. We can provide storage space for all storage needs, and users can store multiple copies.
Our node is in Shenzhen, China, miner ID: f021870

Request Approved
Your Datacap Allocation Request has been approved by the Notary
Message sent to Filecoin Network

bafy2bzacedoefn6abkjzwgv7bxfjvy6nizcpb3j4ucfljiqordnxpxuaf3hkq

Address

f3qqttrr5b6df5kjrtt6fwy3bafthqboe3aeghhqas2qiwavlxjlbdmo5xsai4s5hnam53pdiq55wsvkf52s6q

Datacap Allocated

5 TiB

Hi,
It looks like you received 5TiBs of DataCap to date but have spent less than 20% of it so far.
We would love to understand if there's anything holding you back. We are working hard to make the data onboarding process easier for clients like you and your feedback is very valuable. If you have a moment, please fill in this survey: https://forms.gle/s6AuTXZPZSMokscLA
If you have any feedback or would like to consult with an expert, please let me know.
Thanks,
João Fiadeiro
Product Manager, Large Data Client Onboarding
Protocol Labs


How to just convert my code to exe?

My code has many 3rd dependencies, the dependencies are very large (numpy,scipy,pytorch,tk...), so I just want to convert my code to exe, then execute on client machine using there virtual Python environment. then I can distribute a small zip to client machine.
How to do that, thanks.

have you looked at the documentation? https://nuitka.net/doc/user-manual.html

yes, for example, i have a.py and b.py (a.py use b.py)
If I use  nuitka a.py, then I get a.exe that still need b.py to run.
if I use nuitka --follow-imports a.py, then I get a lot of unwanted 3rd packages in final a.exe.
if I use nuitka --module a.py, I get a compiled pyd file, not exe.
maybe i missed something.

the documentation states:
The created binaries can be made executable independent of the Python installation, with --standalone and --onefile options.
this is what you're missing.

but I don't want an independent exe, it will be very large, because I use many 3rd packages.  I just need an exe include only a.py + b.py (that's my code), so can distribute a very small file to client machine, the client machine has already install a python environment.

@liuzhongshu Use this https://nuitka.net/doc/user-manual.html#use-case-5-setuptools-wheels mode, you create a wheel of your Python code, that can be installed into a Python, then use Nuitka to create compiled ones of it, they install with pip just fine and contain a runner and your code as a package compiled.

I find --include-module is more suitable for my case, any way, thanks very much

The only way of creating portable binaries is when using --module or --standalone, including modules into an accelerated executable and then running it elsewhere will sometimes appear to work, but is in no way considered supported. Good luck.


Create Mongoose Schemas

Schemas needed:

User
Request
Response?

As we think of more we can add them here.

@jbw91 user could look something like:
{
    id: '1234567',
    date_created: '12.23.34', //not necessarily critical, but could be interesting from a growth analysis perspective
    email<EMAIL_ADDRESS>    requests: [ request ids ]
    responses: [ response ids ]
}

It seems pretty simple.  Is there something I'm missing?

And actually, I'm trying to learn to think with the noSQL paradigm.  Maybe instead of trying to create three different collections and linking them together with ids (that sounds relational) we'd have a collection of user documents that contain all responses and requests inside of them:
{
    id: String,
    data_created: Date,
    email: String,
    requests [{
            id: String,
            target_date: Date,
            responses: [{
                id: String,
                user_id: String,
                // not sure how we'll store the actual response data---times available, etc
            }]
    }]
}

I would definitely have brought this up if you hadn't yourself. I'm not sure if we'd want to have the requests and responses inside of a user, we could probably have a user collection and then a requests collection which we can query by username/id. Although I could definitely see us keeping the requests inside of a user, I don't initially think that would be problematic. We could run some benchmarks when we've got something put together. But definitely having responses inside of the requests is better. Responses never need to be standalone.

Leaving this issue open for now because there is still need to define the response object, plus verify that we don't want other attributes on a user.

@drewctate @mountain01 @sttracy4 @gshigeto suddenly not sure about having the requests and responses inside of a user. Maybe something more like this?
/* User Collection */
{
  "userId": "String",
  "username": "String",
  "dateCreated": "Date",
  "email": "String"
}

/* Requests Collection */
{
  "userId": "String",
  "dateCreated": "Date",
  "targetStartDate": "Date",
  "targetEndDate": "Date",
  "title": "String",
  "description": "String",
  "location": "String",
  "invitees": ["String"],
  "responses": []
}

Because we don't want to get back the whole user every time for every request. I think that's overkill. What do you all think?


Unhandled exception with impersonation

The issue remains from Frends.File:
https://github.com/FrendsPlatform/Frends.File/issues/14
TL;DR: "Use given user credentials for remote connections" does not work when targeting core or standard.

This has been fixed with updating the SimpleImpersonation library. Now this feature is compatible on .NET6. However, like the old version, SimpleImpersonation is only supported on Windows. This means that It's not a Crossplatform feature.


Add MaxOutboundConnections to ConnectionManagerSettings

This PR:

adds MaxOutboundConnections to the ConnectionManagerSettings class.
updates the default configuration file.
updates command-line help.

Nice work!
Can you please just make maxOutboundConnections all lower case please?

Ok done. Missed that lol.


Enhancing the /upload_notes page

I want to work on the front end of this page https://wecreate.pythonanywhere.com/upload_notes. Including a custom file upload button, beautifying the form and complete layout. Can you assign this to me for JWOC ?

@djm-1 I am assigning this issue to you.
Please add the relevant labels to this issue

@djm-1 I am assigning this issue to you.
Please add the relevant labels to this issue

Thank you

Thank you

I have created the PR. https://github.com/chiraag-kakar/sharenlearn/pull/20

I have created the PR. https://github.com/chiraag-kakar/sharenlearn/pull/20


Errors: "bad escape \m at position 3" and "[WinError 183] Cannot create a file when that file already exists"

Had the first mentioned error and once fixed, had the second. Used ChatGPT to troubleshoot and fix both so someone may want to review. Sorry I don't know the etiquette or process here but wanted to give my fixes in case anyone else would benefit.
First error
bad escape \m at position 3

Traceback (most recent call last):
  File "_path to track.py_", line 190, in download_track
    c = len([file for file in Path(filedir).iterdir() if re.search(f'^{filename}_', str(file))]) + 1
                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\re\__init__.py", line 177, in search
    return _compile(pattern, flags).search(string)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\re\__init__.py", line 307, in _compile
    p = _compiler.compile(pattern, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\re\_compiler.py", line 745, in compile
    p = _parser.parse(p, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\re\_parser.py", line 979, in parse
    p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\re\_parser.py", line 460, in _parse_sub
    itemsappend(_parse(source, state, verbose, nested + 1,
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\re\_parser.py", line 544, in _parse
    code = _escape(source, this, state)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\re\_parser.py", line 443, in _escape
    raise source.error("bad escape %s" % escape, len(escape))
re.error: bad escape \m at position 3

Solution for first error
In line 190 of the file track.py (wherever you installed Zotify to, can use the program Everything to find easily on Windows):
Replace
c = len([file for file in Path(filedir).iterdir() if re.search(f'^{filename}_', str(file))]) + 1
with
c = len([file for file in Path(filedir).iterdir() if re.search(fr'^{re.escape(str(filename))}_', str(file))]) + 1
Second error
[WinError 183] Cannot create a file when that file already exists: '_path to audio file_' -> '_path to other audio file_'

Traceback (most recent call last):
    File "_path to track.py_", line 270, in download_track
        Path(filename_temp).rename(filename)
    File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\pathlib.py", line 1363, in rename
    os.rename(self, target)
FileExistsError: [WinError 183] Cannot create a file when that file already exists: '_path to audio file_' -> '_path to other audio file_'

Solution for the second error
In line 269 of same the track.py file:
Replace
Path(filename_temp).rename(filename)
with
if Path(filename).exists():
    # Decide how to handle the existing file
    # For example, delete it or rename filename_temp differently
    Path(filename).unlink()  # Example: delete existing file
    Path(filename_temp).rename(filename)  # Rename filename_temp to filename
else:
    Path(filename_temp).rename(filename)  # Rename filename_temp to filename

I recommend to not follow chatGPTs advice.
doing the first causes some songs to keep their temporary name ._1.mp3 which then causes the other issue.
I haven't looked further into the second error but have my doubts that it properly fixes the issue and renames the file


add some logging to uggp to see wtf is up

The workspace is not the correct workspace type. Failed to execute (Compress).

I will remove the logging once we figure out what the deal is.
I ran the code in arcmap python and the result messages passed.

Executing: Compress C:\Python27\ArcGIS10.3\Lib\site-packages\forklift-garage\UGGP\sde<EMAIL_ADDRESS>Start Time: Wed Oct 19 11:13:43 2016\nSucceeded at Wed Oct 19 11:14:02 2016 (Elapsed Time: 18.71 seconds)

:+1:


Required Property

Environment

Application Services Version:  3.24.0 build 5
BIG-IP Version: 15.1.2 build 0.0.9

Summary
When processing an call with the ?show=expanded I get a 422 unprocessable entity.
Steps To Reproduce
Steps to reproduce the behavior:

Submit the following declaration:

{
    "class": "ADC",
    "schemaVersion": "3.24.0",
    "id": "urn:uuid:33045210-3ab8-4636-9b2a-c98d22ab425d",
    "label": "AWS Service Discovery",
    "remark": "Simple HTTP application with a pool using AWS service discovery",
    "ASG": {
      "class": "Tenant",
      "A1": {
        "class": "Application",
        "service": {
          "class": "Service_HTTP",
          "virtualAddresses": [
            "<IP_ADDRESS>"          ],
          "pool": "web_pool"
        },
        "web_pool": {
          "class": "Pool",
          "monitors": [
            "http"
          ],
          "members": [
            {
              "servicePort": 80,
              "addressDiscovery": "aws",
              "updateInterval": 1,
              "tagKey": "foo",
              "tagValue": "bar",
              "addressRealm": "private",
              "region": "us-west-2-lax-1",
              "accessKeyId": "xxxxxx",
              "secretAccessKey": "xxxxx",
              "credentialUpdate": false
            }
          ]
        }
      }
    }
  }

Observe the following error response:

{
    "code": 422,
    "errors": [
        "/ASG/A1/web_pool/members/0: should have required property 'accessKeyId'"
    ],
    "declarationFullId": "urn:uuid:33045210-3ab8-4636-9b2a-c98d22ab425d|AWS Service Discovery",
    "message": "declaration is invalid"
}

Expected Behavior
I would expect a 200 ok
Actual Behavior
It appears that the system cannot connect with the creds provided.

I have confirmed the bug and added it to our internal product backlog as AUTOTOOL-2140. Thank you for reporting the issue.

I have confirmed the bug and added it to our internal product backlog as AUTOTOOL-2140. Thank you for reporting the issue.


Select Error in Entityframework  core 3.1.2

An error will occur  when selct into a complex object "EF.Property called with wrong property name"

@hejiajun107 Please attach a small, runnable project or post a small, runnable code listing that reproduces the behavior you are seeing so that we can investigate.


Description should be configurable for Report Portal for the consumers of teswiz

Currently, the description for ReportPortal is being set in Setup.java like this:
System.setProperty("rp.description", configs.get(
                APP_NAME) + " End-2-End scenarios on " + currentPlatform.name());

If the consumer, want to change this to something else or don't want "End-2-End scenarios" as they may be dealing with component, contract test, there's no way which currently exist. We need to make "rp.description" configurable so that consumers can set this property on their own. If they're not setting, then the same value defined above should be used.

you can try with this teswiz id: fb7da47c28
@grover-ankit11
You can now provide the custom description in config.properties:
RP_DESCRIPTION=custom description
See changes done here:
https://github.com/znsio/teswiz/commit/fb7da47c288592e2fefb76a507a96e7832bcceb7

fixed in https://github.com/znsio/teswiz/commit/fb7da47c288592e2fefb76a507a96e7832bcceb7


Fix two re-rendering regressions

This PR fixes two re-rendering regressions I introduced with the 2.15.0 refactorings:

A forgotten shallow caused unnecessary re-renders in useThreads and useInboxNotifications
The useInboxNotifications only got re-rendered when threads changed (not when only notifications changed)

I found these after doing more cleanup (removing the noise made these issues stand out). I'm going to open a separate PR for that cleanup work, but wanted these fixes to stand out from that noise.

Did a test catch the regression?

Nope! These were found after I cleanup things and by removing the noise the bug became apparent.
Thinking about it more, actually I don't think technically it's a bug in 2.15.0 after all, as in practice, we're still invalidating the entire umbrella store whenever any resource updates, so technically this isn't a bug yet. But one of the refactoring goals still is to only update rerender a resource when that resource changes, so it would show up as a bug once we make that change.


RN v0.58.3 Unable to resolve module Subscribable,it path changed?

In RN v0.58.3 the module Subscribable's path changed ?why it not in node_modules/React-Native/Libraries/Components/?
Environment

React Native Environment Info:
System:
OS: macOS High Sierra 10.13.4
CPU: (8) x64 Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz
Memory: 27.82 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 11.6.0 - /usr/local/bin/node
npm: 6.7.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
Android SDK:
API Levels: 22, 23, 24, 25, 26, 27, 28
Build Tools: 23.0.1, 23.0.3, 27.0.3, 28.0.3
System Images: android-28 | Google APIs Intel x86 Atom
IDEs:
Xcode: /undefined - /usr/bin/xcodebuild
npmPackages:
react: ^16.6.3 => 16.7.0
react-native: ^0.58.3 => 0.58.3
npmGlobalPackages:
react-native-cli: 2.0.1
Description

Just upgrade RN to 0.58.3 from 0.38 to solve other problem，but now I have more problems。。。

Reproducible Demo

Yes, this module is not part of RN any longer. Please find an older release of React Native and copy the source file into your own project.


A smattering of small UMP improvements

Despite this PR having 50+ changed files, I'm really not changing much.
What's this PR do?

Cleans up GTM event logging
Creates reusable components for "contact us" text
Adds a global mixin for date utilities (dates.thisYear and dates.lastYear, for now)
Makes it so all slots have descriptive names
Puts all import statements in a consistent order
Makes message components more robust/reusable

Why are we doing this? How does it help us?
This is the final bit of UMP maintenance I'll be tackling this quarter. I've done this all to ensure the app is ready to take on a bunch of new features later this year.
How should this be manually tested?
make, make restart, then just click around /account/ and see if anything looks amiss.
How should this change be communicated to end users?
No user-facing changes.
Are there any smells or added technical debt to note?
Less.
What are the relevant tickets?
https://3.basecamp.com/3098728/buckets/736178/todos/2417405467
Have you done the following, if applicable:

[ ] Added automated tests?
[ ] Tested manually on mobile?
[ ] Checked BrowserStack?
[ ] Checked for performance implications?
[ ] Checked accessibility?
[ ] Checked for security implications?
[ ] Updated the documentation/wiki?

WFM! This is looking super clean ✨


Switch trackColor not working

Switch trackColor true value and default string value not working changing color but false value working when changing to this:
 <Switch
 initialValue={false}
 trackColor={{true: 'white', false: 'green'}}
 thumbColor={'black'}
 onChange={() => Alert.alert('switch')} />

You are unable to change the true color value because
its value could be only one of these
'primary',  'theme', 'error',    'warning',   'success',  'info',

fixed it and merged into dev branch