Don't require react-dom

I use a custom react renderer that is not targeting the DOM thus I don't have the react-dom package in my project at all. This ends up giving me this error:
ERROR in ./~/mobx-react/index.js
Module not found: Error: Cannot resolve module 'react-dom' in D:\Code\symphony\node_modules\mobx-react
 @ ./~/mobx-react/index.js 198:8-71

Looking at mobx-react/index.js it doesn't look like react-dom is critical. How about making the package optional and permanently disabling your developer tools unless you have react-dom available?
A future improvement could be to support devtools with an arbitrary react renderer.

Cool :) Could you check whether import {observer} from "mobx-react/native" works for you? In React Native the DOM isn't available either, so in the native build the dependency is stripped out. I think there is nothing React Native specific in there, so it might work out of the box in your case.

That produces the same problem since it instead of react-dom requires react-native. Since I have a custom renderer, I have neither.
ERROR in ./~/mobx-react/native.js
Module not found: Error: Cannot resolve module 'react-native' in D:\Code\symphony\node_modules\mobx-react
 @ ./~/mobx-react/native.js 198:8-65

Ok, I'll setup a "mobx-react/no-dom" build in the next few days. In the
meantime you could try testing with all the ReactDOM stuff stripped out (if
you didn't do that already). Shouldn't be that much.
Op wo 27 apr. 2016 om 20:07 schreef Kasper Sandin<EMAIL_ADDRESS>
:

That produces the same problem since it instead of react-dom requires
react-native. Since I have a custom renderer, I have neither.
ERROR in ./~/mobx-react/native.js
Module not found: Error: Cannot resolve module 'react-native' in D:\Code\symphony\node_modules\mobx-react
@ ./~/mobx-react/native.js 198:8-65
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/mobxjs/mobx-react/issues/42#issuecomment-215175638

What I did to work around it was to just add an empty module named "react-dom.js" to node_modules. After that mobx was able to run fine!

I just pushed a patch to master. Would you mind testing it by cloning this repo and after that, in your own repo, run npm install <checkoutpath>, and use the mobx-react/custom as import.

It works fine! Thanks for the quick support!
I'm not a big fan of patches though, but that's a question for another issue :). GG~

Can you explain in more details what should I do in order to eliminate this problem?
Im getting:
webpackHotDevClient.js:233 Error in ../test/~/mobx-react/index.js Module not found: 'react-dom' in /Users/niryo/git/test/node_modules/mobx-react
The error comes from this line:
 @ ../test/~/mobx-react/index.js 2:116-136
I tried using: import { observer } from 'mobx-react/custom';
but it doesn't work.

using /custom is the correct approach.After that your stacktraces should
mention mobx-react/custom.js not index.js. If that is still the case,
you are still referring to the wrong variation somehow
Op zo 3 sep. 2017 om 10:24 schreef Nir Yosef<EMAIL_ADDRESS>
Can you explain in more details what should I do in order to eliminate
this problem?
Im getting:
webpackHotDevClient.js:233 Error in ../test/~/mobx-react/index.js Module
not found: 'react-dom' in /Users/niryo/git/test/node_modules/mobx-react
The error comes from this line:
@ ../test/~/mobx-react/index.js 2:116-136
I tried using: import { observer } from 'mobx-react/custom';
but it doesn't work.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/mobxjs/mobx-react/issues/42#issuecomment-326791432,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvGhOqbhmIBH5c6I7mip9y4MkMiDoNXks5semJKgaJpZM4IRKvu
.

@mweststrate What is the actually difference between the different renderers?
Is it only for development purpose? what will be the implications of using mobx-react/custom.js?
Im building a library that would be used from both react and react-native projects, and Im exposing mobx-react observer func.
what is the suggested way to do this? exposing observer from mobx-react/custom?

From top of my head the main difference is dev tool integration, which uses
real dom nodes for highlighting. So custom should be safe in that case. But
you could asks advice to always use the standard, and set up a webpack
alias when targeting RN
On do 7 sep. 2017 12:44 Nir Yosef<EMAIL_ADDRESS>wrote:

@mweststrate https://github.com/mweststrate What is the actually
difference between the different renderers?
Is it only for development purpose? what will be the implications of using
mobx-react/custom.js?
Im building a library that would be used from both react and react-native
projects, and Im exposing mobx-react observer func.
what is the suggested way to do this? exposing observer from
mobx-react/custom?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mobxjs/mobx-react/issues/42#issuecomment-327763605,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvGhIHKC39FUUjs1PXzOOYyyAi3xGogks5sf8kEgaJpZM4IRKvu
.

import { observer } from 'mobx-react/custom' Does work! Thanks! :)


Modify defer to use native task queue via promise if available

Hi there
I wonder if we can use native defer when run on environment that has Promise interface available?
Take advantage from browser optimized task queue.

Hi @jdalton
I can not get this to pass TravisCI but I glad you got the idea.
This approach allow some room for browser to optimize in particular area.
In my opinion the accuracy should come first in setTimeout optimiztion. (Best effort for accuracy)
In the other hand promise optimization will focus on performance and maybe memory consumption.
Please refer to ES6 draft
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-jobs-and-job-queues
where they introduce the idea of task queue in ES6 to use in Promise.
For the inconsistent:
Native defer will be triggered before setTimeout.
Please refer to some test on node.js repo
https://github.com/joyent/node/issues/7714#issuecomment-51993171
For the polyfill promise that comply to Promises/A+ specification (not jQuery one) my best guess is that it also use setTimeout to simulate the effect. (AFAIK no other mechanism to accomplish this in ES5) So for polyfill Promise it will do essentially the same as setTimeout 1.

I don't know what to do with the code in this case but this will do just to demonstrate the idea.
Should I just add lint directive to tell that Promise is a global object?
I'm open to hear review / suggestion / recommendation from you guys.

I'd be more keen on using setImmediate over the Promise based implementation, but I can relate to the arguments in https://github.com/jashkenas/underscore/issues/466. Either way I would be skeptical of using a Promise based implementation of defer to avoid issues from Promise polyfills


Adding context timeout for Ansible proxy

Description of the change:
Add timeout in the watch feature for Ansible operators to avoid the hang scenario when a resource without proper RBAC is requested.
Motivation for the change:

https://github.com/operator-framework/operator-sdk/pull/1638
https://bugzilla.redhat.com/show_bug.cgi?id=1701041

Note
Also, solved by https://github.com/kubernetes-sigs/controller-runtime/pull/663.
Steps to test it locally

Build an ansible image with this PR
Use the image in an ansible POC ( can be the Memchaced sample )
Remove the required permission to perform some operations defined in the playbook/roles. E.g to create a resource.
After installing the CR which will call the playbook/role check in the logs the permissions issues and then verify that the CR will be updated properly with the error faced.
PS.: The tests made to verify this fix was by removing the deployment permission.

@camilamacedo86 @shawn-hurley @fabianvf The BZ for this issue was verified and closed over a month ago. Is this PR an improvement on that fix, or should the BZ be re-opened?

@joelanford I understand that the Bugzilla was closed because automatically when we close the PR #1638 and carry on @shawn-hurley code here.

Will this PR be made obsolete (or at least much simpler) with https://github.com/kubernetes-sigs/controller-runtime/pull/663?

Hi @joelanford,
Sorry, your comment https://github.com/operator-framework/operator-sdk/pull/2264#issuecomment-560968461 is not clear.

EDIT: Looking at that other PR closer, I think it is required to be merged before my suggestion will work.

What do you mean with https://github.com/operator-framework/operator-sdk/pull/2264#issuecomment-560968461? What suggestion? Here or there?

Hi @joelanford,
I think that all are addressed here properly now. Could you please check this one?

/cherry-pick v0.17.x


Use VSCode from unofficial flatpak NO_JIRA

Imperfect but better than using the broken rpm.
see microsoft/vscode#115784

Will close this as Microsoft have fixed VSCode with version 1.60.0


Mine page: add the option to edit and delete expense

blocked by https://github.com/redhat-beyond/Xpense/pull/83 that blocked by #111
relevant issue: https://github.com/redhat-beyond/Xpense/issues/93

after delete:

edit page:

#111 was merged
Could you update the top comment?

#111 was merged Could you update the top comment?

fixed
thanks


Add permission for SM studio to describe apps

Describe your changes
Added permission for SM studio to describe apps when domain resource isolation is enabled
Checklist before requesting a review

[X] I updated CHANGELOG.MD with a description of my changes
[X] If the change was to a module, I ran the code validation script (scripts/validate.sh)
[X] If the change was to a module, I have added thorough tests
[X] If the change was to a module, I have added/updated the module's README.md
[X] If a module was added, I added a reference to the module to the repository's README.md
[X] I verified that my code deploys successfully using seedfarmer apply

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

AWS CodeBuild CI Report

CodeBuild project: AIOpsModuleTestsInfrastruct-doMLXEYsnmxr
Commit ID: eddc46ae0f106d8a0ac94fc207a5fa030181bfe0
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AIOpsModuleTestsInfrastruct-doMLXEYsnmxr
Commit ID: 57ac66dc0c83cc202258c73efafede44cc7487be
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AIOpsModuleTestsInfrastruct-doMLXEYsnmxr
Commit ID: eddc46ae0f106d8a0ac94fc207a5fa030181bfe0
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Add kafka streams support to the sidecar

enable security in kafka-streams.yml
update Dockerfile-Slim
update pom.xml to enable Chao Monkey
combine the certificate file into client.truststore

 Add kafka streams support to the sidecar kafka-sidecar


'ascii' codec can't encode characters in position,ordinal not in range[128]

i had upgrade from 4.8 to 4.10 ,but impala query failed

ttypes.py line 3922
oprot.writeString(self.statement) to oprot.writeString(self.statement.encode('utf-8'))


