Ability to asynchronously stream binary results similarly to FileResult

It appears that with the current object model, specifically HttpRequestData.Body the result becomes buffered in memory before being sent to host?
Is there any plan to support asynchronous streaming support similar to FileResult in ASP.NET Core with the option to close the original stream?
#884
Out of proc languages stream support

That is not supported today, but something that we're already tracking as an enhancement for all OOP languages. I don't have an ETA at this point, but when the capability is made available, we'll have an announcement here


Request for CKF.

Hello.
Do you have any plans to implement 3-CKF or 5-CKF.
For example as in
https://github.com/irvingzhang/KalmanFiltering
https://github.com/haransll/Lidar_Radar_Tracking_using_CKF
https://github.com/korken89/Comparison-of-UKF-CKF-EKF
https://github.com/Piyush3dB/ckf-matlab

A CKF implementation is would be a great addition and is certainly somewhere on the todo list, but not with a high priority right now. A contribution of a high-quality CKF implementation would be greatly appreciated as well.


(Feature request) Timed bans

Having bans that last X amount of time would be useful.

not possible atm


ADF deployment scripts should be changed to use Az instead of deprecated AzureRM

The scripts in this document for pre- and post installation tasks of an Azure Data Factory deployment via Azure DevOps use AzureRM which is deprecated since Feb 2024, resulting in warnings when using them in DevOps. Can you migrate them to Az please?

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

ID: 36b2d75a-07c4-75b6-32d3-6e7dd78683f7
Version Independent ID: 57d29c39-e05f-b95d-de80-d81686935fc0
Content: Continuous integration and delivery pre- and post-deployment scripts - Azure Data Factory
Content Source: articles/data-factory/continuous-integration-delivery-sample-script.md
Service: data-factory
Sub-service: ci-cd
GitHub Login: @nabhishek
Microsoft Alias: abnarain

@HaraldRau8
Thank you for bringing this to our attention.
I've delegated this to content author @nabhishek, who will review it and offer their insightful opinions.

@nabhishek
Could you please review add comments on this, update as appropriate.

Hi @HaraldRau8, and thanks for your question. I checked, and the PrePostDeploymentScript.Ver2.ps1 appears to be using the Az PowerShell module, not AzureRM. I do see the Azure Powershell installation instructions still reference the old AzureRM (for backward compatibility since some customers may still be using it) but also refers to the Az module and also has a link discussing issues of coexistence if both modules are installed simultaneously. Is there a specific line in the script that uses AzureRM? I couldn't find any. Or could it be possible you've been using an older version of the script?
Since this issue in the docs appears to be resolved already, I will go ahead and close it out. However, we can continue the discussion here in this thread if necessary, even after the issue is closed.  #please-close

@jonburchel i am using PrePostDeploymentScript.ps script for starting and stopping trigger and i am getting below 2 warnings.
WARNING: Both Az and AzureRM modules were detected on this machine. Az and AzureRM modules cannot be imported in the same session or used in the same script or runbook. If you are running PowerShell in an environment you control you can use the 'Uninstall-AzureRm' cmdlet to remove all AzureRm modules from your machine. If you are running in Azure Automation, take care that none of your runbooks import both Az and AzureRM modules. More information can be found here: https://aka.ms/azps-migration-guide
##[warning]You're using AzureRM which will be retired soon, please schedule an update.
Could you please  suggest how can i debug ths warning as i cannot find AzureRM commands in script?

Hi @HaraldRau8,
I believe you can resolve this issue by running the Uninstall-AzureRm command from PowerShell. However, since this is not a docs issue, if it persists, please open a free support incident from the Azure Portal's main page by selecting the main menu on the top left and then choosing Help + Support to get started. One of our support engineers will follow up with you then to help resolve it.
Thank you!
Jon


Add support for --prefer-source Composer argument

Note: this didn’t actually solve the problem below for me (as --prefer-source failed and fell back to dist, I’m looking into why - I think it may be a caching thing), but I thought this might be worth proposing anyway.
--
Problem: I have two packages, lets say Package A and Package B. Package A has a tests/TestCase.php, Package B depends on Package A and Package B’s test classes extend Package A’s TestCase:
// ./package-a/tests
class TestCase extends SapphireTest {
}

// ./package-b/tests
class SomeTest extends TestCase {
}

N.b: I’m not sure if this is a strange pattern? Doesn’t seem unreasonable to me...
If Package A has a .gitattributes that excludes the tests directory from exports, then composer install --prefer-dist will not include that directory either, so Package B’s tests will fail as TestCase doesn’t exist.
This PR adds the option to use --prefer-source for Composer installs, which clones the git repo so will include everything (it defaults to the current behaviour of --prefer-dist).

[Current coverage][cc-pull] is 100%

Merging [#35][cc-pull] into [master][cc-base-branch] will not change coverage

@@           master   #35   diff @@
===================================
  Files           1     1
  Lines         115   115
  Methods        12    12
  Messages        0     0
  Branches        0     0
===================================
  Hits          115   115
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last updated by [b49a345...17763e3][cc-compare]
[cc-base-branch]: https://codecov.io/gh/silverstripe-labs/silverstripe-travis-support/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/silverstripe-labs/silverstripe-travis-support/compare/b49a34568f130d4d19b832cf6ebdffd91229ade4...17763e3e1a40b821c756330bf2670b129ca38160?src=pr
[cc-pull]: https://codecov.io/gh/silverstripe-labs/silverstripe-travis-support/pull/35?src=pr

This patch seems completely reasonable though i suspect you problem is the prefer-stable setting :/


What should be returned from filterSuggestions when using multiSection={true}

Hi,
When not using multiSection, filterSuggestions should return a boolean indicating whether to show the suggestion.
My question is what should filterSuggestions return when using multiSection?
Thank you.

I have the same question as above.

I have the same question as above.


⚠ Samsung has degraded performance

In 28b76b2, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 3169 ms

Resolved: Samsung performance has improved in 5c8a573.


Kiali installed by default in Istio 1.1.1

In our doc we describe how to setup Kiali
https://redhat-developer-demos.github.io/istio-tutorial/istio-tutorial/1.1.x/3kiali.html#istioconf
But the service is in by default, just needs a Route or a NodePort

The document shows how to update the default Kiali installation to see Jaeger and Grafana. Note that the informed object is a ConfigMap.


Py-Redis-Cluster unable redirect read to replica(s)

Hello everybody,
I'm making a cluster with single replica for each master.
For write, I will redirect it to master nodes; for read I redirect to replica nodes. For standalone redis, it's very simple. But in cluster, how do I perform it since all read and write always redirect to master nodes
cluster_replicaNodes = [a list slave's ips...]

def get_slaves():
    return RedisCluster(
        password="mypasswordisweak",
        startup_nodes=cluster_replicaNodes,
        readonly_mode=True,
        decode_responses=True,
    )

cluster_masterNodes = [a list master's ips...]

def get_master():
    return RedisCluster(
        password="mypasswordisweak",
        startup_nodes=cluster_masterNodes,
        decode_responses=True,
    )

The result of several hundred reads

@pnthai88 I do not even get what you want to do with your initial code, reading from replica nodes is not how that feature works, you can't just send in a list of the slave nodes into the class constructor and expect it to only use those nodes. Even in that case the client class will query all the nodes you provided and still figure out all the master nodes and still do what the client is designed to do. If you want a working example of how reading from replicas work you should look at this example instead https://github.com/Grokzen/redis-py-cluster/blob/master/examples/pipeline-readonly-replicas.py as it shows how it really works. There is a mess in how there is essentially two options with read_from_replicas and readonly_mode and how to use them. But follow that example and it should start working for you.
The mentioned code change will not be implemented tho as that is not the solution to your problem, using read_from_replicas=True is.


Credential ID lookup does not include credentials in Cloudbees folders

When running jobs in folder, credentials defined in the folder are not found, only credentials defined in the root credentials store. Possibly because StandardSlackService is using Jenkins.get() for Credential lookup instead of maybe something like the parent item of the current job.

Starting with v2.4, there was a change to what credentials would appear in the listBox for FreeStyle jobs merged with this pull request:
https://github.com/jenkinsci/slack-plugin/pull/372/files
After the change, the plugin began using the context of the job for populating the available credentials in the listBox rather than the overall scope of the Jenkins instance. As @krajewf mentioned, in the StandardSlackService the lookupCredentials call is still referring to the top level scope of Jenkins Jenkins.get() to find credentials, so it doesn't find any folder level credentials at runtime even if the user was able to select it in the job configuration.
https://github.com/jenkinsci/slack-plugin/blob/8b04f771fdf8ee565bedbb9843a911552a9fd8e6/src/main/java/jenkins/plugins/slack/StandardSlackService.java#L202
I believe a similar change is needed here to use the context of the job in the credential lookup.

Fixed in https://github.com/jenkinsci/slack-plugin/pull/541


(Dialog) Component-less alert and confirm dialogs

Feature Description
My proposal is to create one or two methods on the MatDialog provider/controller to allow component-less alert and confirm dialogs, for example:
// Alert dialog
this.dialog.alert({
    title: 'Forbidden',
    message: 'The resource you are trying to access is forbidden.',
    okButton: 'OK'
})

// Confirm dialog
this.dialog.confirm({
    title: 'Server error',
    message: 'The server is currently in maintenance.',
    confirmButton: 'Retry',
    cancelButton: 'Cancel'
})

Alternatively, both alert and confirm could be on a single method:
this.dialog.alert({
    title: 'The title',
    message: 'The message',
    confirmButton: 'OK', // Optional, only for confirm
    dismissButton: 'Dismiss'
}).afterClose().subscribe((result: boolean) => console.log); // True if confirm, false if dismiss.

Use Case
Currently, we have to create a component for every dialog, event the simplest dialog. This is painful and useless in most cases. Other alternatives (what I do) is to create a AlertService that does it for me. But makes no sense maintain it if it could be a simple feature of MatDialog

I would love to have this feature, it always confused me that we had to do it like that as default, always thought using your own component should be the optional feature not default behavior, anyway they've done great work so far.

For reference the old angular material had a few standard dialogs plus the ability to create custom dialogs.
In the material design site you can also see "standard" dialogs.
https://material.angularjs.org/latest/demo/dialog
https://material.io/components/dialogs#usage

@MikaStark I don't think it's about difficulty but convenience or DX. Most likely a lot of projects will alert, confirm and prompt users. Having to rebuild the same custom modals repeatedly when there can be one implementation based on the material spec is not the best way to go I believe.
Not saying it's an absolute must but would be incredibly helpful and convenient to use standardized dialogs.
Also I linked the 2 projects above which did have this feature. Since this project is trying to make material components easy for angular developers to use, some standard features of the original library would be great to have, this is supported in mdc why not support it in angular too?


build: use clang-6.0.

Risk Level: Medium (we're dropping support for CentOS build iamge).
Testing: Successful build using new image.
Docs Changes: n/a
Release Notes: n/a
Closes #3937.
Signed-off-by: Piotr Sikora<EMAIL_ADDRESS>

Note: this is the follow-up to #4157, so it won't build before the other one is merged.

Also, I've split actual changes (1st commit) from the fix_format to ease the review, so feel free to review only the 1st commit.

Tests passed, this should be good to merge. Thanks!


异常清洗中的移除不可见字符

对CSV文本数据进行处理，目前已实现异常清洗中的移除不可见字符

@wangxinbiao 有没有一些通用的python lint测试可以加进来？

# Copyright 2023 KubeAGI.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

add copyright.

@ ggservice007 Please review.

@wangxinbiao 有没有一些通用的python lint测试可以加进来？

目前没有

# Copyright 2023 KubeAGI.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

add copyright.
If you want auto add copyright, kubernetes has one python file for do this: https://github.com/kubernetes/kubernetes/blob/master/hack/boilerplate/boilerplate.py

@wangxinbiao 社区代码需要把这个license放在每一个python文件开头的位置


EEP: SPI Separation for Compatibility Contract

This is another new "retrospective" EEP to explain the concept of the "Embulk SPI", and how we did the separation.
Read the rendered version at:
https://github.com/embulk/embulk/blob/eep-spi/docs/eeps/draft-spi.md

Thanks! Finalizing this as EEP-10 to be Final.


fix(DataTableSkeleton): headers prop can now be array of objects to match DataTable

Closes IBM/carbon-components-react#1963
Right now the headers prop for the DataTableSkeleton can only be an array of strings, whereas the headers prop for the DataTable is required to be an array of objects.
This change will allow the DataTableSkeleton to accept an array of strings (so as not to break existing usage) and an array of objects (to match DataTable and resolve #1963).
Changelog
Changed

headers prop for DataTableSkeleton can now accept array of objects as well
if you pass headers as an array of objects to DataTableSkeleton, it will create a new array of "normalized" headers (just an array of strings) to match existing component structure

Hey @emyarod thanks again for the review; I really appreciate your time! I made the changes you suggested above. Let me know what you think! 👍


Separate "ImagePrior" from "ImageDecoder"

This closes #356

[ ] Retrain sleep phase to fix error on prediction
[ ] Any flake8, pylint errors


Dropdown positioning breaks after scrolling the page

Describe the bug
After scrolling down on a page the positioning of dropdown menus is incorrect.
To Reproduce
Steps to reproduce the behavior:

Go to https://dogehouse.tv/scheduled-rooms
Scroll down so the top card is no longer visible
Click on the calendar button for the second card
Dropdown menu is positioned incorrectly

Expected behavior
The dropdown menu should be beside the calendar button that was clicked
Screenshots

What device are you on?
Google Chrome 89.0.4389.114
Macbook Pro 16-inch (2019) - macOS 10.15.7
Additional context
It seems related to using the fixed class in the DropdownController:
https://github.com/benawad/dogehouse/blob/staging/kibbeh/src/ui/DropdownController.tsx#L51

bump, still happening for me

Fixed by https://github.com/benawad/dogehouse/commit/ac70ced30a7f967979715a98a47ea2ac92f3344d


Injection location

This is indeed a very interesting job. I have a small question to ask: in the process, do you add the injection to the user query or to the tool's returned results?

Hi, thank you for your interest in our work! We add the injection to the tool's returned results. I hope this clarifies your doubts, but feel free to ask more questions in case something is not clear!

Thanks for your reply! Could you please tell me how you determine which return position to inject? It seems that the paper doesn't explain it? (Or maybe I overlooked it)

We inject the positions where some pre-determined placeholders are. For example, in the workspace environment, in the calendar, there are some placeholders all over the place (e.g., here, here, here, and more). The placeholder is replaced with the attack generated by the attack function for the desired injection task. Does this solve your doubts? This is indeed something that we can clarify better in the paper.

Thank you for your answer. What I want to ask is that the agent generally takes multiple actions. In this work, how do you determine at which link to inject?

No problem! Could you please clarify what do you mean by "at which link to inject"?

sorry, it should be "in which action".

Excuse me, I have one more question. Could you please clarify whether the execution of the tool in agentdojo is based on actual operations or simulated according to predefined rules

Thanks for your answer, so you didn't really implement indirect prompt injection in real-world scenarios?

No problem! It depends on what you mean by "real-world scenarios". We did not use real APIs for several reasons (e.g., observability, reproducibility, ethics of attacking a real-world product), but we really did our best to implement the tools to have as realistic APIs as possible, and created realistic data with realistic requests, and placed the injections in realistic places (i.e., in text fields controlled by untrusted third parties, such as received emails, calendar event descriptions, hotel reviews)


Add composition functions for WhereApplier

Coverage remained the same at 100.0% when pulling bb30719917508c8a88d010660b87bcb35c98ddef on jeffgbutler:master into 0fb1b4f6df9ab2e20c570c8437a1996db63ff19e on mybatis:master.


set ics calendar title

quote @nicksellen in https://github.com/yunity/karrot-frontend/issues/2334#issuecomment-963379067

One thing I did notice is that the calendar title got set to the URL path, I guess because it's not set in the code:

we could give the calendar a name.
btw also we could add other bits of metadata there, if we want

i would set this name to the name of the place / group, or just "Karrot" if none of them is passed
its not clear to me how i can access the instances of Place / Group that we are filtering by (i believe those do not even need to be fetched from the database to render this view currently)
anyone know how to do this cleanly in drf?

this pr shows what the problem is: https://github.com/yunity/karrot-backend/pull/1198


New worker request:

Username
onder
GitHub username
No response
Name
riscv64
Email address
<EMAIL_ADDRESS>Password status
I need a new owner password
Processor architecture
riscv64
Operating System
Ubuntu 23.10 riscv64
Anything special about the worker?
No response

Hi @furkanonder.  I'm on board with getting this added, but haven't yet found the chance to make the changes to do so.  Would you mind making a PR for this?  #404 should be a reasonable template to follow.

What's the status of riscv64 support in Python? Does Python build? Does the full test suite pass?
If Python doesn't build or if some tests are failing, are you going to propose fixes?

There is a project to add the RISC-V architecture to Fedora: https://fedoraproject.org/wiki/Architectures/RISC-V Currently, they are using their own build server: http://fedora.riscv.rocks/koji/ I looked for "python3.12" and I found a recent log: http://fedora.riscv.rocks/kojifiles/packages/python3.12/3.12.2/1.fc40/data/logs/riscv64/build.log
Oh, great, the package builds successfully and all tests pass in 22 min!
== Tests result: SUCCESS ==

10 slowest tests:
- test.test_multiprocessing_spawn.test_processes: 5 min 8 sec
- test.test_multiprocessing_forkserver.test_processes: 2 min 59 sec
- test_tarfile: 2 min 43 sec
- test_regrtest: 2 min 41 sec
- test.test_multiprocessing_spawn.test_manager: 2 min 41 sec
- test.test_multiprocessing_spawn.test_misc: 2 min 18 sec
- test_socket: 1 min 57 sec
- test_multiprocessing_main_handling: 1 min 49 sec
- test.test_asyncio.test_ssl: 1 min 43 sec
- test_lib2to3: 1 min 38 sec

17 tests skipped:
    test.test_asyncio.test_windows_events
    test.test_asyncio.test_windows_utils test.test_gdb.test_backtrace
    test.test_gdb.test_cfunction test.test_gdb.test_cfunction_full
    test.test_gdb.test_misc test.test_gdb.test_pretty_print
    test_devpoll test_ioctl test_kqueue test_launcher test_msilib
    test_perf_profiler test_startfile test_winconsoleio test_winreg
    test_wmi

12 tests skipped (resource denied):
    test_curses test_ossaudiodev test_smtpnet test_socketserver
    test_tix test_tkinter test_ttk test_urllib2net test_urllibnet
    test_winsound test_xmlrpc_net test_zipfile64

459 tests OK.

Total duration: 22 min 44 sec
Total tests: run=41,785 (filtered) skipped=1,385
Total test files: run=476/488 (filtered) skipped=17 resource_denied=12
Result: SUCCESS

In that case, I'm fine with adding a buildbot.
@furkanonder: Tell me if you need help to create a PR to add a worker. See @zware's comment.

but haven't yet found the chance to make the changes to do so.

I was following the Devguide's Buildbot Section and didn't notice any template sections. Thank you for your comment!

What's the status of riscv64 support in Python? Does Python build? Does the full test suite pass?

Buildbot's details:
OS: Ubuntu 23.10 riscv64
Host: StarFive VisionFive 2 v1.3B

Configuration: ./configure --with-pydebug
Output: configure-output.txt
Build: make -j
Output: make-output.txt
Test: ./python -m test -j4
Output:
== Tests result: SUCCESS ==

13 tests skipped:
    test.test_asyncio.test_windows_events
    test.test_asyncio.test_windows_utils test_devpoll test_ioctl
    test_kqueue test_launcher test_msvcrt test_perf_profiler
    test_startfile test_winapi test_winconsoleio test_winreg test_wmi

10 tests skipped (resource denied):
    test_curses test_peg_generator test_smtpnet test_socketserver
    test_tkinter test_ttk test_urllib2net test_urllibnet test_winsound
    test_zipfile64

449 tests OK.

Total duration: 30 min 22 sec
Total tests: run=43,108 skipped=1,640
Total test files: run=462/472 skipped=13 resource_denied=10
Result: SUCCESS
ubuntu@ubuntu:~/cpython$

Full Output: test-output.txt

If Python doesn't build or if some tests are failing, are you going to propose fixes?

Yes, I will do my best.

@furkanonder: Tell me if you need help to create a PR to add a worker. See @zware's comment.

I created a PR to add a worker. Can you review it?


How to get segment from an activity stream?

First, great library – glad I found this! Thank ya'll.

I want to get the segment ID from a specific time that I pull via activity stream of an auth'd user. I don't see a way to pull the segment via an activity stream (it'd be great if that was a type provided by API). Is this possible?

I believe I can pull all segment efforts per https://groups.google.com/forum/#!searchin/strava-api/segments$20from$20streams|sort:date/strava-api/XtqpKBssXuI/hi5SgcWKmhEJ – but I'm not sure how to do this? It's possible this may have changed since that thread was from 4 years ago. The bigger question is, is it possible to pull any streams from users who didn't auth the app? I'm mostly curious on pulling data from other users and cross referencing.

I'm really only interested in my question to 1 so I can use the segment ID to pull a stream from other users who have recently ridden a segment... but it's possible none of this is doable.
Thank you!

Hi,
I'm not sure what your intent is with your first question. What do you mean with a segment ID from a specific time?
Second. This might help:
activity_segments = client.get_activity(567288259, include_all_efforts="True").segment_efforts
replace 567288259 with the activity you'd like to get the segments from.
If you then run a for loop over the segments, you can get segment information. If you, for instance, want the segment id:
for segment in activity_segments:
    segment_id = segment.segment.id
Cheers,
Pieter


Use WebDriver capabilities config in wdio plugin

Currently the wdio plugin isn't passing in all the arguments it can and should according to the launcher construction method signature as specified by webdriverio. This PR seeks to rectify that.
Fixes #1868

Makes sense. Thank you!


nghttp2: 1.16.1 -> 1.17.0

Motivation for this change
v1.17.0 fixes crashes, issue with memcpy and compilation with BoringSSL
Things done

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

[x] NixOS
[ ] macOS
[ ] Linux

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

See release notes :
https://github.com/nghttp2/nghttp2/releases/tag/v1.17.0

$ nix-build --expr 'with import <nixpkgs> {}; callPackage ./localnixpkgs/pkgs/development/libraries/nghttp2/default.nix {}'
was successful and created the derivation /nix/store/1r7qclqb7rbl16hdlmbw0ijpa1vznl61-nghttp2-1.17.0
$ nix-build --expr 'with import <nixpkgs> {}; callPackage ../localnixpkgs/pkgs/development/libraries/nghttp2/default.nix { openssl=pkgs.openssl_1_1_0; libxml2=pkgs.limxml2; jansson=pkgs.jansson; jemalloc=pkgs.jemalloc; }'
was successful and created the derivation /nix/store/ybnfgsa5f27l6clmbfccj4a5a2s70ks0-nghttp2-1.17.0
Building on 16.09-small

$ nixos-version
16.09.1240.c43a79e (Flounder)

Staged.

Hello,
Looking back at the nghttp2 Nix definition : the postPatch action is not needed anymore since it has been patched upstream a long time ago. See :

https://github.com/nghttp2/nghttp2/commit/e2c0a3e43b294715aad29528d975472071face40
https://github.com/nghttp2/nghttp2/blob/v1.17.0/configure.ac#L420

I also noticed that the optional dependencies [ jansson boost libxml2 jemalloc ] will never be used even if passed as arguments. They are not added to the build inputs if not null.
@vcunat you can judge if the correction (and another mass-rebuild) is worthwhile at this point.

Thanks to some canonicalization during evaluation, it's only mass-rebuild on Darwin and Hydra's currently idling on that platform.

I tried to get rid of curl in the darwin stdenv a while ago, but cmake does not want to build without it.

@vcunat
I'd rather keep the possibility of building with those inputs.
It would allow users to build the libnghttp2_asio C++ library (needs boost). Or reduce heap fragmentation with long-running processes when using nghttpd or nghttpx on a webserver (my own case).
Replacing buildInputs = [ openssl libev zlib ]; with the following should do the trick :
  buildInputs = [ openssl libev zlib ]
    ++ optional (!isNull jansson) jansson
    ++ optional (!isNull boost) boost
    ++ optional (!isNull libxml2) libxml2
    ++ optional (!isNull jemalloc) jemalloc;

We would need a different approach, as by default all parameters are passed as non-null (callPackage passes all available matching names).

I think options are a better for this eg. development/interpreters/erlang/R18.nix
Using null values for packages can result in confusing errors when trying to use them in as for example.

Ah ok lesson learned about CallPackage.
Yes boolean option flags seems like the way to go. I've seen that done in the lighttpd definition also.

@vcunat
I proposed a light refactor of the nghttp2 definition which doesn't break the 'normal' build but allows for options to be used if desired. See commit 745ea7a above.


Ostermanj 212 browse

@NealHumphrey @ptgott I couldn't change @ptgott 's PR directly and so had to create a new one.
This puts the legend back in (hard-coded 👎   ) and reestablishes the linking to the building.html after clicking through on a building. There's code in there that builds out how this could be done in the future without loading a new page, but the building view needs a lot of work in response to the refactor to make that work. That code is commented out now in deference to the old way of loading building.html with a query parameter. You can reverse the comments to see how it could work. Right now building.html links to an old version of housing-insight.js (explicitly housing-insight-OLD.js) so that it works as before.
I've removes the Zillow option since it throws errors in relation to the donut charts (donut data is not available in zillow zones). I've also removed @ptgott 's very good start on graying out unavailable options because I didn't have time to look at the buggy-ness.  But also, I wonder if people are more likely to select zones first, then data sets. I.e.: should the overlay menu change according to which zone is selected, rather than vice versa? Not sure.

Awesome! I'm going to do a bit of testing and see if I can break anything critical or see any major impediments to making this the official version and then will merge in.
On your building view approach - sounds good, I think it is fine to kick this can down the road for now given that we did not have enough people to establish a building view team for V1.
On your question of which order people will select zone vs. data, my guess is the typical pattern will be:

select data type (we should default to a zone type)
select different zone type (we should persist the data source that was last selected)
select second data type (we should persist the zone type that was last selected)
3b) select second data type that does not have aggregation available at the last selected zone type (should switch zone type to default zone type for that data set).

@ostermanj and @ptgott - is it safe to fully delete the /javascript folder since the central version is now moved over to docs?

@ostermanj @NealHumphrey
Thanks for wrapping up, @ostermanj!
I can update PR #269 to complete the menu gray-out code after this weekend if it's useful to do so (depending on what happens with integrating the filter view). Re: the order of selecting menus, the idea with the code would be that selecting an option in one of the menus would gray out unavailable items corresponding to that option in the other one (kind of like an online clothes shop where clicking one color grays out unavailable sizes and vice versa). As you can see, it doesn't work right now, but that was the idea.
I'm pretty sure '/javascript' is redundant now! If we need it, we can copy it from an older commit.

That's right -- rich-map is deprecated.
On Fri, May 19, 2017 at 4:24 PM Neal Humphrey<EMAIL_ADDRESS>wrote:

@NealHumphrey commented on this pull request.
It looks like the building-view.html is not properly displaying the
subsidy timeline in this refactor, but we should not delay merging to debug
this - better to make it a new issue to resolve later
In docs/tool/index.html
https://github.com/codefordc/housing-insights/pull/270#discussion_r117567019
:

<script src="https://code.highcharts.com/modules/data.js"></script>

+
+
+

Sandbox option 2

I don't see rich-map.js in this page. Am I correct that rich-map.js is
deprecated and can now be deleted from /docs/tool/js?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/codefordc/housing-insights/pull/270#pullrequestreview-39290773,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANAvkFnPgVfOCFU5dh9zxnYJF7Uijnlzks5r7fp3gaJpZM4Ng7mm
.


issue with HTTPS

Trying to add geolocate to store locator map. Getting a Mixed Context trying to load over HTTPS but it is pulling this data from insecure script. Even though in my code I have it as HTTPS. What is going on here?

Somewhere in there, your code is requesting the locate control files via http. I recommend that you use npm or a proper CDN.
I'm going to update the readme to make this clearer.


about: Remove Found bug button.

Haven't tested this out. Was going to open an issue, but realized opening a PR was just as fast.
I think the about page is not a typical place for a "report issue" button, and it looks sort of off to see it there.

@timabbott should we remove this? I think we decided to keep it in the page  -
https://github.com/zulip/zulip-electron/issues/244#issue-247199318

We should move this to menu item to Help (independent of this change), and the Help menu already has a "Report an issue" menu item.

About Zulip has now been moved to Help, so I think we can remove this button now. We can wait for Tim to confirm if you'd like.
For context, the Help menu is now:
Zulip Desktop v2.3.82
About Zulip
Help Center
Report an Issue

Make sense. Merged, thanks @rishig.


Parse nested document tag

Minor fix to allow parsing of nested document tag in KML format.

LGTM.


Better error on ln contract being signed for invalid key (or something)

The reason for "Invalid transaction signature" error is that gateway does some refund transaction and is thus signing tx with using user key, instead of gateway key, which is some LN contract cleverness that we have. When things go wrong this leads lots of time wasted figuring out why is that.
We should do some of:

have a separate error case for it
add at least one byte into input/output somewhere to mark if this is a refund or not, so that server side code can check it against the actual status and use the more specific error
if above is not feasible - in the error handler try validating signature against the other key, and if that succeeds - verify against the actual status

See #1708 and #1920

@elsirion for comments

add at least one byte into input/output somewhere to mark if this is a refund or not, so that server side code can check it against the actual status and use the more specific error

That sounds feasible. Could be an enum like the following that describes which key we are expecting to use. That would be a bit more precise I think, with refunds you always have to think which of both players can request a refund for any particular smart contract. One thing we might want to solve for that: make enum encoding more concise (currently it's always a u64 iirc).
enum SpendKey {
    User,
    Gateway
}


Getting redux-saga error while using truffle debug

Getting this error message, when using truffle framework with the command truffle debug tnx_hash. I am not sure if it is the redux-saga's error, but I am a bit suspicious.
My version of redux-saga was 1.0.2.
join(...tasks) is not supported any more. Please use join([...tasks]) to join multiple tasks.
    at join (/usr/local/lib/node_modules/truffle/build/webpack:/~/@redux-saga/core/dist/chunk-e922c950.js:565:1)

It was related to truffle codebase


Reproducing generalization results

I am trying to reproduce the generalization results but as Braindecode and TUH datasets both have been updated, I have difficulties reproducing your results. Would you please help me with that? it would be great if you could update your repo accordingly with the new dataset and code.

For me, it is overfitting because train loss is way too much than the valid and test loss.


Broken links

https://github.com/apache/incubator-streampark-website/blob/40457551aac27c0684f87e39d0a4fb4c8f4e9669/docusaurus.config.js#L245
The /en and /zh-CN links don't work

This should be fixed now. See the commit message for more details.
However, loading the homepage has a obvious lag (about 1-2 seconds), perhaps @wolfboys @harae can take a look.


cleaned up all of the app.get(bla bla bla)s

hopefully I actually know how to use typescript

ERROR: This branch has conflicts that must be resolved.


Set up eventmgmt application

Can you put the pycache folders in .gitignore? Those are generated files and we need not add them to git.

You can also delete the docs folder. It's not needed for our project. It was just added for our reference.


WMMA (GEOSwgcm)

WIP.

@adarmenov It would be best to have the wave component as a separate repository and not reside here. Please see this issue. It did not any support from all parties, but I expect you to appreciate the goodness of keeping things self-contained! Thanks!
I'm sure @mathomp4 and @tclune will be wiling make a new fixture/repo for the GEOSwgcm.


Is it possible to disable a MenuFlyoutItem?

As the title says, I find it especially useful in context menus. And it seems like a well-known design.

Fixed on https://github.com/bdlukaa/fluent_ui/commit/00c3b1932fd7855bfc29439242acfb7b1cb59b0f.


Revert "Use zero MV for all blocks in inter frames"

Reverts xiph/rav1e#408

Oh- this has not landed...yet..

Related: #160


--remove option

[Enter feedback here]
Can you confirm the syntax of the command to remove an IP address from the backend pool and addition.
The examples give this format
az network application-gateway address-pool update -g MyResourceGroup --gateway-name MyAppGateway -n MyAddressPool
--add backendAddresses "{ "ip_address": "{<IP_ADDRESS>}" }"
But I have also seen
backendAddresses "{"ip_address":"{<IP_ADDRESS>}"}"

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

ID: 0eb7977f-f67a-b7f1-9c55-5fe3ceef1148
Version Independent ID: 855b66dc-6a1b-a182-8670-2a8b8ca8b10a
Content: az network application-gateway address-pool
Content Source: latest/docs-ref-autogen/network/application-gateway/address-pool.yml
Service: virtual-network
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

network

Please use the following argument format to add and remove backendAddresses
--add backendAddresses ipAddress="<IP_ADDRESS>"

--remove  backendAddresses {index number}


Allow for more than one post classification thread on AWS hosting

Currently, workers only run on one thread (process) because...

AWS doesn't support using multiprocessing Queue or Pool (see e.g. this isssue), meaning a Queue would need to be custom-implemented
The way the AccountList and PostList objects work isn't compatible with multiple threads
Race conditions could occur when e.g. tracking post deletions and likes, particularly because of how PostList works

These problems should be fixed, particularly before federation, so that the feed can run faster

Now that Bluesky is open, I want to work on this issue as a high priority. Thinking about how to avoid race conditions is really annoying, though!
Perfectly avoiding race conditions would add a ton of bloat to the firehose code that I don't think I'd like to do right now (there would be SO MANY pipes...)
In practice, the best way to do this might be as follows:

Have a main processing thread that a) basically re-implements multiprocessing Queue in an AWS-friendly way, and b) handles synchronisation between child processes.
Each child process reports back when it adds a post. The main thread updates all other threads ASAP that a post was removed. This means there is a theoretically possible race condition if a post is immediately added and then removed, but I think this exists in the reference TypeScript implementation anyway... and it's probably safe to assume that this shouldn't ever happen, given the processing time for each op is so short.

There will be a number of other things that the main thread will have to implement, such as:

Updating the firehose cursor
Checking individual subprocesses and restarting them in case of crashes


Backing up Calendar folder or invite mails crashes script

When backing up the Calendar folder or any individual Calendar invite/reply mails in the Inbox, the script crashes. The mailbox in question is an Office 365 mailbox.
Trace example from [Sent Items] folder as follows:
W, [2017-12-11T12:48:05.459451 #15793]  WARN -- : [Sent Items] failed to save message 40531:
Date: Fri, 07 Jul 2017 10:42:18 +0200
Subject: Accepted:Monthly Meeting
To<EMAIL_ADDRESS>Content-Type: multipart/alternative; boundary="--_com.android.email_593210916315722"
MIME-Version: 1.0
----_com.android.email_593210916315722
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64
<snipped base 64>
----_com.android.email_593210916315722
Content-Type: text/calendar; method=REPLY;
name="invite.ics"
Content-Transfer-Encoding: base64
<snipped base 64>
----_com.android.email_593210916315722--
. undefined method `[]' for nil:NilClass

Thanks for the bug report - I'll look into it and get back to you.

Just following up on this one to see if there is any progress? Thanks!

I've released an updated version: 1.2.2, with better logging on failures.
Could you see if that helps pinpoint the problem?

Pulled the updated code and re-ran the job. So far I haven't been able to reproduce this issue.
Not sure if it is successful now because the offending Calendar appointment no longer exists or something else has changed. Lets hope that is the end of it...

I'll close for now.
Please reopen if you get the error again. Also, in that case, please post a sanitized log of the failure.


Input Field not showing on Emulator

Version
4.9.0
Describe the bug
The emulator does not show an input dialog to send the response to the bot.
To Reproduce
Steps to reproduce the behavior: (This happens in debug mode)

I downloaded the Emulator on the releases page of this repository
Was prompted to update the Emulator and updated it.
Add the local ngrok settings and enabled Authentication.
Started debugging a Visual Studio Core Bot template project after adding LUIS configuration.
See error

Expected behavior
I expected to see the input filed or an error/information message  with instructions

Screenshots
Additional context
Using Visual Studio 2019 on Windows 10 for debugging.

[bug]

Hi @michaeldera ,
This is by design and not a bug.
It looks like in the second screenshot with the missing input field, you have checked the "Open in debug mode" option in the Open Bot dialog.

If you check this option when connecting to a bot, the Emulator no longer acts as the client through which the user sends messages to the bot, but instead acts as a proxy that intercepts traffic between bot and user, and displays trace activities configured in the bot's Inspection Middleware. In this scenario, we hide the input field so that you cannot interact with the user through the Emulator.
If you want to interact with the bot through the Emulator using an input field, then do not check the "Open in debug mode" option.

Alright thank you. That clears it up


MAINT: dense_output and t_eval are mutually exclusive inputs

As found in #9228 in solve_ivp, if both t_eval and dense_output are used, an exception occurs when ts and interpolants lengths do not match.
Added this information to the docstring.  Could consider adding an Exception with more informative message as well.

I am not sure the current behavior is the correct behavior. I don't see why both of these options could not be set simultaneously. I think @nmayorov wrote this part of the code. I would like to hear his opinion.

I don't think there is a use-case for specifying both. But I think the sensible behavior when both are specified is this:

t_eval controls only the behavior of the ts and ys fields. When an array, ts equals t_eval; when None, ts equals the time steps chosen by the solver.
dense_output controls only the behavior of sol. When True, sol is and OdeSolution; when False, it is None.
t_events is always the same regardless of the t_eval and dense_output settings.

I think this is a fine option.  I can take a crack, but I still haven't been able to build scipy for development, despite reading the developers build documentation several times over.

I have tested this with the following code adapted from the issue above, where sol is the solution when t_eval and dense_output are both set, sol_teval is hte solution when only t_eval is set, and sol_dense is hte solution when only dense_output is set.
I think this satisfies what @drhagen suggested.
`
import numpy as np
from scipy.integrate import solve_ivp
def fprime(x, y):
return 3 * x**2 + 12 * x - 4
def event(x, y):
return y
xspan = (-8, 4)
xeval, h = np.linspace(*xspan, retstep=True)
sol = solve_ivp(fprime, xspan, np.array([-120]), t_eval=xeval, events=[event],
dense_output=True, max_step=h)
sol_teval=solve_ivp(fprime, xspan, np.array([-120]), t_eval=xeval, events=[event],
max_step=h)
sol_dense = solve_ivp(fprime, xspan, np.array([-120]), events=[event],
dense_output=True, max_step=h)
print(np.all(sol.t==sol_teval.t))
print(np.all(sol.y==sol_teval.y))
print(np.all(sol.sol(xeval)==sol_dense.sol(xeval)))
print(np.all(sol.t_events[0]==sol_teval.t_events[0]))
print(np.all(sol.t_events[0]==sol_dense.t_events[0]))
`
Running this returns:
True True True True True

I added a simple test that would have failed previously but passes now (on my end).  I also changed title to MAINT, since it is no longer a documentation change.  Let me know if it should be another category like bug.

This seems like the correct behavior to me. Very nicely done.

Hi!
I think these are good suggestion and implementation. I'm merging this, quite sure nobody will mind it.


Unable to load model with 'th' image_dim_ordering

@rykov8
Hi, I am trying to load model with 'th' image_dim_ordering and 'tensorflow' backend, but it raising some errors. Is it possible to run model with 'th' image_dim_order?
Using TensorFlow backend.
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcurand.so locally
Traceback (most recent call last):
  File "./test.py", line 30, in <module>
    model = SSD300(input_shape, num_classes=NUM_CLASSES)
  File "/home/dummy/ssd_keras/ssd.py", line 77, in SSD300
    net['conv4_3_norm'] = Normalize(20, name='conv4_3_norm')(net['conv4_3'])
  File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 572, in __call__
    self.add_inbound_node(inbound_layers, node_indices, tensor_indices)
  File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 635, in add_inbound_node
    Node.create_node(self, inbound_layers, node_indices, tensor_indices)
  File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 166, in create_node
    output_tensors = to_list(outbound_layer.call(input_tensors[0], mask=input_masks[0]))
  File "/home/dummy/ssd_keras/ssd_layers.py", line 43, in call
    output *= self.gamma
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/math_ops.py", line 814, in binary_op_wrapper
    return func(x, y, name=name)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/math_ops.py", line 987, in _mul_dispatch
    return gen_math_ops.mul(x, y, name=name)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_math_ops.py", line 1613, in mul
    result = _op_def_lib.apply_op("Mul", x=x, y=y, name=name)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 759, in apply_op
    op_def=op_def)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2242, in create_op
    set_shapes_for_outputs(ret)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1617, in set_shapes_for_outputs
    shapes = shape_func(op)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1568, in call_with_requiring
    return call_cpp_shape_fn(op, require_shape_fn=True)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/common_shapes.py", line 610, in call_cpp_shape_fn
    debug_python_shape_fn, require_shape_fn)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/common_shapes.py", line 675, in _call_cpp_shape_fn_impl
    raise ValueError(err.message)
ValueError: Dimensions must be equal, but are 38 and 512 for 'mul' (op: 'Mul') with input shapes: [?,512,38,38], [512].

@rykov8
I think the problem is with Normalize layer.
To run the model with 'th' image_dim_ordering, we must have same input_shapes.
So instead of Normalize layer can we can use BatchNormalization Layer which has 4D shape?

According to the official, for three-dimensional data, "tf" is regarded as (conv_dim1, conv_dim2, conv_dim3, channels) and "th" is considered as (channels, conv_dim1, conv_dim2, conv_dim3).
So, It may be impossible to load the model with "th" image_dim_order. Would you already try to load the model with "tf" image_dim_order?

@keit0222
Thank you for replay. I modified the call function in Normalize layer. Now it's working fine and giving same result.
def call(self, x, mask=None):
    x_normed = K.l2_normalize(x, self.axis)
    #x_normed *= self.gamma
    return x_normed

I also modified ssd_utils file which is depending on tensorflow for calculating NMS.

@keit0222
Thank you for replay. It's working with with 'tf' image_dim_order, but not with 'th', so I modified the call function in Normalize layer. Now it's working fine and giving same result.
def call(self, x, mask=None):
    x_normed = K.l2_normalize(x, self.axis)
    #x_normed *= self.gamma
    return x_normed

I also modified ssd_utils file which is depending on tensorflow for calculating NMS.


add fields in "aps" (for iOS 10)

Talking about _apns_send()
To be honest I don't understand why there is no possibilities for manually add custom fields in "aps" sub-dictionary. For example, in iOS 10 a new field "mutable-content" was added in "aps" and there are no ways to add it using django-push-notifications without monkey patching or forking or using "extra" with "aps" key.
Jleclanche, could you update it?

I want to rework that function, it shouldn't take a bazillion arguments, should just look in kwargs and have like an aps_extra dict or some such.

Could you let me know if this issue has been resolved?

Or Do I need to do as the above image?


[Bug report]  Namespace is not specified. (A problem occurred configuring project ':flutter_image_compress_common'.)

Version
2.0.4
Platforms
Android
Device Model
Nokia 7.2
flutter info
[✓] Flutter (Channel stable, 3.13.6, on macOS 12.6.7 21G651 darwin-x64, locale en-GB)
    • Flutter version 3.13.6 on channel stable at /Users/vikrantpatil/development/flutter_3.13.4
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ead455963c (3 weeks ago), 2023-09-26 18:28:17 -0700
    • Engine revision a794cf2681
    • Dart version 3.1.3
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/vikrantpatil/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.83.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • Nokia 7 2 (mobile)       • <IP_ADDRESS>:5555                       • android-arm64 • Android 11 (API 30)
    • Kishor's iPhone (mobile) • 4e1b3c862ea0f79e0080ddb36f2bf3b3d0873629 • ios           • iOS 16.7.1 20H30
    • macOS (desktop)          • macos                                    • darwin-x64    • macOS 12.6.7 21G651 darwin-x64
    ! Error: Kishor's iPhone is busy: Loading metadata for the watch via Kishor's iPhone. Xcode will continue when Kishor's iPhone is finished. (code -10)
    ! Error: (null) needs to connect to determine its availability. Check the connection between the device and its companion iPhone, and the connection between the iPhone
      and Xcode. Both devices may also need to be restarted and unlocked. (code 1)

[✓] Network resources
    • All expected network resources are available.

How to reproduce?
I am adding flutter module in android native application.
In flutter module I have added flutter_image_compress package but when I try to build in native android application it is giving me following error.
I have not written any code and I have just added flutter_image_compress package in pubspec.yaml and then tried build the native android applicaiton.
When i remove flutter_image_compress it is working fine.
Logs
A problem occurred configuring project ':flutter_image_compress_common'.
> Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
   > Namespace not specified. Specify a namespace in the module's build file. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

Example code (optional)
No code written only added flutter_image_compress in pubspec.yaml.

Contact
<EMAIL_ADDRESS>

Same here
The lib owner should add this
android {   // Conditional for compatibility with AGP <4.2.   if (project.android.hasProperty("namespace")) {     namespace 'io.flutter.plugins.firebase.messaging'   }


error: Server does not allow request for unadvertised object

Hi, there was an error when I updated the submodules in this project:
error: Server does not allow request for unadvertised object 44345855a7a3adbe167cdc3957884ebbd6ec15ae
Fetched in submodule path 'preprocessing/dispnet-flownet-docker', but it did not contain 44345855a7a3adbe167cdc3957884ebbd6ec15ae. Direct fetching of that commit failed.
I checked the path in the .gitmodule file and it is correct. Any ideas?

@AndreiBarsan Did you make local changes in the submodule dispnet-flownet-docker and forget to push to the forked repo? This might the source of the problem.

Hi, sorry for the delay, just got around to checking this. I pushed some changes; can you try now?


Install sim-module on raspberry

Hello,
I have problem with install on Raspbeerry Pi:
root@raspberrypi:~# pip install https://github.com/JFF-Bohdan/sim-module/archive/master.zip
Downloading/unpacking https://github.com/JFF-Bohdan/sim-module/archive/master.zip
Downloading master.zip
Running setup.py egg_info for package from https://github.com/JFF-Bohdan/sim-module/archive/master.zip
Traceback (most recent call last):
File "", line 14, in
IOError: [Errno 2] No such file or directory: '/tmp/pip-fQkan7-build/setup.py'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 14, in
IOError: [Errno 2] No such file or directory: '/tmp/pip-fQkan7-build/setup.py'

Command python setup.py egg_info failed with error code 1 in /tmp/pip-fQkan7-build
Storing complete log in /root/.pip/pip.log
Please tell me how install this library correctly ?
Thank you and Best regards

Hello. Sorry, but there is no "setup.py" in my package. You can just
download/unpack and start using by test examples. Also, you may need to
tune up tty address.
On Fri, Aug 21, 2015 at 5:03 PM, heximcz<EMAIL_ADDRESS>wrote:

Hello,
I have problem with install on Raspbeerry Pi:
root@raspberrypi:~# pip install
https://github.com/JFF-Bohdan/sim-module/archive/master.zip
Downloading/unpacking
https://github.com/JFF-Bohdan/sim-module/archive/master.zip
Downloading master.zip
Running setup.py egg_info for package from
https://github.com/JFF-Bohdan/sim-module/archive/master.zip
Traceback (most recent call last):
File "", line 14, in
IOError: [Errno 2] No such file or directory:
'/tmp/pip-fQkan7-build/setup.py'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 14, in
IOError: [Errno 2] No such file or directory:
'/tmp/pip-fQkan7-build/setup.py'
Command python setup.py egg_info failed with error code 1 in
/tmp/pip-fQkan7-build
Storing complete log in /root/.pip/pip.log
Please tell me how install this library correctly ?
Thank you and Best regards
—
Reply to this email directly or view it on GitHub
https://github.com/JFF-Bohdan/sim-module/issues/1.

--
Best Regards,
Bohdan Danishevsky
Aminis LLC, CEO
+38-067-509-15-23
http://www.aminis.com.ua

Ok, thank you. But when I run test_basic_class.py script, I get this error:
root@raspberrypi:~/sim-module# ./test_basic_class.py
Traceback (most recent call last):
File "./test_basic_class.py", line 4, in
from test_shared import initializeUartPort, initializeLogs
File "/root/sim-module/test_shared.py", line 4, in
from lib.sim900.gsm import SimGsm, SimGsmPinRequestState
File "/root/sim-module/lib/sim900/gsm.py", line 114
def print(self, commandString, encoding = "ascii"):
^
SyntaxError: invalid syntax
another test script show this error:
root@raspberrypi:~/sim-module# ./test_http.py
from: can't read /var/mail/test_shared
from: can't read /var/mail/lib.sim900.inetgsm
./test_http.py: line 4: COMPORT_NAME: command not found
./test_http.py: line 7: CONSOLE_LOGGER_LEVEL: command not found
./test_http.py: line 8: LOGGER_LEVEL: command not found
./test_http.py: line 10: syntax error near unexpected token (' ./test_http.py: line 10: def main():'
Thank you.

Ok, that's interesting. I will look for this issue at this night. After 24
h I will send you my answer. Thank you.
On Fri, Aug 21, 2015 at 5:17 PM, heximcz<EMAIL_ADDRESS>wrote:

Ok, thank you. But when I run test_basic_class.py script, I get this error:
root@raspberrypi:~/sim-module# ./test_basic_class.py
Traceback (most recent call last):
File "./test_basic_class.py", line 4, in
from test_shared import initializeUartPort, initializeLogs
File "/root/sim-module/test_shared.py", line 4, in
from lib.sim900.gsm import SimGsm, SimGsmPinRequestState
File "/root/sim-module/lib/sim900/gsm.py", line 114
def print(self, commandString, encoding = "ascii"):
^
SyntaxError: invalid syntax
another test script show this error:
root@raspberrypi:~/sim-module# ./test_http.py
from: can't read /var/mail/test_shared
from: can't read /var/mail/lib.sim900.inetgsm
./test_http.py: line 4: COMPORT_NAME: command not found
./test_http.py: line 7: CONSOLE_LOGGER_LEVEL: command not found
./test_http.py: line 8: LOGGER_LEVEL: command not found
./test_http.py: line 10: syntax error near unexpected token ('
./test_http.py: line 10:def main():'
Thank you.
—
Reply to this email directly or view it on GitHub
https://github.com/JFF-Bohdan/sim-module/issues/1#issuecomment-133439836
.

--
Best Regards,
Bohdan Danishevsky
Aminis LLC, CEO
+38-067-509-15-23
http://www.aminis.com.ua

Ok. Now I can see. You trying to execute test_* files as bash scripts, but
they are Python files and must be executed via Python interpreter.
Also, you need tune up com port (tty) name. You can't just run test in this
way.
I need to write a little portion of instructions to you, is't it?
On Fri, Aug 21, 2015 at 5:17 PM, heximcz<EMAIL_ADDRESS>wrote:

Ok, thank you. But when I run test_basic_class.py script, I get this error:
root@raspberrypi:~/sim-module# ./test_basic_class.py
Traceback (most recent call last):
File "./test_basic_class.py", line 4, in
from test_shared import initializeUartPort, initializeLogs
File "/root/sim-module/test_shared.py", line 4, in
from lib.sim900.gsm import SimGsm, SimGsmPinRequestState
File "/root/sim-module/lib/sim900/gsm.py", line 114
def print(self, commandString, encoding = "ascii"):
^
SyntaxError: invalid syntax
another test script show this error:
root@raspberrypi:~/sim-module# ./test_http.py
from: can't read /var/mail/test_shared
from: can't read /var/mail/lib.sim900.inetgsm
./test_http.py: line 4: COMPORT_NAME: command not found
./test_http.py: line 7: CONSOLE_LOGGER_LEVEL: command not found
./test_http.py: line 8: LOGGER_LEVEL: command not found
./test_http.py: line 10: syntax error near unexpected token ('
./test_http.py: line 10:def main():'
Thank you.
—
Reply to this email directly or view it on GitHub
https://github.com/JFF-Bohdan/sim-module/issues/1#issuecomment-133439836
.

--
Best Regards,
Bohdan Danishevsky
Aminis LLC, CEO
+38-067-509-15-23
http://www.aminis.com.ua

Can we talk in Skype? Will it be comfortable to you?
On Fri, Aug 21, 2015 at 7:43 PM, Bohdan Danishevsky<EMAIL_ADDRESS>wrote:

Ok. Now I can see. You trying to execute test_* files as bash scripts, but
they are Python files and must be executed via Python interpreter.
Also, you need tune up com port (tty) name. You can't just run test in
this way.
I need to write a little portion of instructions to you, is't it?
On Fri, Aug 21, 2015 at 5:17 PM, heximcz<EMAIL_ADDRESS>wrote:

Ok, thank you. But when I run test_basic_class.py script, I get this
error:
root@raspberrypi:~/sim-module# ./test_basic_class.py
Traceback (most recent call last):
File "./test_basic_class.py", line 4, in
from test_shared import initializeUartPort, initializeLogs
File "/root/sim-module/test_shared.py", line 4, in
from lib.sim900.gsm import SimGsm, SimGsmPinRequestState
File "/root/sim-module/lib/sim900/gsm.py", line 114
def print(self, commandString, encoding = "ascii"):
^
SyntaxError: invalid syntax
another test script show this error:
root@raspberrypi:~/sim-module# ./test_http.py
from: can't read /var/mail/test_shared
from: can't read /var/mail/lib.sim900.inetgsm
./test_http.py: line 4: COMPORT_NAME: command not found
./test_http.py: line 7: CONSOLE_LOGGER_LEVEL: command not found
./test_http.py: line 8: LOGGER_LEVEL: command not found
./test_http.py: line 10: syntax error near unexpected token ('
./test_http.py: line 10:def main():'
Thank you.
—
Reply to this email directly or view it on GitHub
https://github.com/JFF-Bohdan/sim-module/issues/1#issuecomment-133439836
.

--
Best Regards,
Bohdan Danishevsky
Aminis LLC, CEO
+38-067-509-15-23
http://www.aminis.com.ua

--
Best Regards,
Bohdan Danishevsky
Aminis LLC, CEO
+38-067-509-15-23
http://www.aminis.com.ua

Little guidance would certainly help, thank you.
Sorry but I do not have skype.

Problem was been with python version, when I use Python version > 3, script work ok, but

Problem have been with python version :-), after I use Python version > 3.x, script work ok. I have port ttyAMA0 but I still get this error:
root@raspberrypi:~/sim-module# python3.2 ./test_basic_class.py
[2015-08-23 23:01:35,220] INFO: opening port
[2015-08-23 23:01:35,224] ERROR: exception till port openning: could not open port ttyAMA0: [Errno 2] No such file or directory: 'ttyAMA0'
[2015-08-23 23:01:35,228] ERROR: error opening port: exception till port openning: could not open port ttyAMA0: [Errno 2] No such file or directory: 'ttyAMA0'
DONE
default port com22 not work too.
Please tell me how I set right port ?
Thank you and best regards!

Problem solved,
COMPORT_NAME            = "/dev/ttyAMA0"
:-D Thank you !

Yes, you need specify UART name for your SIM-module. Also, may be needful
to specify UART speed, parity and other parameters.
On Mon, Aug 24, 2015 at 4:45 AM, heximcz<EMAIL_ADDRESS>wrote:

Problem solved,
COMPORT_NAME = "/dev/ttyAMA0"
:-D Thank you !
—
Reply to this email directly or view it on GitHub
https://github.com/JFF-Bohdan/sim-module/issues/1#issuecomment-133985430
.


"Expression produces a union type that is too complex to represent." but ONLY if there's exactly 1 required prop in otherwise all optional props- in a union of a certain size.

Description
For the below code, you will get the too complex to represent... error if theres ONLY ONE required map property in the otherwise all optional props.

If it's all "optional", it's fine.
If there are two "required" props, it's fine.

This seems to require a union of a certain length to trigger.
Seems to occur in all versions of TS, including latest
Playground Link
export type UnionToIntersection_T<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void
  ? I
  : never;

type asdf = UnionToIntersection_T<
  | {
    // Make this optional to remove error
      map: {
        f1o?: { so1: 1 };
      };
    }
  | {
    // OR make this *required* to remove error
      map?: {
        b2r: { so2?: 1 };
      };
    }
  | {
      map?: {
        f3o?: { s3o?: 1 };
      };
    }
  | {
      map?: {
        b5r: { s2o?: 1 };
      };
    }
  | {
      map?: {
        f6o?: { s3o?: 1 };
      };
    }
  | {
      map?: {
        b7r: { soh: 1 };
      };
    }
  | {
      map?: {
        f8o?: { soi: 1 };
      };
    }
  | {
      map?: {
        b9r: { sons: 1 };
      };
    }
  | {
      map?: {
        f1oo?: { sosh: 1 };
      };
    }
  | {
      map?: {
        ba1r: { sosd?: 1 };
      };
    }
  | {
      map?: {
        foo2?: { sfdo: 1 };
      };
    }
  | {
      map?: {
        lar: { sfdo?: 1 };
      };
    }
  | {
      map?: {
        fooj?: { sero: 1 };
      };
    }
  | {
      map?: {
        bajr: { sfso: 1 };
      };
    }
  | {
      map?: {
        fojo?: { sdo?: 1 };
      };
    }
  | {
      map?: {
        barl: { sso: 1 };
      };
    }
  | {
      map?: {
        fooj?: { sfo: 1 };
      };
    }
  | {
      map?: {
        barh: { sfo?: 1 };
      };
    }
>;

Workaround
You have to separate the "optional" and the "required" keys and "unionToIntersection" them as two groups, and then combine them together with an intersect. You also have to remove all undefined values from the "optional group", because you can't access paths where there's a potentially undefined value (e.g. type A = {foo: 1} | undefined means A['foo'] returns any)

e.g. deeplyRemoveUndefined<unionToIntersect<onlyOptional<>>> & unionToIntersect<onlyRequired<>>

FYI, perhaps you should provide an example without UnionToIntersection.
https://github.com/microsoft/TypeScript/issues/43077#issuecomment-790758767

We don't really support uses of UnionToIntersection; this operation is ill-defined.

If someone finds a fix for this they can send a PR, but this error message having a boundary isn't unexpected.


Resizable weekday event slot

Is your feature request related to a problem? Please describe.
When using the slot for weekday events, I am unable to resize the events, only drag.
Describe the solution you'd like
I would like to be able to resize my events regardless of using a slot or the default template.

Thanks 💪
Added in https://github.com/tomosterlund/qalendar/pull/222


Test suite run failure

Now that the test suite can be built by Stackage, I ran into the following:
Test suite snippet: RUNNING...
1
snippet: connect: does not exist (Connection refused)
Test suite snippet: FAIL
Test suite logged to: /home/stackage/work/logs/nightly/http-streams-<IP_ADDRESS>/test-run.out

Is this anticipated?

Grr. I thought I'd fixed that! snippet was just that, a cabal definition for hacking, not a test suite. I didn't remove it because it was the example program I used when hacking; meant to put buildable: false in instead. Sorry. Maybe I'll just get rid of the block from the cabal file.
[I wish there was a category of {library, executable, test-suite, etc} that was for casual programs. Seems like it's pretty common to have such things, but their neither test suites nor "the executable that this package represents"; not like you need my test snippet in your ~/.local/bin/]
@snoyberg I'll nuke the block. <IP_ADDRESS> coming right up.
AfC


adapt autogen script to start struct core as well

Adapt auto generation script to be able to run RS and SC cameras.
The environment variable RESINCONF_ROS_CAMERA=realsense will generate the same file as before. RESINCONF_ROS_CAMERA=struct_core_ros will generate a launchfile to run the structure core

I am not sure if it is appropriate to have those configuration variables in this repo


Problme to get the year, day and month selected by the user

I use this method:
onChange={async date => {
    const UserDate = new Date(date);
    console.log(UserDate.getFullYear(), UserDate.getMonth(), UserDate.getDay());
}}

If I enter 1999 (Year) - 01(Month) - 06(Day), the return I have from log is:

1999 0 3

Please give more context or provide reproduction with codesandox

Please give more context or provide reproduction with codesandox

Sorry my english: I need to send the year, month and day for a function. Follows the complete DatePicker...
    <DatePicker
            disableFuture
            openTo="year"
            format="dd/MM/yyyy"
            views={["year", "month", "date"]}
            invalidDateMessage="Data inválida"
            onChange={async date => {
                const UserDate = new Date(date);
                const year = UserDate.getFullYear();
                const month = UserDate.getMonth();
                const day = UserDate.getDay();
                    CheckAge(year, month, day) ? await this.setState({nascimento: date}); : alert("error");
            }}
        />

If I enter 1999-01-06 (YYYY-MM-dd) and punt a console.log(year, month, day) before the CheckAge() the output is:

1999 0 3

The expected was:

1999 01 06

This issue needs reproduction. But I am sure there is no issues


[Bug] Cannot resolve modules

Ionic version:

[x] 4.x
I'm submitting a ...

[x] bug report
[ ] feature request

Current behavior:

Failed to resolve node.js modules
Expected behavior:

It should work without issue like ionic v3 / parcel
Steps to reproduce:

create an ionic project from template
import and use a node.js module (e.g. utils.inspect)
run the cli (e.g. npm run start)
wait for the loading, will see error in console

Other information:

error from console
ERROR in ./node_modules/aws-sign2/index.js
Module not found: Error: Can't resolve 'crypto' in '<my-app>/node_modules/aws-sign2'
ERROR in ./node_modules/aws4/aws4.js
Module not found: Error: Can't resolve 'crypto' in '<my-app>/node_modules/aws4'
ERROR in ./node_modules/ecc-jsbn/index.js
Module not found: Error: Can't resolve 'crypto' in '<my-app>/node_modules/ecc-jsbn'
ERROR in ./node_modules/http-signature/lib/signer.js
Module not found: Error: Can't resolve 'crypto' in '<my-app>/node_modules/http-signature/lib'
ERROR in ./node_modules/http-signature/lib/verify.js
Module not found: Error: Can't resolve 'crypto' in '<my-app>/node_modules/http-signature/lib'
ERROR in ./node_modules/oauth-sign/index.js
Module not found: Error: Can't resolve 'crypto' in '<my-app>/node_modules/oauth-sign'
ERROR in ./node_modules/request/lib/helpers.js
Module not found: Error: Can't resolve 'crypto' in '<my-app>/node_modules/request/lib'
ERROR in ./node_modules/request/lib/oauth.js
Module not found: Error: Can't resolve 'crypto' in '<my-app>/node_modules/request/lib'
ERROR in ./node_modules/request/lib/hawk.js
Module not found: Error: Can't resolve 'crypto' in '<my-app>/node_modules/request/lib'
ERROR in ./node_modules/sshpk/lib/private-key.js
Module not found: Error: Can't resolve 'crypto' in '<my-app>/node_modules/sshpk/lib'
ERROR in ./node_modules/sshpk/lib/utils.js
Module not found: Error: Can't resolve 'crypto' in '<my-app>/node_modules/sshpk/lib'
ERROR in ./node_modules/sshpk/lib/certificate.js
Module not found: Error: Can't resolve 'crypto' in '<my-app>/node_modules/sshpk/lib'
ERROR in ./node_modules/sshpk/lib/fingerprint.js
Module not found: Error: Can't resolve 'crypto' in '<my-app>/node_modules/sshpk/lib'
ERROR in ./node_modules/sshpk/lib/dhe.js
Module not found: Error: Can't resolve 'crypto' in '<my-app>/node_modules/sshpk/lib'
ERROR in ./node_modules/sshpk/lib/identity.js
Module not found: Error: Can't resolve 'crypto' in '<my-app>/node_modules/sshpk/lib'
ERROR in ./node_modules/sshpk/lib/key.js
Module not found: Error: Can't resolve 'crypto' in '<my-app>/node_modules/sshpk/lib'
ERROR in ./node_modules/sshpk/lib/signature.js
Module not found: Error: Can't resolve 'crypto' in '<my-app>/node_modules/sshpk/lib'
ERROR in ./node_modules/sshpk/lib/formats/openssh-cert.js
Module not found: Error: Can't resolve 'crypto' in '<my-app>/node_modules/sshpk/lib/formats'
ERROR in ./node_modules/sshpk/lib/formats/pem.js
Module not found: Error: Can't resolve 'crypto' in '<my-app>/node_modules/sshpk/lib/formats'
ERROR in ./node_modules/sshpk/lib/formats/ssh-private.js
Module not found: Error: Can't resolve 'crypto' in '<my-app>/node_modules/sshpk/lib/formats'
ERROR in ./node_modules/request/lib/har.js
Module not found: Error: Can't resolve 'fs' in '<my-app>/node_modules/request/lib'
ERROR in ./node_modules/forever-agent/index.js
Module not found: Error: Can't resolve 'http' in '<my-app>/node_modules/forever-agent'
ERROR in ./node_modules/http-signature/lib/signer.js
Module not found: Error: Can't resolve 'http' in '<my-app>/node_modules/http-signature/lib'
ERROR in ./node_modules/request/request.js
Module not found: Error: Can't resolve 'http' in '<my-app>/node_modules/request'
ERROR in ./node_modules/tunnel-agent/index.js
Module not found: Error: Can't resolve 'http' in '<my-app>/node_modules/tunnel-agent'
ERROR in ./node_modules/forever-agent/index.js
Module not found: Error: Can't resolve 'https' in '<my-app>/node_modules/forever-agent'
ERROR in ./node_modules/request/request.js
Module not found: Error: Can't resolve 'https' in '<my-app>/node_modules/request'
ERROR in ./node_modules/tunnel-agent/index.js
Module not found: Error: Can't resolve 'https' in '<my-app>/node_modules/tunnel-agent'
ERROR in ./node_modules/forever-agent/index.js
Module not found: Error: Can't resolve 'net' in '<my-app>/node_modules/forever-agent'
ERROR in ./node_modules/tough-cookie/lib/cookie.js
Module not found: Error: Can't resolve 'net' in '<my-app>/node_modules/tough-cookie/lib'
ERROR in ./node_modules/tunnel-agent/index.js
Module not found: Error: Can't resolve 'net' in '<my-app>/node_modules/tunnel-agent'
ERROR in ./node_modules/mime-types/index.js
Module not found: Error: Can't resolve 'path' in '<my-app>/node_modules/mime-types'
ERROR in ./node_modules/assert-plus/assert.js
Module not found: Error: Can't resolve 'stream' in '<my-app>/node_modules/assert-plus'
ERROR in ./node_modules/combined-stream/lib/combined_stream.js
Module not found: Error: Can't resolve 'stream' in '<my-app>/node_modules/combined-stream/lib'
ERROR in ./node_modules/delayed-stream/lib/delayed_stream.js
Module not found: Error: Can't resolve 'stream' in '<my-app>/node_modules/delayed-stream/lib'
ERROR in ./node_modules/isstream/isstream.js
Module not found: Error: Can't resolve 'stream' in '<my-app>/node_modules/isstream'
ERROR in ./node_modules/request/request.js
Module not found: Error: Can't resolve 'stream' in '<my-app>/node_modules/request'
ERROR in ./node_modules/sshpk/lib/ed-compat.js
Module not found: Error: Can't resolve 'stream' in '<my-app>/node_modules/sshpk/lib'
ERROR in ./node_modules/forever-agent/index.js
Module not found: Error: Can't resolve 'tls' in '<my-app>/node_modules/forever-agent'
ERROR in ./node_modules/tunnel-agent/index.js
Module not found: Error: Can't resolve 'tls' in '<my-app>/node_modules/tunnel-agent'
ERROR in ./node_modules/request/request.js
Module not found: Error: Can't resolve 'zlib' in '<my-app>/node_modules/request'

P.S. I'm not really using browser in-compatible feature in https (only using constants for http status code) but maybe my dependency is using it.
The same part of code (not ionic specific) works in ionic v3, before is an example: https://github.com/beenotung/tslib/blob/2b97f812e915fff50aacb582ce20df1ab0bb32bc/src/form.ts which is using request and form-data conditionally
Ionic info:

Ionic:

   ionic (Ionic CLI)             : 4.11.0 (/home/beenotung/.nvm/versions/node/v8.12.0/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.1.1
   @angular-devkit/build-angular : 0.13.5
   @angular-devkit/schematics    : 7.2.4
   @angular/cli                  : 7.3.5
   @ionic/angular-toolkit        : 1.4.0

Cordova:

   cordova (Cordova CLI) : 8.1.2<EMAIL_ADDRESS>   Cordova Platforms     : android 7.1.4
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.1.2, (and 5 other plugins)

System:

   Android SDK Tools : 26.1.1 (/opt/android-sdk)
   NodeJS            : v8.12.0 (/home/beenotung/.nvm/versions/node/v8.12.0/bin/node)
   npm               : 6.9.0
   OS                : Linux 4.20

It seems the angular compiler is too aggressive to eagerly resolve every require, hence cause the error.
And it does not ignore error.

Magically isomorphic-fetch works.
The odd part is, in the package.json of isomorphic-fetch, it is fetch-npm-node.js,
when I import it as import * as fetch from 'isomorphic-fetch', it works.
However, when I import it as import * as fetch from 'isomorphic-fetch/fetch-npm-node', it throw the same error when attempt to load https and net.
Shouldn't it behaviour the same for both import method? Where is the magic applied by the angular compiler?

The only solution I can think of so far is using dependency injection, this require per-project setup.
Until I figure out the magic behind isomorphic-fetch and turn all dependent library into the 'right' way.

I'm having the same issue -- trying to import '@google-cloud/translate' causes tons of module resolution errors.

Anyone work around this? I'm not an Ionic user but I have people trying to use my modules with Ionic and reporting this issue. It looks like ionic and or angular isn't properly polyfilling the node built ins. Does the build system use webpack under the hood? Webpack should do this by default.


Add TensorFlow integration

TensorFlow is a platform-independent open source program library for artificial intelligence and machine learning in the environment of language. Please add an integration to yagpdb (it's working with web requests) and make it possible to assign it to certain channels. With this you could automate support channels or do other cool stuff!

Appending to this: I meant DialogFlow, and not TensorFlow (although DialogFlow is based on TensorFlow). I think I can close this issue, there are easier ways to implement this on your own bot, which is likely a better way to do it. No need to add it to yag ;)


mean and std of image transform

Hello,
I was wondering how did the mean and std of the transform come from ? I've calculated that of Pittsburg and it seem way different, especially the std !
https://github.com/yxgeee/OpenIBL/blob/5ab80d65afa42ca22210c4c08983fdc156696bab/ibl/utils/data/__init__.py#L37
mean=[0.48501960784313836, 0.4579568627450961, 0.4076039215686255],

std=[0.00392156862745098, 0.00392156862745098, 0.00392156862745098]

The std is way too small, can you please explain how did you get to it ?
Thanks

The mean and std are borrowed from the VGG pre-training weights of MatConvNet, since the official repos of NetVLAD and SARE are based on MatConvNet. To reproduce their results, we need to load the same pretrained weights as well as the same mean/std.


Fix missing toolchain override

Necessary for thiserror @ 1.0.37, which uses the feature proc_macro_span_shrink.

Nevermind.. some weirdness on my end that required a full cargo clean to resolve itself. Turns out stable toolchain is fine after all.


Remove Python 2 support, require 3.5+

Adjust dependencies and conditional imports/functions that distinguished
between Python versions 2 and 3.
I purposely skipped adjusting code like the following since that should be part of a general native coroutine sweep (see #93).
# py2-compat
raise gen.Return(kernel_id)

Closes: #63

Thanks, Kevin!


Contact

Hi team,
Can you please contact me by mail -<EMAIL_ADDRESS>Thanks,

Better late than never: why?


Upload not working in React component using wallet adapter

Hello,
i am using wallet adapter with the example from the docs.
Creating a new storage account works, I can sign it with phantom wallet but uploadFile throws this error:

Do i need to pass in a private key and create a local wallet? That would mean I can not use it in combination with just the wallet adapter?
This is the code:
`
const [file, setFile] = useState(undefined)
const [uploadUrl, setUploadUrl] = useState(undefined)
const [txnSig, setTxnSig] = useState(undefined)
const wallet = useAnchorWallet();
const onSubmit = async (event: any) => {
    event.preventDefault()

    const drive = await new ShdwDrive(CONNECTION, wallet as AnchorWallet).init();

    const accounts = await drive.getStorageAccounts("v2");
    const acc = accounts[0].publicKey;
    const getStorageAccount = await drive.getStorageAccount(acc);

    const upload = await drive.uploadFile(acc, file);
    console.log(upload);
    setUploadUrl(upload.finalized_locations)
    setTxnSig(upload.transaction_signature)

}

`

So looks like AnchorWallet does not support signMessage in walletAdapterReact 🤔

Thank you for letting us know. We will make the needed updates in the docs.

@GummersGG please reopen this issue as it may be a bug that requires some attention.

Ok I fixed it, looks like the docs where outdated. When I just pass in wallet instead of AnchorWallet it works since wallet implements signMessage: const wallet = useWallet(); const drive = await new ShdwDrive(CONNECTION, wallet).init();

@Woody4618 Can you please share a link of the example you were working from that had wallet as AnchorWallet for react? Our web example for react and the readme both don't use this.


[Feature request] Add option to send URLs with POST values

I have been using your extension for some months now, and I LOVE IT! It is simple and effective. However, I am currently facing a new use case that this extension is not covering now, but I think that could be added easily and it would add a lot of value. I mean to add a feature to send URLs with POST instead of GET. GET is ok in most cases, but sometimes the data you need to pass to invoke certain URLs is not visible in URL arguments (GET method) but embedded inside forms (POST method).
There is an extension called Get2Post & PostForm which wisely allows you to write the variables as regular URL parameters (i.e. using the http GET method), converts them into POST variables and invokes a POST method. This is nice, but pretty limited, as that extension only allows one URL each time it is invoked. Adding a POST option to your extension would be great. I am pretty sure that other users could benefit from this new feature as well, as it is quite common that responses to forms are not visible in the URLs, but embedded in the POST body.
Let me explain my issue. This way you will realize how your extension could cover it. Regularly, I need to check blocks of 10 to 30 IP addresses in www.ipvoid.com/ip-blacklist-check/, but the IP is not a visible argument, but it is passed in the variable IP of the POST form. It forces me to fill the form each individual time. Imagine how great it would be to write all the www.ipvoid.com/ip-blacklist-check/?ip=xxx.xxx.xxx.xxx in a list and specifying that I need the data to be sent by POST. I am pretty sure that other users, like me, currently don't have any easy way to make bulk calls like this when forms are involved, so I think they would really appreciate this extra feature as well.

Thanks for your comment, I've not developed this extension for quite a while, but this is an interesting use case. I'll take a look at how a convert to post functionality might work. The code needs some refactoring, I wrote it long ago and have gotten better at writing code, so this might spark that refactoring. Thanks again, I'll update this conversation if I get a chance to make that feature!

Hi Tiem,
Glad to know that you also see the value in this use case and that you may
consider to implement it. Eager to see the results.
Thank you very much,
·· joan
Missatge de Tim Jones<EMAIL_ADDRESS>del dia dc., 21 d’oct.
2020 a les 19:44:

Thanks for your comment, I've not developed this extension for quite a
while, but this is an interesting use case. I'll take a look at how a
convert to post functionality might work. The code needs some refactoring,
I wrote it long ago and have gotten better at writing code, so this might
spark that refactoring. Thanks again, I'll update this conversation if I
get a chance to make that feature!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tdj28/tab-snap/issues/1#issuecomment-713743701, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AG6T3M3EAVPEABC2NNOJE73SL4MZNANCNFSM4NPEOMQQ
.

One of the very best extensions I have ever used. Let me know if you need any monetary support I am sure we could come up with some way to publicly support this extension.


corrections to units_metadata text

I've just read through the units_metadata text that was implemented today by PR #480 in the rendered versions, and noticed:

An omission which is so silly that it's funny, namely that I forgot to add the new units_metadata attribute to Appendix A. :smile: My proposed text is "Specifies the interpretation (on-scale, difference or unknown) of the unit of temperature appearing in the units attribute."
Some bolding which was included for clarity during the discussion and should have been removed.

I have prepared corrections for these in PR #495, and taken advantage of the opportunity to clarify the words in one place ("for guidance only regarding temperature: unknown, not as a CF convention") and to insert a missing comma.
Please could someone check and merge?

Caught just in time - many thanks, Jonathan! It looks fine to me - merging.


fix: release 1.9.1

Description
Changed

add option to configure sourcetype for traps and polling events
integration tests moved from AWS to github-actions

Fixed

missing mongodb's persistence and trap's loadBalancerIp in values.yaml file
securityEngineId set from inventory.csv

Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] Bug fix
[x] New feature
[x] Refactor/improvement

How Has This Been Tested?
Integration tests, unit tests, manual tests
Checklist

[x] My commit message is conventional
[x] I have run pre-commit on all files before creating the PR
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have checked my code and corrected any misspellings

Codecov Report

Merging #754 (c1e6c6e) into main (54f3f0d) will increase coverage by 0.03%.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #754      +/-   ##
==========================================
+ Coverage   86.68%   86.72%   +0.03%
==========================================
  Files          26       26
  Lines        1810     1815       +5
==========================================
+ Hits         1569     1574       +5
  Misses        241      241

Impacted Files
Coverage Δ

splunk_connect_for_snmp/__init__.py
100.00% <100.00%> (ø)

splunk_connect_for_snmp/snmp/auth.py
100.00% <100.00%> (ø)

splunk_connect_for_snmp/snmp/tasks.py
91.01% <100.00%> (+0.10%)
:arrow_up:

splunk_connect_for_snmp/splunk/tasks.py
89.70% <100.00%> (+0.23%)
:arrow_up:

:tada: This PR is included in version 1.9.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Revise credentials API.

Overhaul of the credentials API! This is why I was asking about our breaking changes policy a while back. ;}
There are a few things I did here:

Removed the "get_" prefix from getters, as in #182.
Renamed AWSCredentialsProvider to ProvideAWSCredentials, since traits should be transitive verbs, (e.g. Display, Clone). "prefer transitive verbs, nouns, and then adjectives"
Turned str/String values into Path/PathBuf where the former was in fact a file system path. Types FTW!
Use canonical names for the two AWS credentials for methods on AWSCredentials: aws_access_key_id and aws_secret_access_key.
Revised the API of ProfileCredentialsProvider so it has two constructors, and a getter and setter for each property that would ever make sense to mutate.

The first constructor (new) tries to use the credentials file at the default location using the "default" profile. If the HOME environment variable isn't set and it can't determine the path to the file, it returns an error.
The second constructor (with_configuration) lets the user specify the path to the credentials file and the name of the profile to use.
The confusing with_profile method, which sounds like it would temporarily change the profile used for a block of code, but actually mutates the value, is removed in favor of a more standard setter: set_profile.

Revised documentation to be consistent across all credentials types and added docs where they were missing.
Revised the API of DefaultAWSCredentialsProviderChain so that it has two constructors and no mutating methods.

The first constructor (new) creates a chain using the default ProfileCredentialsProvider constructor. This is the most common case.
The second constructor (with_profile_provider) lets the user pass in a previously constructed ProfileCredentialsProvider, allowing them to customize it to their liking with that type's own API. This is the only one of the three providers that has customizable values, so this constructor satisfies any customization needed for the provider chain.

:crying_cat_face:
I ran rm Cargo.toml then RUST_LOG=info cargo test --features s3 and get
tests/s3.rs:33:18: 33:31 error: the trait `rusoto::credentials::ProvideAWSCredentials` is not implemented for the type `core::result::Result<rusoto::credentials::DefaultAWSCredentialsProviderChain, rusoto::error::AWSError>` [E0277]
tests/s3.rs:33     let mut s3 = S3Helper::new(DefaultAWSCredentialsProviderChain::new(), &region);
                                ^~~~~~~~~~~~~
tests/s3.rs:33:18: 33:31 help: run `rustc --explain E0277` to see a detailed explanation
tests/s3.rs:33:18: 33:31 note: required by `rusoto::s3::S3Helper<'a>::new`

(snip)
error: aborting due to previous error
INFO:cargo::ops::cargo_rustc::job_queue: end: rusoto v0.12.1 (file:///Users/matthew/Documents/rusoto) => Target(test: s3)/Profile(test) => Host
Build failed, waiting for other jobs to finish...
(snip)
Could not compile `rusoto`.

I'm a scrub and still on rustc 1.6.0 (c30b771ad 2016-01-19) .

Not surprising... I haven't even been running the integration tests for the last several PRs because they're not part of CI (and of course, they create real resources, so I'd need to set up an AWS sandbox account or something.) The integration tests are mostly for the helper types anyway, right? In which case we should move them to rusoto_helpers. I'm not sure what the best approach for testing the generated Rust code would be, but that's a big topic in and of itself.

The tests we've been referring to as integration tests are really end to end tests.  Yes, since they create real resources it's a bit tougher to test them.
In a more perfect world we'd have canned, fake AWS responses for unit testing in this crate and integration/end to end tests in rusoto_helpers.  I think we're moving to address the latter at least: https://github.com/rusoto/rusoto_helpers/issues/4 and https://github.com/rusoto/rusoto_helpers/issues/3 .
This does highlight the issue of when to manually run these integration/end to end tests.  I'd prefer to run them before code hits master but am not married to that.  The scenario I want dearly to avoid is having master be in a bad state and we find a bug we need to fix in a released crate.  Since we're doing github flow style development that would mean rolling forward, which increases our workload.  If it was my day job I'd be fine with this but as a side project it concerns me.

Since the integration tests aren't part of CI, and because the dependent relationships between the three crates under the rusoto organization are in flux (e.g. does one depend on the latest published version of the other, the Git HEAD, or a locally checked out copy?), I think master has already been very unstable. :\

Updated the test files that use DefaultAWSCredentialsProviderChain::new to also call unwrap. I think that should make them work!

test all_s3_tests ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured

:+1:


[backport] Fix error message broken

Backport of #3669

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 11d98dbc55c46f4c307cdae5aa04f137e86f0ea3, target branch v7) succeeded!


Not an issue, Just  a question.

I love what you have done with the software! I have a question that you may or may not be able to answer. If some more values for components were compiled, 1. would there be a simple solution to modify the .brd files to hold this information, 2. Would it be possible to have your software display this information with selected components.
i.e. the voltage that should be measured at test points, caps, pins in a certain power state. and possibly resistance or package type/size of certain components.
I have very limited programing knowledge, outside of what i did years ago. But i was seriously considering putting some effort into building a solid app that would give you a bit more information without having to jump back and forth to the schematic. by no means a replacement for actually having a schematic as well.
again, we all appreciate the work that you have done here!

I think it is what @pafmaf wants to achieve with the annotations.json file. He exposes some pretty nice ideas on #11 so you should leave a comment there.

would there be a simple solution to modify the .brd files to hold this information

Not quite modifying .brd I think, but yes, as piernov said, how to store that (and other extra info) is one issue (11).

resistance or package type/size of certain components.
the voltage that should be measured at test points, caps, pins in a certain power state.

What do you exactly mean by 'power state', things like charging / not charging / etc.?
The way you describe it, there's more than one annotation per component or pin, having a distinct category.
There are values like pad size or component size that are useful for rendering, so I'd separate that from other 'user annotations'.
<...>
// parts / components
"<unique_part_id>" : {
	{
		// useful for rendering
		"package" : "really_big",
		"type" : "<resistor>|<cap>|<ic>|<connector>",
		"<field>" : "<value>",

		// user annotations
		"annotations": {
			"value" : "10k",
			"note" : "not critical",
			"<annotation_group>" : "<raw_string>"
		}
	}
},

// pins / testpads / vias
"<unique_pin_id>" : {
	{
		// useful for rendering
		"diameter" : "0.3mm",
		"<field>" : "<value>",

		// user annotations
		"annotations": {
			"value_charging" : "5.3V",
			"value_battery" : "0.8V",
			"<annotation_group>" : "<raw_string>"
		}
	}
}
<...>

:thought_balloon: Thinking about it now, it might even be a good idea to have 2 seperate files for it, ie. annotations and board_extra or something. Since annotations may be use-case specific, while components and pad sizes are simply data that could've been in the original board file in the first place.
That way we could group annotations by their keys and you could then dis- or enable those annotation groups, e.g. value_charging via a checkbox/listbox or something in the UI,
Annotation Groups
=================
[X] value_charging
[ ] value_battery
[ ] note

without structuring the annotation source too much. So "states" or "groups of annotations" are always user defined.

Here's a nice description of Power States S0 through S6.
http://arstechnica.com/civis/viewtopic.php?f=8&t=354552

Annotations feature from @inflex should do what you want. Available in R7.3.


Upgrade to hibernate-jenkins-pipeline-helpers 1.18 -- and configure the version on CI instead of in Jenkinsfile

Upgrade to 1.18 to avoid buggy notifications.
See https://hibernate.zulipchat.com/#narrow/channel/132096-hibernate-user/topic/Jenkins.20Notifications
Full changeset:
https://github.com/hibernate/hibernate-jenkins-pipeline-helpers/compare/1.13..1.18
https://github.com/hibernate/hibernate-jenkins-pipeline-helpers/compare/1.17..1.18
Don't configure the version in Jenkinsfile so that it's easier to upgrade next time.
See https://ci.hibernate.org/manage/configure#global-untrusted-pipeline-libraries to change the (default) version globally for all projects.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.

Thanks. It seems CI failures are unrelated, so I'll merge.

Note: I cannot access https://ci.hibernate.org/manage/configure#global-untrusted-pipeline-libraries (not sure if I should be able to).

You're probably not in the CI admin team on GitHub. Just ping me on Zulip if you need to be there.


Upgrading to Java 7 (Issue #33), Guice 4 (Issue #27), and Curator 2.8.

Does not take advantage of any features provided by these yet, just moving the versions and doing a minimal amount of cleanup.

+1
Too many upstream projects are moving to Java 7 to hold off on this much longer.


Move LibC::TimeSpec and LibC::TimeVal to libc.cr.

Thanks!! It should probably be better to have all libc definitions in a single file so that order of definition is less annoying.