Framework-HyperV: Introduce runSetupScriptOnlyOnce (Fix #338)

Default behaviour is not changed.
This can be enabled as follows in case a test needs it:

  <setupScript>.\Testscripts\Windows\tester1.ps1</setupScript>

  <setupScript>.\Testscripts\Windows\tester1.ps1</setupScript>

  <runSetupScriptOnlyOnce>enable</runSetupScriptOnlyOnce>

Can you please put test results from a current TC that uses a SetupScript and one that uses this new tag?

Can you please put test results from a current TC that uses a SetupScript and one that uses this new tag?

#Test result from existing test:
Test Results Summary
ICA test run on 11/05/2018 10:31:45
VHD under test E:\v-santy\VHDs\TEST_VM_VSS_BACKUP.vhd
ARM Image under test  :  :  :
Total Executed TestCases        1 (       1 Pass,        0 Fail,        0 Abort)
Total Execution Time(dd:hh:mm) 0:0:3
XML file: TestConfiguration
#Sr. Test Name : Test Result : Test Duration (in minutes)

VHDX-RESIZE-TO-BIGGER512 : PASS : 3.5

===========================
#Test result from a tester test that uses this flag:
You may see the tester test code is available at:
https://github.com/santoshx/LISAv2/commit/2b8e561fd550291e824df4e6decb9441f8f9000a
Test Results Summary
ICA test run on 11/05/2018 10:48:32
VHD under test E:\v-santy\VHDs\TEST_VM_VSS_BACKUP.vhd
ARM Image under test  :  :  :
Total Executed TestCases        1 (       1 Pass,        0 Fail,        0 Abort)
Total Execution Time(dd:hh:mm) 0:0:2
XML file: TestConfiguration
#Sr. Test Name : Test Result : Test Duration (in minutes)

TEST-RunSetupScriptOnlyOnce : PASS : 2.63

@santoshx please fix the error of PSScriptAnalyzer, we had fixed the errors in previous PR, but now it returns error again

@lizzha  fixed PSScriptAnalyzer error


Update Health probes matching conditions

We using httpd (apache 2.4) pods in development with enabled BasicAuth but default status code are setups to 200.399 and on basic auth code is 401 and show unhealthy and the page does not work.
If we change status code range from default to 200-403 all start working.
Mine question is, it is possible to set up matching conditions with some annotations or some other way that we do not need every time to adjust that by hand.

Zdravo @jkljajic
It looks like you are health checking an endpoint, which requires authentication.  Then your workaround is to allow for a 401 (error) to be accepted as an indication of a healthy backend. Is my understanding correct?
We don't currently have a way to define a range of status codes accepted. Obviously App Gateway has that config,  I don't see a way to define status code range in the livenessProbe in Kubernetes.  We could add something - first thing that comes to mind is another annotation - but this is not ideal.
Would you be able to create an un-authenticated endpoint on your backend? Something like /healthz, which could return 200? (I presume there's no way for you to have an authenticated health probe? You could technically add a custom header to the liveness probe in Kubernetes; If you use token-based auth - that could be the right step forward.)
Another option - you could deploy a side car (or another process within the same container, or another listener within the existing process), which would be on the same pod, but a different port.  Then you could specify the liveness/readiness probe to be on that particular port.  This is a new feature we just merged - https://github.com/Azure/application-gateway-kubernetes-ingress/pull/482 (We'd have to release a new version for this to land in the Helm repository)
Let me know what path you choose. I'll consider the question answered and will close this issue.  If none of these options work for you - re-open the issue and we can dig deeper into finding a solution for this scenario.

Hi thanks for your swift response and you help a lot, those are all good solutions and I will take one of them for mine issue, only issue I can see is that in any case if some pod is down for some reason and /healtz return 200 clients will also see that problematic page or that pod. It would be nice that we have some option in Ingress that manage and setup that nice feature for matching condition even true annotations.
And one more thanks for clarifying that for now, Appgw ingress do not have that option and maybe will have some day.
BEst Regards


Does the Flogo and Lambda tutorial need an update?

What is your question? The Flogo and Lambda tutorial makes use of the Flogo CLI to build a new app. With the latest version of the Flogo Web UI, you can build the zipfile you need to deploy from the UI so should the tutorial use that approach or keep the CLI?
Flogo version (CLI & contrib/lib. If unknown, leave empty or state unknown): 0.5.6

Perhaps both or at least a reference to the ability for building apps with shim triggers directly for the ui?


crash binja by putting folder as filename argument for parse_types_from_source_file

reproduction
Architecture.parse_types_from_source_file(bv.arch, "/tmp")

I can't reproduce this -- might be from the other fix just put onto dev. Can you confirm?

not binja issue

Fixed in dev.

I lied four hours ago. ;-) My first fix broke windows so it never passed the CI. Current version building now should be deployed soon and includes the fix.


NAudio > Memory Leak

MMDevice  has a property of type AudioEndpointVolume
AudioEndpointVolume  is dispossable.
MMDevice is not.

are you sure there is actually a memory leak possible? Have you got a repro?
The big challenge in WASAPI interop is mixing the world of .NET objects which are garbage collected if nothing references them any more, and COM objects which use reference counting. I initially put disposables on everything, to allow you to deterministically free up COM objects. But I found it caused no end of crashes with shared objects getting freed while other things were still actually requiring them. The whole thing needs revisiting in the future, but simply cascading Disposable calls down causes more problems than it solves.

Yes, we are encountering a memory leak with Naudio.
We are newing a MMDevice every 30 seconds or so.
DotMemory says we are leaking.
If we call microphoneDevice.AudioEndpointVolume.Dispose() before
the microphoneDevice goes out of scope, the leak appears to go away.
BTW I note that  AudioClient is also disposable.
To make matters worse a new instance is newed up every time the
AudioClient property is called on MMDevice. WHich was a bit confusing
until I looked at the source.
I agree the mix of Com and .net can be tricky.

I see, creating lots of MMDevices would cause this problem. As I said, the whole area probably needs revisiting, but if you have a fix that you are able to thoroughly test then feel free to submit a PR

That leak is still present.
I'm making an app that regularly checks the status of audio devices and memory usage keeps on growing.
The app literally only lists audio devices periodically so there's no chance it's some other part of the code.


1.1rc2 crashes on Windows with -h option

Running godot_win64-1.1rc2.exe -h  crashes after displaying the help text.

Oh yeah, I remember noticing a crash with win32 1.1beta1 too.
I tried again today, and instead of crashing, 1.1beta1 and 1.1rc2.head display these errors at the end of the help :
WARNING: ObjectDB::cleanup:  ObjectDB Instances still exist!
At:  core\object.cpp:1733
ERROR: Main::start:  Condition ' !_start_success ' is true. returned: false
At:  main\main.cpp:882
ERROR: Main::cleanup:  Condition ' !_start_success ' is true.
At:  main\main.cpp:1462


Appendix section appears twice in documentation

I think this is a mistake. Appendix appears twice in the book.

I could easily create a pr to move the appendix to the end of the book (to section 18)

The idea was to have one Appendix for the Cairo part and one for the Starknet part. Do you think it's a bad idea to have this fragmentation?

I think it is not clear to the reader which is for either Cairo or Starknet. I think using a separator like: Appendix(Cairo), Appendix(Starknet) will make it more obvious to readers @enitrat

Ok, you can modify this if you think it is clearer

Hi @enitrat, I would like to fix this issue if it's still available.

@princeibs  any update?

Almost done with the PR. Sending it ASAP @TAdev0


Admin Frontend Issues

The following issues have been observed
Contact/Account in ContactExtensionBundle

[x] Wrong space distribution when sidebar is activated and browser width is between 900px and 1090px
datagrid:

[x] Styling of content, when sidebar overlaps content

[x] nested table view: error when resizing browser

[x] Resolution 1440px does not comply with sidebar. In fact, the navigation should be collapsed:

problem 1,2 and 4 are caused by the inconsistent responsive-styling of the three-column-layout. this should be fixable by adapting the layout.scss of the adminbundle
(see https://github.com/sulu-io/sulu/issues/1600)

i was not able to reproduce problem 3 (nested table view: error when resizing browser). does this happen when a sidebar is shown?

everything should be fixed ... @turbo-ele reopen if ´am wrong!


Fatal error

If I set camelcase to false, I get a fatal error message when I execute the linter.
$ solium --dir . produces this error message:

[FATAL ERROR] An error occurred while linting over /.../.../contracts/Contract.sol: A valid configuration object was not passed. Please see http://solium.readthedocs.io/en/latest/user-guide.html#configuring-the-linter for a valid config format.

Here's my .soliumrc.json
{
  "extends": "solium:all",
  "rules": {
    "camelcase": false,
    "quotes": [
      "error",
      "double"
    ],
    "imports-on-top": "error",
    "indentation": [
      "error",
      4
    ],
    "whitespace": "error",
    "mixedcase": "warning",
    "semicolon-whitespace": "error",
    "operator-whitespace": "error",
    "deprecated-suicide": "warning",
    "pragma-on-top": "error",
    "no-unused-vars": "warning",
    "arg-overflow": [
      "warning",
      3
    ]
  }
}

@kangarang Please set it to either "off" or 0 and try again
False is a value you use for v0 config files. Since you're using the v1 format, you can't user Boolean values

@duaraghav8 ahh i see, thank you. yes, that works nicely.


Let all functions return error, instead of panicing ?

Hello! I read your tweet-tree on UUID draft working, and I am exited to explore this repository!
In Golang, it's more popular to return error than  panicing, especially for a large application.
So it seems better to let functions which may panic return error.
If you confirm this issue is actually meaningful, please check a PR which I send later.

My working done. Now I wonder that I can PR directly to main branch... because library's usage changed a little. It seems this repository do versioning.
The branch is here. Thank you.

Thank you for your comments!
New() and NewString() panic on error for the convenience of users because, in common environments, random number generators almost never fail. Developers concerned about errors can still call Generate() of Generator directly.
GenerateCore() and FromFields() panic on invalid arguments because such inputs usually represent some bugs that should be fixed, rather than handled as an error. Panic here is like an AssertionError and should not be recovered.

Thank you for your replying!
I may see your points. When I want to avoid panic, I can use Generate() to get Id.
And yes, as long as using Generate(), whether it may panic or not is perfectly controllable by a careful developer. Thus using it will not be a problem.
But in case we use New() and NewString(), there a chance to panic is not zero. So using these 2 methods for a large application seems uneasy for me (Excuse me for sticking it. )
Is this "unrecoverable" approach is ordinary for UID library?

I followed the design of this: https://pkg.go.dev/github.com/google/uuid

I read it, and panic sometimes appears. It seems not a big problem to use panic on some particular point.
Thank you for your sharing, it was informative and helpful for me.
Here is my understanding by reading the source.

Version1 has only 1 method NewUUID to generate an uuid, and it may panic.
Version4 has 4 methods to gen.

New(), NewString() may panic, are the same to scru128/New(), scru128/NewString().
still, NewRandom() does Not panic.

NewUUID() returns error on failure, according to the signature.

Inside NewUUID, randomBits is called which may panic when it fail to read from /dev/urandom.
And as you told me, using panic on failure to read from OS RNG stuff. It is new to me! Thank you.


Game incompatibilty 13.2

1.The Witcher 3 can not launch until I delete AM.
2.With 13.2firmware,streaming by usb dose not work.TCP can work but when stop streaming and then I want to stream by TCP again,it reports a QR code until I reboot or I can not use sysdvr again.It means that if I stream successfully and exit,next time I have to reboot.

You're mixing things up a bit here, i'll answer in order

1.The Witcher 3 can not launch until I delete AM.

Patches are not supported for that game as you saw in the other issue, nothing that can be done here.

2.With 13.2firmware,streaming by usb dose not work.

This is a problem with your setup probably you installed the wrong driver

TCP can work but when stop streaming and then I want to stream by TCP again,it reports a QR code until I reboot or I can not use sysdvr again.It means that if I stream successfully and exit,next time I have to reboot.

You don't have to stop streaming in the settings, if nothing is connected sysdvr won't do anything. Anyway when you get the QR screen usually launching a compatible game fixes it.  (Actually there seems to be a bug that sometimes it needs a reboot but that's rare and i can't reproduce it)


[WIP]Translate Part1

need check translate.

This is pretty amazing, but the only problem I see with it is that it seems to be directly changing my english files. Would it be possible to put all your work into a separate folder?

@AriaFallah You are right！Sorry, I didn't think that. I will add new folder put my translate file, Thanks.

@neighborhood999 no worries! Thanks for making this.

@AriaFallah Sorry！XD. It's my wrong haha. I will open this PR on my fork repo :p
If I finish this work, I will send new PR for you, so I close this.

@AriaFallah thanks your tutorial！I think this really helpful, so I want to translate for my friends...etc for learning.


Introduce PACKED macro

Introduce PACKED macro for cross-platform structure alignment, frequently used by VirtIO device implementations in the semu.

Thank @shengwen-tw for contributing!


Feat/add service filter nomad sd

This implement #11465

@roidelapluie @LeviHarrison this PR is ready for review

I am puzzled by this. Can't we filter the services at the API level?
I'd say if that is not possible at the API level, this should not belong to Prometheus, but be done via relabeling.

Hi @roidelapluie and thanks you for your review.
I just use the same logic that what's done on consul service discovery.
I think it's important to keep some helpers on most common usecase like filter a SD by its name using a single line config instead of doing this multiline config block.
relabel_configs:
  - source_labels: [__meta_nomad_service]
    regex: "openweather"
    action: keep

Nomad don't provide a way to filter a list of service the API levelm as well as it's done in consul.
What do you think?

Can we use Filter in QueryOptions ?

@roidelapluie I did some research, and try to use the QueryOptions Filter without sucess.
I ask my question to hashicorp and here is the reply: https://discuss.hashicorp.com/t/use-query-filter-on-service-list/46656

my comments still stand

Looking at this during the bug scrub again.
Since there was no follow-up since the last pass, we'll close this PR for now.
@quentin9696 if you come back working on this, feel free to re-open. We assume the feature request in #11465 is still valid and would welcome any further help with it.


Extends README and adds service discovery helper methods to NetSuite class

My main goal with this PR was to make it a bit easier to get started with this library if you are unfamiliar with NetSuite's SOAP API (like me!). I ended up adding some helper methods that I found helpful while I was trying to learn the ropes.
This PR includes:

Helper methods in netsuite.client.NetSuite to facilitate service discovery
"Getting Started" information about programmatic usage and configuration to the README
Description of how to use the service discovery helper methods added to README (thanks to @WesleyBatista for helpful snippet in https://github.com/jmagnusson/netsuite/pull/3#issuecomment-434866711)

Push another commit and I’ll properly review/merge when I have the time 😊
On Fri, 7 Jun 2019 at 16:24, jjorissen52<EMAIL_ADDRESS>wrote:

@jjorissen52 commented on this pull request.
In netsuite/constants.py
https://github.com/jmagnusson/netsuite/pull/7#discussion_r291615336:

@@ -6,3 +6,150 @@
os.path.expanduser('~/.config/netsuite.ini'),
)
DEFAULT_INI_SECTION: str = 'netsuite'

+NAMESPACES = [
Yes, that list ended up being unnecessary. Should I do another commit to
remove it or do you want to modify in the merge?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jmagnusson/netsuite/pull/7?email_source=notifications&email_token=AABOS43LA6OCG2TQ6FL3XA3PZJVTLA5CNFSM4HLKNLKKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB25NNKQ#discussion_r291615336,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABOS43SFWT35CIWULHMCRDPZJVTLANCNFSM4HLKNLKA
.

I can't comment on most of the code in part because we're just starting our journey into the NS jungle but huge +1 on the additional docs - we used these to get up and going with some initial tests of our integration.

@jmagnusson Is it possible to give this a look soon? I plan to start using this package in one of my projects and I'd prefer to use it over my own fork.

Hi @jjorissen52, would you please upgrade it to user version 2019_2_0?

I'm going to close this because of all the changes that have happened. I might have time to take a look at this if you rebase against latest and move the documentation to the new dedicated docs.


JS: Switch from yarn to npm for helper deps

Update npm from 7.5.3 to 7.5.4 and stop installing yarn as a system
dependency (was only used to install helper deps), yarn is still
installed as a helper in npm_and_yarn/helpers/package.json.
Use npm ci to install helper dependencies, this command will bail
unless package.json and package-lock.json are in sync.

.github/workflows/ci.yaml

Yeah just pushed that up 👍


Update Github.json

Added GitHub Profile ReadMe Maker
Fixes Issue

Changes proposed

Screenshots

Note to reviewers

done, extra line? line-30 removed


High risk: malleability of proofOfResidency

The proof should have some way of defending against malleability-related attacks, such as including the prover's address in the proof.
This should be fixed before the production version!
Steps to fix:

Make sure Hub's proof function not only checks merkle root but also checks malleability. We could let the proof designers check for malleability in the verifier contract instead of enforcing this at the Hub level, making the protocol a little more flexible. However, I don't see a clear use for that. And if we can forget to check for malleability now, a third-party proof designer may forget to check it later, when it is more mission-critical. Thus, it would be slightly advisable to check it at the Hub contract, to put security over flexibility. But if a use case of that is found, it would be worth revisiting this
Implement appropriate tests for step 1 (or even do this step first)
Re-upload the proving and verifying keys to S3

Update: msg.sender can be a contract, and msgSender is too much added complexity to implement for V1. However, it is very much on the roadmap to avoid linkability of ID-related data (i.e., can send transactions from proxy accounts so nobody can triangulate you based many proofs you've done from one address). So, for now, checking msg.sender will be done by the individual Verifier contracts

Fixed in commit 2f651117f8f15eb38bf7e1cd2d62eaa6ea8610ef, but not closing until there is a more rigorous audit of malleability to ensure that our one added malleability constraint is sufficient to prevent attacks


Configure example Multisig Sudo account in mainnet runtime

See https://github.com/paritytech/extended-parachain-template/issues/57

@stiiifff Are we still looking to implement this ?


[Feature] Adding MLE implementation

Closes the issue: https://github.com/pasqal-io/qadence/issues/204

[ ] update readout error mitigation docs  to include the MLE option

@gvelikova @rajaiitp Could you please open a corresponding issue with a description of what you intend to do, why this could be beneficial, some references if you follow a paper.

@gvelikova @rajaiitp Could you please open a corresponding issue with a description of what you intend to do, why this could be beneficial, some references if you follow a paper.

Hey @Roland-djee, there is an issue open for the MLE implementation, I will link it in the description.

hi @rajaiitp, i think if you merge main into your branch, all tests should pass

I will be starting to work on this now. I'm not still very comfortable with it and thus am delaying it over other things. Sorry about going slow on this.


add --test and --suite command line options to run just one suite or just one test

those should override run list if supplied

done


[Monitor] az monitor app-insights: bump core dependency to 2.0.79

Fix. the 0.1.2 require 2.0.79

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/MyronFanQiu/azure-cli-extensions.git@fix-update-app-insight-min-coro#subdirectory=src/$EXT&egg=$EXT"

add to S165.

/azp run Azure.azure-cli-extensions

/azp run Azure.azure-cli-extensions


Support Simulcast Stream (RID Based Simulcast)

Publisher:
open Simulcast推流 (/players/rtc_publisher_simulcast.html page)
Player:
open RTC播放器 (/players/rtc_player.html page)
low: webrtc://<IP_ADDRESS>/live/livestream?layer=low
mid: webrtc://<IP_ADDRESS>/live/livestream?layer=mid
high: webrtc://<IP_ADDRESS>/live/livestream?layer=high

Related Link: https://github.com/ossrs/srs/pull/2420

Codecov Report

Merging #2659 (8135be4) into feature/simulcast (3da195c) will decrease coverage by 0.23%.
The diff coverage is 1.55%.

@@                  Coverage Diff                  @@
##           feature/simulcast    #2659      +/-   ##
=====================================================
- Coverage              59.31%   59.07%   -0.24%
=====================================================
  Files                    122      122
  Lines                  51934    52150     +216
=====================================================
+ Hits                   30805    30809       +4
- Misses                 21129    21341     +212

Impacted Files
Coverage Δ

trunk/src/app/srs_app_rtc_conn.cpp
9.95% <0.00%> (-0.27%)
:arrow_down:

trunk/src/app/srs_app_rtc_sdp.cpp
1.14% <0.00%> (-0.23%)
:arrow_down:

trunk/src/app/srs_app_rtc_source.hpp
9.09% <ø> (ø)

trunk/src/app/srs_app_rtc_source.cpp
12.08% <2.27%> (-0.31%)
:arrow_down:

trunk/src/app/srs_app_rtc_sdp.hpp
20.83% <30.00%> (+7.50%)
:arrow_up:

Continue to review full report at Codecov.

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


[ci:component:github.com/gardener/terraformer:v1.5.0->v2.1.0]

*Release Notes:
Terraformer is now available in different provider-specific image variants containing only specific terraform provider plugins, which are much smaller in size than the variant containing all provider plugins. The image variant containing all provider plugins is still available for usage under the same tag. For more information see [this README section](https://github.com/gardener/terraformer/blob/master/README.md#docker-images).

All terraformer images can be built via `make docker-images` and specific image variants can be built via `make docker-image PROVIDER={all,aws,gcp,...}`.

The configmaps and secrets used to contain terraform configuration, state and variables are now protected with a finalizer against accidental deletion.

`terraform-provider-aws` is now updated to `3.18.0`

Terraformer version `v2` now requires to pass in ConfigMap and Secret names via command line flags instead of environment variables and the base command of the docker image has changed to `/terraformer`. Please see the [examples](https://github.com/gardener/terraformer/tree/master/example) for more details.

If your provider extension is deploying terraformer Pods via gardener's [terraformer library](https://github.com/gardener/gardener/tree/master/extensions/pkg/terraformer), please make sure, that you use at least<EMAIL_ADDRESS>and set `terraformer.UseV2(true)` in order to deploy a PodSpec, that is compatible with terraformer `v2`.

Terraformer was rewritten in go and now watches the terraform state file in order to continuously update the state ConfigMap to not lose any relevant infrastructure state.

You can use `make start-dev-container` to start a docker container which can run terraformer and tests in an isolated environment for development and testing. Also `make start` will run terraformer commands in such a development container.

You can now run a small e2e test, that creates some lightweight resource on AWS via terraform, by executing `make test-e2e`.

/close in favor of #101

/close in favor of #101


fix: update node-sys

The Node 12 error can be fixed via
https://github.com/TheTechsTech/node-sys/pull/6


fix: properly parse weekly collection index files

Input files from weekly collection indexes consist of two-column, tab-separated lines consisting of the bibcode, and the record's accession number.  The full pathname linking to the text file for the accession number can be generated from the path of the input file, which is .../abstracts/[collection]/index/["current" or "done.YYYY-MM-DD"]/ and the 3-character prefix of the accession number: .../abstracts/[collection]/text/[prefix]/accno.abs

MT: closing this PR.  The server-side bash script that was supposed to generate the correctly-formatted input file wasn't doing so; the script had been changed, and that section of the code was inadvertently removed.  The script will now generate a file called match_oracle.input with one full pathname to the accno.abs file per line.  Therefore the original get_input_filenames can be used instead of the code submitted in this PR.


Rootless docker support

What happened?
I'm trying to run gefyra 1.0.2 on with rootless docker and the CLI seems to crash with the following stack trace:
Traceback (most recent call last):
  File "/home/redacted/.local/bin/gefyra", line 5, in <module>
    from gefyra.__main__ import main
  File "/home/redacted/.local/lib/python3.10/site-packages/gefyra/__main__.py", line 6, in <module>
    from gefyra.api import get_containers_and_print, get_bridges_and_print, GefyraStatus
  File "/home/redacted/.local/lib/python3.10/site-packages/gefyra/api/__init__.py", line 1, in <module>
    from .bridge import *  # noqa
  File "/home/redacted/.local/lib/python3.10/site-packages/gefyra/api/bridge.py", line 5, in <module>
    from gefyra.configuration import default_configuration
  File "/home/redacted/.local/lib/python3.10/site-packages/gefyra/configuration.py", line 233, in <module>
    default_configuration = ClientConfiguration()
  File "/home/redacted/.local/lib/python3.10/site-packages/gefyra/configuration.py", line 119, in __init__
    fcntl.ioctl(
OSError: [Errno 19] No such device

Since rootless docker does not support bridge networking, and therefore there is no docker0 interface present, ioctl throws this error.
What did you expect to happen?
The app not to crash I guess. To be honest I'm not sure if gefyra can work in this setup.
How can we reproduce it (as minimally and precisely as possible)?
Run docker in rootless mode and execute the gefyra client.
What Kubernetes setup are you working with?

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.1", GitCommit:"8f94681cd294aa8cfd3407b8191f6c70214973a4", GitTreeState:"clean", BuildDate:"2023-01-18T15:58:16Z", GoVersion:"go1.19.5", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.3", GitCommit:"434bfd82814af038ad94d62ebe59b133fcb50506", GitTreeState:"clean", BuildDate:"2022-10-25T19:35:11Z", GoVersion:"go1.19.2", Compiler:"gc", Platform:"linux/amd64"}

OS version

# On Linux:
$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian

$ uname -a
Linux retracted 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Anything else we need to know?
If this setup is not possible, I suggest a disclaimer be added to the documentation. Otherwise, what could we do to enable this functionality?

Hey @Dzeri96 thank you very much for submitting your issue and helping us improving Gefyra!
You totally understood correctly what we're trying to access here! This code means to make the setup of Gefyra a bit more convenient. I suspect if you pass the `--host' flag with the dns name or ip of your cluster it will work. Something like this:
Get IP of one of your cluster nodes:
kubectl get nodes -o wide

Run
gefyra up --host <IP>

Could you please check whether this actually helps you for the moment?
I will take this to the team and discuss how we could handle this issue a bit more gracefully.

Hi, i've tried the suggested fix but unfortunately it does not seem to work.

@Dzeri96 could you please provide the following information:
Your input, the output of the program and what kind of K8s provider you are using.
It would help a lot!

@Dzeri96 I can give you exact info in a few hours when I'm in front of my PC, but I'm using kind locally. Tried both the host/port from the kubectl config and the internal ip of the main (and only) node.

No stress :)
Did you follow our kind getting started guide ?
It contains a configuration for kind to make sure port 31820 is actually reachable.

@SteinRobert Just came home and I can confirm that I did create a kind cluster with the provided config. I don't know how to test reachability of this port but docker says that port forwarding is indeed enabled. If you would like to speed up debugging I can jump onto some kind of instant messaging platform.

Alright - which version of kind are you using? I'll be available on the Unikube Slack during the week - we can certainly have a look at your issue there aswell.
unikubeworkspace.slack.com

My kind version is 0.17.0. The workspace requires me to have a @blueshoe.de email address apparently?

Alright, thanks for the clarification. I'd be open to contribute but the issue is a bit over my head at the moment.

Thanks @Schille for the input! So it seems we will not be able to support rootless Docker very soon. The overlay network functionality is currently essential for Gefyra itself. I will move this issue to discussion. Anyone looking for rootless docker support - we'd really appreciate signs like upvote and input on this.


NIFI-3905: When a Provenance Query is submitted to WriteAheadProvenan…

…ceRepository, purge any obsolete queries from the internal state before rejecting the query due to 'too many outstanding queries'
Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

Looks good but would be nice if there were tests for this if that is possible to replicate statically.


Review error detection and correction topic description and other resources

This involves checking the error detection and correction topic description and other resources is correct.
Created after splitting #217.

Reviewed and no changes


Increase coverage

Codecov Report

Merging #22 into master will increase coverage by 60.78%.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           master   #22       +/-   ##
========================================
+ Coverage   29.21%   90%   +60.78%
========================================
  Files           5     4        -1
  Lines         671   200      -471
========================================
- Hits          196   180       -16
+ Misses        465    12      -453
+ Partials       10     8        -2

Impacted Files
Coverage Δ

tools/onnx/onnx.pb.go

runner.go
82.75% <0%> (+9.48%)
:arrow_up:

tensor.go
100% <0%> (+13.63%)
:arrow_up:

Continue to review full report at Codecov.

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


[V3] Tenant Commands

Implement all of the tenant commands
register-tenant-handler, unregister-tenant-handler, register-tenant, reload-tenant, unregister-tenant

Figure out if any inputs are needed/add validations
Figure out responses, if theres a json response create the response struct
Create the methods

https://github.com/OISF/suricata/blob/master/python/suricata/sc/specs.py
reference above for request bodies

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
paulexyang, @Ricky610329, @helloworld2012, @SRTPioneer, @spuuntries, @neo1989, @ymntseng, @signalprime, @KeitaW, @robert780612, @ericjy, @Shalinparikh, @AlanRen03, @huangrenjie0, @ColPanic, @SykoTheKiD, @anak10thn, @HesamAsad, @sparkyrider, @Wikidepia


Add cairo documentation for windows

Wrote some changes in README.md for Cairo Installation in Windows.
Fixes #1129 #1050 #1049 #1053 #369
Well, more than that. If you can link more.

@eulertour could you please merge this. This show the installation instructions for installing pycairo in Windows.


Wire rendering fix

Render the two connection points of the wire

This should be unified for all unconnected connectors using a common 'renderunconnected()' function


Live demo

Thank you...
How to use this for live Pose-Estimation?

Hi~
We use pyqtgraph for live pose estimation. You can implement the real-time pose estimation according to the following demo of pyqtgraph.

Hi~
We use pyqtgraph for live pose estimation. You can implement the real-time pose estimation according to the following demo of pyqtgraph.

Can you provide me source code for that?

Can you provide me source code for that?

Hi and thanks for the interest.
However, we do not plan to release the real-time estimation code.

Hi and thanks for the interest.
However, we do not plan to release the real-time estimation code.


nbdev_filter breaks on ghpages deploy

After pushing on my repo I get the following error on the deploy actions:
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.10.6/x64/bin/nbdev_filter", line 8, in <module>
    sys.exit(nbdev_filter())
  File "/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/fastcore/script.py", line 119, in _f
    return tfunc(**merge(args, args_from_prog(func, xtra)))
  File "/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/nbdev/cli.py", line 57, in nbdev_filter
    try: filt = get_config().get('exporter', FilterDefaults)()
TypeError: 'str' object is not callable
Error: Process completed with exit code 1.

Gonna try the forum first !

No worries @IgVelasco, the forum is the preferred place for these sorts of questions, and GitHub for tracking specific bugs or feature requests, but I can try help here :)
I think this is fixed in latest master:
https://github.com/fastai/nbdev/blob/26ab9d4a86360f1cfde775c1076b682a7ba7fdcf/nbdev/cli.py#L57
I'm curious, are you using a custom exporter (have you specified the exporter key in your settings.ini file)? If so, what are you using it for? A workaround would be to exclude that from your settings if you aren't using it.

Yes sorry for the issue creation, I realized that once I started investigating a little more.
I do not have an exporter key in the settings.ini.
The thing that I think could be the problem is that my notebook needs some user interaction for authentication, but I'm not sure if that's the problem.
I'm going to reinstall nbdev and tell you if that fixed my problem!

Reinstalling nbdev didn't fix my problem, also when I run nbdev_filter on my repo locally it gets stuck

Let me know if I can provide any more info on the matter, I think as a new user I cannot post on the forum just yet @seeM
Thanks for the help!

@IgVelasco is your repo public? If you could share a link to it that would be the easiest way for me to help you out

I'll make it public for now just let me know when I can make it private again!
Repo

You don't seem to be using the nbdev workflows. They're trying to run nbdev_filter but they aren't installing nbdev. Here are the workflows we use: https://github.com/fastai/nbdev-template/tree/master/.github/workflows
I'm not sure why you're getting the TypeError though. Could you share the output of this?
from nbdev.config import get_config
print(get_config())

You can make it private again

The problem with using the workflows is that it runs the test, and I particularly don't want to run the test since my notebook need some interaction, do you know how I can fix or workaround it?

Output: https://pastebin.mozilla.org/yuhZdyAL#L125

You don't seem to be using the nbdev workflows. Your workflow is trying to run nbdev_filter but it isn't installing nbdev. Here are the workflows we use: https://github.com/fastai/nbdev-template/tree/master/.github/workflows

I forgot that I changed the workflows to try something out let me revert it, thank you very much!

The problem with using the workflows is that it runs the test, and I particularly don't want to run the test since my notebook need some interaction, do you know how I can fix or workaround it?

This shouldn't run the test:
https://github.com/fastai/nbdev-template/blob/master/.github/workflows/deploy.yaml

BTW you've got quite a few cells that mix imports and code. You shouldn't do that: https://nbdev.fast.ai/02_Explanations/showdoc.html

The problem with using the workflows is that it runs the test, and I particularly don't want to run the test since my notebook need some interaction, do you know how I can fix or workaround it?

This shouldn't run the test:
https://github.com/fastai/nbdev-template/blob/master/.github/workflows/deploy.yaml

Yep I used to have that workflow only
In this run you can see the error, thanks I'll check the link you share

If that helps, I am facing the same issue than @IgVelasco
I use the same deploy.yaml than the one in the nbdev repo, except for the fact that I change the branch that triggers the workflow:
https://github.com/Jaume-JCI/ds-blocks/blob/nbdev2_1/.github/workflows/deploy.yaml

I got the same issue this morning while I'm using the "defaults" workflow files. Here's the error that shows up in GitHub deploy workflow:
Setting up quarto (1.1.168) ...
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.10.6/x64/bin/nbdev_filter", line 8, in <module>
    sys.exit(nbdev_filter())
  File "/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/fastcore/script.py", line 119, in _f
    return tfunc(**merge(args, args_from_prog(func, xtra)))
  File "/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/nbdev/cli.py", line 57, in nbdev_filter
    try: filt = get_config().get('exporter', FilterDefaults)()
TypeError: 'str' object is not callable
Error: Process completed with exit code 1.

I was able to sort out the issue as follows:

Update the deploy.yaml to the latest version in the nbdev repo. There is a small difference wrt the version I had:

        with: {pre: 1}

(not sure about the impact of this difference in solving the issue tbh)
Note: in my case, I change the name of the branch because I want to deploy GH pages in a branch different than master.

After updating deploy.yaml, I separated all the imports that were mixed with code. This is easy to do by following the messages printed while running the workflow.

Hope this helps!

I'm already using the version in the template and I continue to have the same error message

Could you share your full deploy.yaml?

I had a link to the file in the comment above, here it is again :-)
https://github.com/Jaume-JCI/ds-blocks/blob/nbdev2_1/.github/workflows/deploy.yaml

Saw it after commenting, my bad!
Yes worked like a charm! Looks like there is something broken in the image

OK I see the problem - a recent fastcore update required an nbdev release to go with it. Fixed now - please update to the latest released nbdev and this should be resolved.


dynamic_reconfigure: 1.5.49-0 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository dynamic_reconfigure to 1.5.49-0:

upstream repository: https://github.com/ros/dynamic_reconfigure.git
release repository: https://github.com/ros-gbp/dynamic_reconfigure-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.6.2
previous version for package: 1.5.48-0

dynamic_reconfigure
* Pep8 (#93 <https://github.com/ros/dynamic_reconfigure/issues/93>)
* Python3 use print function and not statement (#92 <https://github.com/ros/dynamic_reconfigure/issues/92>)
* add shebang line in setup_custom_pythonpath.sh.in template (#91 <https://github.com/ros/dynamic_reconfigure/issues/91>)
* switch to package format 2 (#89 <https://github.com/ros/dynamic_reconfigure/issues/89>)
* remove trailing whitespaces (#88 <https://github.com/ros/dynamic_reconfigure/issues/88>)
* Reraising DynamicReconfigureCallbackException in case of a failing service call (#87 <https://github.com/ros/dynamic_reconfigure/issues/87>)
* Contributors: Arne Hitzmann, Mikael Arguedas

Holding for synchronized release...


How to get config using Laravel Mix

Question/Help:
So I am using Laravel to make my personal website.  I have a form to send me a message on there and I want to use your notifications to display whether or not the email was sent after making an ajax request.
Specifically, I am using Laravel Mix to take care of the Webpack stuff.  (So maybe that is causing the issue).
Either way, I have attached some snippets from my code so you can have a look and see if you can help me.  The set up seemed basic enough on the readme.md but I can't seem to get the notification to show up in the Vue dev tool for Chrome.  I am fairly new to Vue so any help you can give would be much appreciated.  Your notification components are the best I've found that are readily available.
Here is the basic file system set up for the stuff I have given you. So you understand how things are tied together.
[ js ]
|__ [ components ]
|            |Modal.vue (The modal component is used in the Hero component)
|            | Hero.vue
|__ bootstrap.js
|__ app.js (The root Vue instance is here)
Thanks again!
app.js

bootstrap.js

modal template with notification template

modal script

I am not using php, so I can't help you 😢 . Maybe try stackoverflow.

Okay thank you.  I did figure it out so no worries.  Just started from square 1 declaring the notification and everything.  It's awesome! Thanks!

No probs :)

Okay thank you. I did figure it out so no worries. Just started from square 1 declaring the notification and everything. It's awesome! Thanks!

can you explain a bit more closer?


Add .circleci/config.yml

SUMMARY

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Closing as we don't use CircleCI


Remove order status field

This changes remove status field form Order and make it deduced based on related Delivery Groups statuses.
Closes #1475
Pull Request Checklist

[ ] Privileged views and APIs are guarded by proper permission checks.
[ ] All visible strings are translated with proper context.
[ ] All data-formatting is locale-aware (dates, numbers, and so on).
[ ] Database queries are optimized and the number of queries is constant.
[ ] The changes are tested.
[ ] The code is documented (docstrings, project documentation).
[ ] Python code quality checks pass: pycodestyle, pydocstyle, pylint.
[ ] JavaScript code quality checks pass: eslint.

Codecov Report

Merging #1481 into master will increase coverage by 0.1%.
The diff coverage is 57.14%.

@@            Coverage Diff            @@
##           master    #1481     +/-   ##
=========================================
+ Coverage   82.44%   82.55%   +0.1%
=========================================
  Files         131      131
  Lines        5668     5668
  Branches      647      648      +1
=========================================
+ Hits         4673     4679      +6
+ Misses        831      824      -7
- Partials      164      165      +1

Impacted Files
Coverage Δ

saleor/order/signals.py
0% <ø> (ø)
:arrow_up:

saleor/core/templatetags/status.py
51.51% <ø> (ø)
:arrow_up:

saleor/search/backends/elasticsearch_dashboard.py
100% <ø> (ø)
:arrow_up:

saleor/dashboard/views.py
51.61% <0%> (ø)
:arrow_up:

saleor/dashboard/order/forms.py
74.64% <0%> (+2.04%)
:arrow_up:

saleor/search/documents.py
78% <100%> (ø)
:arrow_up:

saleor/order/models.py
87.37% <77.77%> (-0.51%)
:arrow_down:

Continue to review full report at Codecov.

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


[WIP] Add cluster-cidr to kube-proxy config

This option enables masquerading for traffic directed at pods
that comes from outside the cluster.

I'm still testing this option. Please don't merge


Restore button on the "Edit Placement" asks if you want to remove the element

Edit a content type
Click "Edit Placement"
scroll to bottom
Hit Restore.

You get a popup asking if you want to remove element.
Reason is because of "itemprop="RemoveUrl"" on the button

Fixed


Option to lint only on save

I'm still new in Typescript but I was wondering if it is possible to lint only on save to improve performance.
Also I don't need Typescript telling me that the current line has errors while I'm still thinking what to write 🤔

+1, this is super annoying and a huge waste of processing time; most IDE's wait a few seconds when you stop typing to re-compile, as that is the sane behavior, not queuing up 60 redundant jobs.

+1.  It's a huge burden for me as well.

Yeah I dislike it telling me to do things I was already half-way through doing.

Super Annoying [bump]

With so many comments, this seems like a low hanging fruit but surely there must be a reason why it was not implemented yet?

I've moved to VSCode a while ago, where you still have the same issue but it's not really an issue. Errors are only underlined and the TS integration it's incredibly faster.
Also integration with TS in VSCode is built-in in the editor, more rich and always aligned with the latest version of the compiler.

My current workaround is to disable atom-typescript and instead use language-typescript-grammars-only in combination with linter-tslint.

The package even uses Linter which have the option to not lint on change and it's ignored for some reason

Hi guys. First i want to say: Nice plugin!!! After migrating our project from es6 to ts i take a good experience with atom....
But this issue is really blocker for me especially:

Also I don't need Typescript telling me that the current line has errors while I'm still thinking what to write

Can someone answer, what is the status of this issue, maybe do you need help?

There's no special reason why this isn't implemented except that people who really need it haven't done it. Now, there IS a reason why the plugin ignores the linter settings on when to lint and it's because it's using the linter in push mode instead of waiting for it to ask for the errors. Why is that I can't tell you from the top of my head.
There's also a timeout after the user has stopped typing before the plugin checks for errors as it's using Atom's onDidStopChanging event, but apparently it's too short for some people. Perhaps both of these could be addressed by letting the linter dictate when to lint, but they're also using onDidStopChanging so this is likely an atom-core issue.

Current workaround is:
// config.cson
"*":
  linter:
    lintOnChangeInterval: 3000 // if I pause 3s without typing anything, lint it anyway

However a dedicated option to disable lint-on-type is still appreciated 😄

Unfortunately this does not have any effect.

Hmmm....I'm desperate enough to patch it with some dirty hack:
--- atom-typescript/dist/main/atomts.orig.js	2017-11-20 16:14:41.000000000 +0800
+++ atom-typescript/dist/main/atomts.js	2017-11-20 16:15:34.000000000 +0800
@@ -30,6 +30,8 @@
         .install("atom-typescript", true)
         .then(() => {
         let statusPriority = 100;
+        let isSaving = {};
+        let lastDiagnostics = {};
         for (const panel of statusBar.getRightTiles()) {
             if (panel.getItem().tagName === "GRAMMAR-SELECTOR-STATUS") {
                 statusPriority = panel.getPriority() - 1;
@@ -57,7 +59,14 @@
         if (linter) {
             errorPusher.setLinter(linter);
             exports.clientResolver.on("diagnostics", ({ type, filePath, diagnostics }) => {
-                errorPusher.setErrors(type, filePath, diagnostics);
+                if (isSaving[filePath] && lastDiagnostics[filePath]) {
+                  errorPusher.setErrors(type, filePath, lastDiagnostics[filePath]);
+                } else {
+                  console.debug('not linting:', filePath);
+                }
+
+                lastDiagnostics[filePath] = diagnostics;
+                isSaving[filePath] = false;
             });
         }
         // Register the commands
@@ -86,6 +95,7 @@
                 .sort((a, b) => a.activeAt - b.activeAt)
                 .filter(_pane => _pane.filePath && _pane.isTypescript && _pane.client === pane.client)
                 .map(pane => pane.filePath);
+            isSaving[pane.filePath] = true;
             pane.client.executeGetErr({ files, delay: 100 });
         }, 50);
         subscriptions.add(atom.workspace.observeTextEditors((editor) => {


Edit example in README.md for v4

example code in README looks still remained in v3. I changed with new API

Current coverage is 76.03% (diff: 100%)

Merging #154 into master will decrease coverage by 0.79%

@@             master       #154   diff @@
==========================================
  Files            80         80
  Lines          5150       5150
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           3957       3916    -41
- Misses          749        798    +49
+ Partials        444        436     -8

Powered by Codecov. Last update 528e2cd...41fb643

Yep, sorry. We didn't update the readme because v4 is still work in progress, as soon as we release something stable we will update the readme, thx

A more completed README.md done at #181, thanks!


Support for node v6.

Coverage remained the same at 98.701% when pulling 3a89af44d66ae3a399c59cacba6d90111b4f09e3 on v6 into 74d02699e46bd88574bf7c1e5778974dda37c1c0 on master.

99% Coverage 💃


iOS18 capacitor-barcode-scanner cloud not scan qrcode

iOS18 plugin cloud not scan qrcode , no error and no result.

scan result {"txPower":4,"manufacturerData":{"0":{}},"device":{"name":"POS887/890 Printer","deviceId":"2ADC25C1-87BE-A1D8-DA89-53D18E782129"},"uuids":["000018f0-0000-1000-8000-00805f9b34fb"],"rssi":-74}


core dump or ignored exceptions on shutdown when reading from s3fs using fsspec

When I try to read a file opened using fsspec.open, I get a fatal Python error (core dump) on shutdown.
Using:
import fsspec, h5netcdf
with fsspec.open("s3://noaa-goes16/ABI-L1b-RadF/2019/321/14/OR_ABI-L1b-RadF-M6C01_G16_s20193211440283_e20193211449591_c20193211450047.nc", mode="rb", anon=True) as f:
    ds = h5netcdf.File(f)
    print(ds["Rad"][400, 300])

and then running with python -X dev gives:
/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/aiohttp/helpers.py:107: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
  def noop(*args, **kwargs):  # type: ignore
/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/aiohttp/connector.py:964: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
  hosts = await asyncio.shield(self._resolve_host(
/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/aiohttp/locks.py:21: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
  self._event = asyncio.Event(loop=loop)
1023
Exception ignored in: <function File.close at 0x7f74bc830910>
Traceback (most recent call last):
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/h5netcdf/core.py", line 802, in close
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/h5netcdf/core.py", line 794, in flush
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/h5netcdf/core.py", line 531, in _create_dim_scales
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/h5netcdf/core.py", line 374, in _h5group
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/h5py/_hl/group.py", line 264, in __getitem__
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py/h5o.pyx", line 190, in h5py.h5o.open
  File "h5py/h5i.pyx", line 43, in h5py.h5i.wrap_identifier
ImportError: sys.meta_path is None, Python is likely shutting down
Fatal Python error: PyThreadState_Get: no current thread
Python runtime state: finalizing (tstate=0x5621bb1ae670)

Aborted (core dumped)

when wrapping the opening in a context manager, the core dump is apparently averted, but there are still ignored exceptions reported on shutdown.  Using:
import fsspec, h5netcdf
with fsspec.open("s3://noaa-goes16/ABI-L1b-RadF/2019/321/14/OR_ABI-L1b-RadF-M6C01_G16_s20193211440283_e20193211449591_c20193211450047.nc", mode="rb", anon=True) as f:
    with h5netcdf.File(f) as ds:
        print(ds["Rad"][400, 300])

gives
1023
Traceback (most recent call last):
  File "mwe90.py", line 4, in <module>
    print(ds["Rad"][400, 300])
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/h5netcdf/core.py", line 811, in __exit__
    self.close()
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/h5netcdf/core.py", line 803, in close
    self._h5file.close()
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/h5py/_hl/files.py", line 443, in close
    h5i.dec_ref(id_)
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py/h5i.pyx", line 150, in h5py.h5i.dec_ref
  File "h5py/defs.pyx", line 1234, in h5py.defs.H5Idec_ref
  File "h5py/h5fd.pyx", line 169, in h5py.h5fd.H5FD_fileobj_write
  File "h5py/h5fd.pyx", line 175, in h5py.h5fd.H5FD_fileobj_truncate
AttributeError: 'S3File' object has no attribute 'truncate'
Exception ignored in: <function File.close at 0x7ff52a33af70>
Traceback (most recent call last):
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/h5netcdf/core.py", line 802, in close
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/h5netcdf/core.py", line 794, in flush
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/h5netcdf/core.py", line 531, in _create_dim_scales
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/h5netcdf/core.py", line 374, in _h5group
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/h5py/_hl/group.py", line 264, in __getitem__
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py/h5o.pyx", line 190, in h5py.h5o.open
ValueError: Not a location (invalid file ID)

It is puzzling that the traceback starts at the print line, despite the value being read out and printed to the console correctly.
I'm using fsspec 0.8.3, h5netcdf 0.8.1, netcdf4 1.5.4, s3fs 0.5.1, on Python 3.8.5 on openSUSE 15.0.

When additionally I try to use fsspec blockcache I get additional tracebacks.  Using
import fsspec, h5netcdf
of = fsspec.open(
    "blockcache::s3://noaa-goes16/ABI-L1b-RadF/2019/321/14/OR_ABI-L1b-RadF-M6C01_G16_s20193211440283_e20193211449591_c20193211450047.nc",
    target_protocol="s3",
    cache_storage="/data/gholl/cache/fscache/blockcache",
    s3={"anon": True},
    target_options={"anon": True})
with of as f:
    with h5netcdf.File(f) as hf:
        print(hf["Rad"][400, 300])

I get:
/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/aiohttp/helpers.py:107: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
  def noop(*args, **kwargs):  # type: ignore
/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/aiohttp/connector.py:964: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
  hosts = await asyncio.shield(self._resolve_host(
/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/aiohttp/locks.py:21: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
  self._event = asyncio.Event(loop=loop)
/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/fsspec/caching.py:54: ResourceWarning: unclosed file <_io.BufferedRandom name='/tmp/tmpnm_ifnpp/12ebe5cb08aea5e1bc4f90fab4be1ddbe4a23972f4d183f4f829a2649ac48d0a'>
  self.cache = self._makefile()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
1023
Traceback (most recent call last):
  File "mwe91.py", line 10, in <module>
    print(hf["Rad"][400, 300])
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/h5netcdf/core.py", line 811, in __exit__
    self.close()
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/h5netcdf/core.py", line 803, in close
    self._h5file.close()
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/h5py/_hl/files.py", line 443, in close
    h5i.dec_ref(id_)
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py/h5i.pyx", line 150, in h5py.h5i.dec_ref
  File "h5py/defs.pyx", line 1234, in h5py.defs.H5Idec_ref
  File "h5py/h5fd.pyx", line 169, in h5py.h5fd.H5FD_fileobj_write
  File "h5py/h5fd.pyx", line 175, in h5py.h5fd.H5FD_fileobj_truncate
AttributeError: 'S3File' object has no attribute 'truncate'
Exception ignored in: <function AbstractBufferedFile.__del__ at 0x7f87c8bfa5f0>
Traceback (most recent call last):
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/fsspec/spec.py", line 1493, in __del__
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/fsspec/implementations/cached.py", line 338, in <lambda>
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/fsspec/implementations/cached.py", line 386, in <lambda>
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/fsspec/implementations/cached.py", line 354, in close_and_update
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/fsspec/implementations/cached.py", line 386, in <lambda>
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/fsspec/implementations/cached.py", line 152, in save_cache
NameError: name 'open' is not defined
Exception ignored in: <function File.close at 0x7f87c3f109b0>
Traceback (most recent call last):
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/h5netcdf/core.py", line 802, in close
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/h5netcdf/core.py", line 794, in flush
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/h5netcdf/core.py", line 531, in _create_dim_scales
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/h5netcdf/core.py", line 374, in _h5group
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "/data/gholl/miniconda3/envs/py38b/lib/python3.8/site-packages/h5py/_hl/group.py", line 264, in __getitem__
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py/h5o.pyx", line 190, in h5py.h5o.open
ValueError: Not a location (invalid file ID)

That may be related to https://github.com/intake/filesystem_spec/issues/404

When I manually delete the relevant objects before Python shuts down, there is no error message:
import fsspec
of = fsspec.open("blockcache://anaconda-public-datasets/gdelt/csv/20150906.export.csv",
        mode="rt", target_protocol="s3",
        cache_storage="/tmp/cache-test", target_options={"anon": True})
with of as f: x=f.read(10)
print(x)
del f

behaves as I would expect, no "exception ignored" message.

This sounds a lot like https://github.com/shoyer/h5netcdf/issues/50.
The summary of that issue is that almost any use of __del__ is a bug. You basically should avoid using __del__ in favor of weakref.finalize.

@gerritholl I can't reproduce this with a fresh install. Could you please check again so that we might close this issue?


[FEAT] aapt binaries for arm

Problem
Currently apktool-lib has no prebuild binaries for thr arm architecture. This means, that resources can not be compiled on mobile phones.
Solution
Add pre-built binaries for the arm architecture. Termux currently provides these pre-build binaries and build scripts here.

The problem is more so signing up to support alternative architectures. I don't plan on moving on this until native AOSP supports it.
Lodged into Roadmap - https://github.com/iBotPeaches/Apktool/blob/master/ROADMAP.md#android-support

Termuxs aapt doesn't work well yet with apps that was targeted recent android versions (11, 12) .I did a little tweak that allows me to use x86 binaries run on termux.

@Anonymous2716 would this not require emulation?

@oSumAtrIX yes I did it with qemu-i386. A little slower than native use but not that noticeable.

Termuxs aapt doesn't work well yet with apps that was targeted recent android versions (11, 12)

Can you elaborate on that

@oSumAtrIX termux uses its aapt as default with apktool. And every time I use apktool on recent SDK targeted apps it gives me XML build errors . which app doesn't have a lots of XML on res works just fine .
❯ apktool b base -o b.apk
I: Using Apktool 2.6.1-dirty
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes2 folder into classes2.dex...
I: Checking whether resources has changed...
I: Building resources...
W: res/drawable/$avd_hide_password__0.xml: Invalid file name: must contain only [a-z0-9_.]
W: res/drawable/$avd_hide_password__1.xml: Invalid file name: must contain only [a-z0-9_.]
W: res/drawable/$avd_hide_password__2.xml: Invalid file name: must contain only [a-z0-9_.]
W: res/drawable/$avd_show_password__0.xml: Invalid file name: must contain only [a-z0-9_.]
W: res/drawable/$avd_show_password__1.xml: Invalid file name: must contain only [a-z0-9_.]
W: res/drawable/$avd_show_password__2.xml: Invalid file name: must contain only [a-z0-9_.]
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/data/com.termux/files/usr/tmp/brut_util_Jar_106390223823776650034599575935767187581.tmp, p, --min-sdk-version, 16, --target-sdk-version, 30, --version-code, 16150060, --version-name, v4.8.1, --no-version-vectors, -F, /data/data/com.termux/files/usr/tmp/APKTOOL2337288095946542186.tmp, -0, resources.arsc, -0, png, -0, arsc, -I, /data/data/com.termux/files/home/.local/share/apktool/framework/1.apk, -S, /data/data/com.termux/files/home/a/base/res, -M, /data/data/com.termux/files/home/a/base/AndroidManifest.xml]

@oSumAtrIX  as this https://github.com/termux/termux-packages/blob/master/packages/apktool/aapt-wrapper.patch I call  qemu-i386 aapt instead of termux provided aapt. or 64bit your choice . since apktool provides standalone one binary it works. And I compiled apktool from source (v2.6.2) as the instructions given in termuxs repository.  I tried v 2.6.1 gives me errors . I don't recall whice ones. The framework apk apktool provides doesn't seem to resolve all the XML references . a recent update termuxes aapt (android.jar) updated to SDK 31. So I copied android.jar to the path of apktools framework 1.apk. Now I can reverse engineer apps on my phone . and a real device to test on .

Would modifying the aapt build scripts to use the latest sdk not work?

There are arm binaries that works but couldn't find the source or how to build. Check https://github.com/Hax4us/Apkmod release page . it works in proof.

The problem is more so signing up to support alternative architectures

@iBotPeaches We have successfully built aapt2 (and aapt) for several architectures and tested it on android with Apktool and from an Android app:
https://github.com/revanced/aapt2/actions/runs/2373859817

not sure about aapt

We built aapt2

useful,
https://maven.google.com/web/index.html?q=aapt#com.android.tools.build:aapt2:7.4.0-alpha10-8841542 only got builds for osx, win, linux.
dist-arm64-v8a
worked well.

@eladkarako your aapt2 binary just prints the help message . not doing anything else.


Inline "style" attribute should have the highest priority

In the browser inline styles override CSS's styles. Emogrifier replaces inline rules with ones from CSS instead. For example, I have an HTML-code:

And CSS-code:
.some_class{     backgorund-image: url('/images/2.jpg'); }
After emogrifying I have:

I've tried more combinations and it looks like problem is in my code not in emogrifier. I'll provide more information later.

OK, I've found out some details. The problem is not in my code and not in the Emogrifier - it 's in user's corrupted HTML such as

. In this case Emogrifier takes "background-image" (or any other style) from the last "class" attribute specified in the tag ("another_class" for the shown example) instead of inline "style" attribute's.
Donnow should we call it an issue, but the browser acts differently: it use inline attribute's styles even if multiple "class" attributes provided. I think it could be right to make Emogrifier act like browser.
Hope this information will help you to develop such a useful project. Thank you.

In that case, I'd say that the behavior is undefined, and it's okay for Emogrifier to work differently than a browser.  ;-) )
Thanks for reporting this and doing the research! :heart:

hi,
I found this problem too, the inline styles should not be replaced with the ones added from the classes (this is how browsers behave).
In my case this is important too because the basic styles area loaded from a CSS file and the custom styles are printed directly in the HTML.
The styles imported from the classes should be added BEFORE the already inline styles, or at least Emogrifier should have a option to control the insert position (before or after inline styles already in the html input).
Thanks!

@seltix5, #404 will fix this.


Revise pipenv check caveat for pyup.io feedback

Jannis Gebauer of pyup.io let us know that he's definitely fine
with commercial use of the pipenv check feature, so it's
only commercial redistributors of pipenv that may need to
take a closer look at the licensing situation, and perhaps
talk to pyup.io directly.
Follow-up on #1651

✨🍰✨


Create prodgenie_atmnu_max_weighted_dune10kt_1x2x6.fcl

Creates a fcl file to be used for the atmospherics sample production by the HEP WG.
Has been tested locally to generate small samples.
PS: The file name can be easily changed if required. I put what came to my mind.

Hi @pgranger23
Thank you for this PR, and thank you for updating the name.
The configuration looks OK but I don't think the job fcl (the one that you run with lar -c) is the appropriate place to define all of these overrides.  It would keep with the style if these overrides were moved into an appropriate upstream configuration fcl.
It looks like the upstream fcls that you're inheriting from pull the genie atmospheric params from here: https://github.com/DUNE/dunesim/blob/develop/dunesim/EventGenerator/GENIE/genie_dune.fcl#L277
So, two questions for you:

How many of the overrides that you're defining in prodgenie_atmnu_max_weighted_dune10kt_1x2x6.fcl could be collected into the dune_fd_genie_atmo_max_flux parameter set in genie_dune.fcl?
Which fcl parameters make the simulation 'weighted' ?

Hi @absolution1, and thanks for your answer.
Typically, the part of the config that makes the simulation "weighted" is the following:
# Using the power spectrum weighted generation
physics.producers.generator.GenFlavors: [-14, 14, 12, -12, 16, -16]
physics.producers.generator.FluxType: "atmo_POWER"
physics.producers.generator.SpectralIndex: 2.5
physics.producers.generator.AtmoEmin: 0.1
physics.producers.generator.AtmoEmax: 100
physics.producers.generator.ForceApplyFlxWgt: true

physics.producers.generator.FluxSearchPaths: "/cvmfs/dune.osgstorage.org/pnfs/fnal.gov/usr/dune/persistent/stash/TaskForce_Flux/atmos/Honda_interp/"
physics.producers.generator.FluxFiles: [
    "honda_2d_homestake_2015_numu.root",
    "honda_2d_homestake_2015_numu.root",
    "honda_2d_homestake_2015_numu.root",
    "honda_2d_homestake_2015_numu.root",
    "honda_2d_homestake_2015_numu.root",
    "honda_2d_homestake_2015_numu.root"
    ] #Using nu_mu flux as a baseline to weight all the events.

that I could move to genie_dune.fcl under a new dune_fd_genie_atmo_max_weighted_honda config. I would prefer to keep the previous config untouched to still make it available to people.
Then I don't know if the flux rotation and AV cut should also be moved upstream in an additional config such as dune_fd_genie_atmo_max_weighted_honda_rot_AV or rather kept in this job fcl.
Do you have an opinion on this?

Hi @pgranger23
OK so it looks like most of the config defines the weighted part.
So, I think the entire config could be moved into a dedicated parameter set in genie_dune.fcl
It would probably be a good idea to run a fcl dump now lar -c  prodgenie_atmnu_max_weighted_dune10kt_1x2x6.fcl --debug-config fcldump.txt before making any changes.  Then run another fcl dump after moving the parameter set.  This should ensure that the parsed fcl remains the same.

Thanks a lot for the feedback.
So I opened a PR on dunesim to move things in genie_dune.fcl -> https://github.com/DUNE/dunesim/pull/46
I think this PR can be left in standby waiting for a dunesim release to be made, including this dunesim PR, so that I can make adequate modifications here.

No problem.  If you update the main text for the pull request to say that this PR depends on the dunesim pr then the merging can be coordinated to happen at the same time.


AwsInjectableTag: tag values are missing if instance-data hostname does not resolve

instance-data is not always a resolvable host in ec2. The field metadataUrl inAwsInjectableTag  should be changed from:
http://instance-data/latest/meta-data

to
http://<IP_ADDRESS>/latest/meta-data

as documented in http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html

For reference, here is the PR where it was changed to use instance-data: https://github.com/Netflix/servo/pull/229
@dmuino what is your opinion? It would be nice to document the choice clearly.

No plans to change the behavior at this time.


[Flutter API Example] AnimatedSize class missing SingleTickerProvider in the Interactive App

Page link: https://api.flutter.dev/flutter/widgets/AnimatedSize-class.html
Source link: https://github.com/flutter/flutter/blob/33403bd28ee09632d4a08f82d0ed0d8b2490d3c8/examples/api/lib/widgets/animated_size/animated_size.0.dart
Problem: The interactive app in this page won't work, because AnimatedSize requires a TickerProvider and a vsync setting to work.

Expected fix: Add singletickerprovider to the app and the required vsync parameter.

I'll open a PR related to this fix right now :)

Thanks for reporting and fixing.
Main error was:
/tmp/dartpadCFFAQS/lib/main.dart:51:28: Error: Required named parameter 'vsync' must be provided.         child: AnimatedSize(                            ^ flutter-sdk/packages/flutter/lib/src/widgets/animated_size.dart:56:9: Context: Found this candidate, but the arguments don't match.   const AnimatedSize({         ^^^^^^^^^^^^

This was fixed in a newer version, closing the issue here :)


[Bug]: Module '"ts-jest"' has no exported member 'mocked'

Version
27.1.3
Steps to reproduce
From the docs. I can use the following import:
import { mocked } from 'ts-jest';

Expected behavior
to execute successfully
Actual behavior
I get the following error:

Module '"ts-jest"' has no exported member 'mocked'. Did you mean to use 'import mocked from "ts-jest"' instead?ts(2614)

Debug log

Test suite failed to run
TypeError: (0 , ts_jest_1.mocked) is not a function

Additional context
No response
Environment
System:
    OS: macOS 11.6
    CPU: (8) x64 Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz
  Binaries:
    Node: 14.17.3 - /usr/local/bin/node
    npm: 6.14.13 - /usr/local/bin/npm
  npmPackages:
    jest: 27.2.5 => 27.2.5

This one is deprecated. You should use the one from Jest instead https://github.com/facebook/jest/pull/12089

It is not removed, it is still exposed under ts-jest/utils


Categories and Images

Hi, Thomas~ Thanks for your contribution to the theme. Currently, I am having the same issue that all the category pages return a 404 page. And all the images cannot be uploaded. I put them in a img folder under assets and use /assets/img/1.png. I tried the solutions that you've discussed on other issues but they just do not work. Strange is, when I tested it on localhost:4000 using Jekyll Serve --watch --baseurl " ", it worked perfectly fine~ Do you have any idea why these were happening? Thanks again~

image problem solved, but category pages still return a 404 :(

https://github.com/GrietjeWong/Myweb/tree/gh-pages/_site/category They're right in your _site folder, so I don't know why it's coming up 404. It's not for me.

First of all, thanks for the great theme. I have the exact same issue here, 404 return from category pages. It also works perfectly for me offline after building with sudo bundle exec jekyll serve.
However, after pushing the changes, the categories doesn't work on the live githubpages, exactly like @GrietjeWong. I tried to manually create a _categories folder like https://github.com/thomasvaeth/trophy-jekyll/tree/development/_categories as suggested, but it didn't fix the issue.
TL;DR: it's all perfect in the "local" Jekyll generated version inside (_sites folder).. but when it goes live, the page goes broken, even if manually creating a /_category with .html files inside folder.

@jacobsalzberg So your repo is called db. You need to only put the contents of the site folder into the gh-pages branch (not the whole entire build). If you look at my development branch it has my whole build, then my gh-pages branch only has the content from _site.
Github allows you to have one repo called jacobsalzberg.github.io where you can just have all build on the master branch and Github automatically just looks for the _site folder. My main repo https://github.com/thomasvaeth/thomasvaeth.github.io and my girlfriend's https://github.com/melmilloway/melmilloway.github.io as an example.
But this theme was updated last weekend, so categories are generated automatically if you haven't gotten too far into editing it.

The way you explained was the old way of doing it. But there is now a _plugins folder that generates all the categories for you automatically. I would just pull master again if you haven't done too much editing to the theme.

Sorry to rely you late~@thomasvaeth Thank you Thomas, very much to your suggestion on our shared issue~( @jacobsalzberg's and mine)
Thank you guys for your lovely solutions~ That fixed for me by following @jacobsalzberg 's example.
Below are my opinions but may not be right since I'm quite new on using Jekyll to build a website:p
For me, there might be some problems with the category generator: as it generated a folder with category name and under the folder is index.html.
When I looked at the like on url on 404 pages, it's like /../category/category-name
Jekyll serve can find the path and have category-name.html on _site/category
But when we uploaded them to online, GitHub server cannot find the correct path for category/category-name
Very much appreciated for your great job~ i love the theme~

Long read warning, Just trying to help -- there's a TL;DR version at the end
This issue gave me a huge headache so I really want to try to help you, sorry if I'm being nosey here. Thomas of course might have a better answer, but I think I can help, as I think understand how this works now, adding to what Thomas' replied to me (concerning only needing to add the _site folder to the gh-pages branch).
There are two kind of jekyll themes:

Jekyll themes without plugins (or with plugins allowed by github);
Jekyll themes with plugins;

Thomas' theme used to be plugin free as he said.. but not it has plugins!
How it works:
For themes without plugins, you can push the whole build into your repository and just by adding your markdown posts into your _posts folder, github will build and deploy for you (as for example, doing jekyll build locally). The only thing you need to do is to manually add the categories as I described, but that's only if you add new ones.
For themes with custom plugins, you have to build the site at your computer (sudo bundle exec jekyll build for me) and then manually commit the files inside _sites to your gh-pages branch (and if you want, commit the whole build to another branch, just to keep the code open).
As Thomas' theme now has a plugin to handle the categories, they'll only be built locally (by jekyll build). That's why it works at your computer, because it's only instancing _site folder. If you deploy the whole build to github, github itself will try to build it as it supports Jekyll nativelly, so it will ignore the plugins, which means it will ignore the plugin that makes the categories.
So either you revert to how the theme was before, just like I did on the explanation I posted above (so github manages everything... aside from having to manually add the categories in single html files.. all I have to do now is add the posts and it gets instantly deployed) or you use the current version (with plugins), build it manually on console and upload it every single time.
(TL;DR VERSION)
To sum it up, you have two options:
a) revert to a version with modified _config.yml (that commits the categories you created at _categories folder), manually add _categories and add html files for each one, deploy it to github - all you have to do now is add the posts directly to github and it will build your blog (no need to jekyll build or serve ever again)
or
b) clone from master, build the site locally every time with jekyll build and deploy _site into gh-pages. Optional: clone the build to a master branch, just to share the code;
I'm going with "a" (previous build) as it's a lot faster.. I love github being able to build the site by itself, I can even post from my cellphone if needed with a markdown editor.
The only problem is it there are new updates to the theme, so it might be a bit of an issue to 'catch up' and implement them.
Anyhow, here's more info:

http://stackoverflow.com/questions/31871433/why-put-the-site-directory-of-a-jekyll-site-in-gitignore
http://stackoverflow.com/questions/28249255/how-do-i-configure-github-to-use-non-supported-jekyll-site-plugins/28252200#28252200

I hope it helped and I'm sorry if I wrote too much, really trying to help.

@jacobsalzberg Thank you so so much for your detailed guide! I was also banging my head for days trying to solve the same issue you had. I dug into every single file to catch a bug without any success, and I was getting more and more resentful that the Github Pages platform restricts what can be built for security reasons. Your solution worked brilliantly. Thank you so much!


[Request for External] table 39 "Purchase Line" - InitNewLine

Can you change InitNewLine to global in purchase line?
It's already global in the sales line table.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.