Debugger not activating Anaconda environments

Environment data

VS Code version: 1.24.1
Extension version (available under the Extensions sidebar): 2018.6.0
OS and version: Windows 10 Enterprise 1703
Python version (& distribution if applicable, e.g. Anaconda): Anaconda Python 2.7.14
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Relevant/affected Python packages and their versions: XXX

Actual behavior
Debugger is not activating the Anaconda environment before starting. I get an ImportError which is due to the conda environment not being properly activated when debugging. If I try the same file from the terminal launched via "Python: Create Terminal" it loads the environment properly and works.
ImportError: DLL load failed: The specified module could not be found.
Expected  behavior
When launching a debug process against an anaconda environment, the python extension should activate the environment similar to how it works when you use the "Python: Create Terminal" or "Python: Run Python File in Terminal"  commands before starting to debug.
Steps to reproduce:

Open VSCode.
Open the python file with import that requires loading DLLs (in this case gurobipy but I've had similar issues with opencv and other packages)
Run default debug "Python: Current File"
Error occurs.

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Traceback (most recent call last):
  File "c:\Repos\Package\script.py", line 12, in <module>
    from gurobipy import *
  File "C:\Users\username\AppData\Local\Continuum\anaconda2\lib\site-packages\gurobipy\__init__.py", line 1, in <module>
    from .gurobipy import *
ImportError: DLL load failed: The specified module could not be found.

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)
Python Extension: Failed to get conda environment list from conda Error: spawn conda ENOENT
	at exports._errnoException (util.js:1050:11)
	at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
	at onErrorNT (internal/child_process.js:367:16)
	at _combinedTickCallback (internal/process/next_tick.js:80:11)
	at process._tickCallback (internal/process/next_tick.js:104:9)

Debugger is not activating the Anaconda environment before starting.

Unfortunately today we do not activate the terminal during debugging.
We merely launch the program using the corresponding executable.

I think #1387 would implicitly take care of this.


Adding new release users-convert-to-pipeline

Description

Submitter checklist for changing permissions

Always

[x] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[ ] Add link to resolved HOSTING issue in description above

For a new permissions file only

[x] Make sure the file is created in permissions/ directory
[x] artifactId (pom.xml) is used for name (permissions YAML file).
[x] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[x] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[ ] All newly added users have logged in to Artifactory at least once

Please add the 2 new users in the PR as part of authorized users to release the convert-to-pipeline plugin: https://github.com/jenkinsci/convert-to-pipeline-plugin

Neither user exists in Artifactory. Please read and follow the instructions.

Both users have logged in to artifactory and jira.


enable disk write test by default (to simplify removing feature flag)

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Already enabled everywhere in https://git.ouroath.com/vespa/hosted-feature-flags/tree/master/flags/enable-disk-write-test


[Bug]: Creating function with SQL statement TRACE ID unable to view execution profile

ODC version
odc431
OB version
ob424
What happened?

What did you expect to happen?
No error reported
How can we reproduce it (as minimally and precisely as possible)?

Create stored procedure
create procedure pro6 (INOUT a varchar(45)) begin
declare
v1 int;
set
a = 2;
set
v1 = a + 1;
select
v1;
end;
Click on TRACE ID

Anything else we need to know?
No response

pass


synapsed_to should not be restricted to FBbt’s neuron

synapsed_to (RO:0002120) is defined in RO as having a domain restriction to CL’s neuron (CL:0000540) (or to a part of a CL‘s neuron):
ObjectPropertyDomain(obo:RO_0002120 ObjectUnionOf(obo:CL_0000540 ObjectSomeValuesFrom(obo:BFO_0000050 obo:CL_0000540)))

In FBbt (in components/fbbt_ext.owl), we are adding a further restriction to FBbt’s neuron (FBbt:00005106):
ObjectPropertyDomain(obo:RO_0002120 obo:FBbt_00005106)

Given that FBbt’s neuron is a subclass of CL’s neuron, I don’t think this added restriction is useful. And while it does no harm while it says within FBbt, it causes of lot of unsatisfiability when Fbbt and Uberon/CL are merged, because then any neuron term in CL that has a synapsed_to relationship is inferred to be a Drosophila neuron, which is obviously wrong.
There’s a similar issue with other relationships too:

synapsed_by (RO:0002103)
electrically_synapsed_to (RO:0002003)

I guess a workaround could be to specifically strip those added restrictions when merging FBbt with Uberon/CL, but I think it would be better if there were not there in the first place. That is, FBbt should use the relationships from RO as they are and not attempt to add its own restrictions to them.

Yeah, I think you can delete these three restrictions, it seems unlikely that we would be relying on them for inference.


dartpad with preview-dart-2 does not work on Macs

Safari and Chrome browsers are affected -- dart-pad does not work at all on them when built with preview-dart-2, the page loads and hangs.
Inspector shows (example from Safari):
Uncaught Error: TypeError: Instance of 'cH<dynamic>': type 'cH<dynamic>' is not a subtype of type 'List<String>'
    at Object.d (js_helper.dart:1763)
    at Object.o (js_rti.dart:641)
    at Object.mW (keys.dart:127)
    at rG.$1 (dialogs.dart:273)
    at lI.H (collection_patch.dart:1330)
    at rH.$2 (dialogs.dart:272)
    at a3.H (linked_hash_map.dart:202)
    at rF.gl4 (dialogs.dart:269)
    at tv.jr (dialogs.dart:264)
    at ut.dart.ut.$1 (playground.dart:179)

Digging a bit without minify and the problem is here, a missing cast to String:  https://github.com/dart-lang/dart-pad/blob/dce80881c13441957e975f1412004806e48e3976/lib/core/keys.dart#L133.
Patch coming up.

@sigmundch

Glad you were able to repro - that's exactly the error I saw in the console!
Looking at the fix, I realize that you probably are running dart2js without the --omit-implicit-checks flags. You may want to consider using it, but depends on what the performance looks like at this time.
If you find that the app is running slow, adding --omit-implicit-checks will potentially help a bunch. We are working on making Dart2 without this flag faster, but we know of a few areas where it is going to be slow for some time. At this time, using the flag will make apps close in performance to that of Dart1, without the flag is closer to Dart1+--checked.

@sigmundch  Thanks!  Since we currently don't allow the user to adjust those parameters I'm inclined to keep us with whatever dart2js is shipping by default, but I'll keep it in mind.

Oh, I think you meant for dart-pad the app, not the things we're compiling.  We haven't noticed the performance being an issue yet.

Oh, I think you meant for dart-pad the app, not the things we're compiling.

precisely

We haven't noticed the performance being an issue yet.

Good to hear. Keep us posted if you do.

Oh, I think you meant for dart-pad the app, not the things we're compiling.

precisely

We haven't noticed the performance being an issue yet.

Good to hear. Keep us posted if you do.


Add "buildling description" to data model (or find an existing field for it), import scripts, and frontend

The HRD listing spreadsheet has a column for "Building Description" with comma-separated values like:
"Walk-Up, Garden Style"
"Multifamily apartments"
"Single Family Homes"
and others. We don't currently import or display this data. I'm not sure if there's an existing field where this fits, but if not we should add a field to the Listing model for it.
Done criteria: this data is stored in our DB and displayed in the appropriate places in the frontend.

Does the Rentlinx data also have this? Just thinking about how much value this adds and whether we would expect to get this data ongoing in the future or if it would only come in once with the HRD spreadsheet.

Rentlinx (API docs) has a <PropertyType> element that looks like it can have similar info:

But if we can get it from the HRD spreadsheet, do we care if we can get it from Rentlinx, too? I suppose for new listings this might matter. But for existing listings, it seems like this is a field that would never change.

Yes, I was thinking about new listings in the future and whether we would be able to map this field automatically from another dataset or if it was just from the spreadsheet and would have to manually be entered in. Would we have this as an enum or string or what? I think for this issue we could contribute it upstream first since it's not urgent.

Contributing upstream first sounds right to me!
On enum vs string vs other: maybe array of one or more enum values per listing? That would let us filter on it, and the HRD spreadsheet data seems to only include a handful of values. But we should be aware that the HRD data has values with typos like "Aparments", so some data cleaning might be in order.

Rentlinx seems to support multiple values per listing and they have a list of enums, so that sounds like the right approach. One concern I have is that "senior" is one of the enums in the Rentlinx data, so it could start to get conflated with reserved community / preference types.


Multibyte characters broken in titles

Just like #437 I get backslashes in the titles but the fixes mentioned there do not help. Well, M-x toggle-enable-multibyte-characters twice helps temporarily but the backslashes reappear when an entry is marked 'read' with 'r' or 'b'
This is a feed that suffers from this:
("https://hnrss.org/frontpage?count=100" news hacker)

I'm on a similar version of emacs (pure-gtk and native code):
GNU Emacs 29.0.50 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.31, cairo version 1.17.4) of 2022-03-29
elfeed-20210822.2129

It looks like the solution given in #437 does, in fact, fix this - but only for new items in the feed. It does not fix up the existing ones.
I guess that's good enough, so I'll close this again.


UNM results submission

Hmm, I think summary.xlsx should be excluded from this repository ... We should have a way to regenerated it dynamically ...


Polymorphic relationships within sharded databases (contenttypes framework)

Hey all 👋
Has anyone managed to get Polymorphic relationships functional on sharded databases? When trying to do so myself, I found that I was unable to define such relationships because the contenttypes framework only persists information on the default database.
I imagine a solution would involve persisting the contenttypes tables across every shard, but haven't had much luck so far accomplishing this myself.
Any tips or recommendations would be awesome, thanks!

Sorry, I haven't been working on this repo much since I haven't used much in the way of Django/Python for work over the past year since switching jobs.
My next goal was going to be working on adding some basic functionality for multi-db support directly in Django for stuff like that. I think it's possible to monkey-patch but you'd need to override that in a few places to get it to work like that.

It may be easier to fix this in Django than to try to hack it.

Thanks for the reply @JBKahn - I agree that a solution would probably fall into Django rather than this library since the issue stems from the contenttypes framework.
Did you have the same solution in mind that I mentioned above? Just looking to pick your brain but no worries if you're too busy doing other things 👍 - this is something that would be great to support with sharding and I'm interested in looking into it further.


dasel: 2.3.4 -> 2.3.5

Description of changes

Upgrade to 2.3.5 including these changes
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 252175 run on x86_64-linux 1

2 packages marked as broken and skipped:

chatgpt-retrieval-plugin
chatgpt-retrieval-plugin.dist

1 package built:

dasel


Need help with push_image

I am getting the following error trying to troubleshoot the problem. I think I have everything correct.
Failed to call service openhasp.push_image. Unknown error
service: openhasp.push_image
data:
  obj: p1b26
  width: 200
  height: 200
  image: https://people.sc.fsu.edu/~jburkardt/data/jpg/lena.jpg
target:
  entity_id: openhasp.wt32

{"page":1,"id":25,"obj":"obj","x":3,"y":48,"w":200,"h":200,"radius":6,"clip_corner":1,"hidden":1}
{"page":1,"id":26,"obj":"img","x":0,"y":0,"w":200,"h":200,"parentid":25,"src":"","auto_size":1}

I'm not sure that openHASP 0.6.3 and corresponding Custom Component version actually supports push_image ?
Try and update to CC v0.7.0 and latest openHASP rc4

I used the example from 0.6.3 documentation. I also have been able to load a png and it works.
I found this in the log. It is probably an issue with duckdns.
  File "/config/custom_components/openhasp/__init__.py", line 616, in async_push_image
    f"{get_url(self.hass, allow_external=False)}/api/openhasp/serve/{image_id}"
  File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 200, in get_url
    raise NoURLAvailableError
homeassistant.helpers.network.NoURLAvailableError

The link does render when I visit in a browser.
entity_picture: /api/media_player_proxy/media_player.juke?token=478314232a924ce11fd15d950cd5944741b8a11ab3590eca6ce94ce8ef4eabc9&cache=aa64bcd05e64a991

I fixed it for now. Thanks for your help.
I changed my "local" network to my duckdns url.

I fixed it for now. Thanks for your help.
I changed my "local" network to my duckdns url.

Ohh, You're using DuckDNS and SSL certs in HA ?
Can't really recommend this, as config at best will work, but all your local, internal traffic will be passed through the internet (duckDNS)
I had serious issues getting this config to work and have abandoned it completely now.
https://github.com/HASwitchPlate/openHASP-custom-component/issues/81

Yes, I think I will change it back. I have most of my stuff is local, I have Rhasspy running for voice. I wanted album off, just to show off.


dso152 firmware

I went here https://www.fnirsi.com/collections/handheld-oscilloscope/products/dso152
and filled the QnA form on the bottom of the page asking for a firmware download.
Less than a day later I received an email with mediafire link to a 38.6 KiB "DSO152_APP_V0.1.bin"
Does it look like it could be the real firmware? is this a good place to share the link and/or the file?

It never occurred to me to try that!
Traditional place for this sort of thing is archive.org as technically the image shouldn't be redistributed. But I look forward to reverse engineering it!

Let's see, hopefully this works
https://web.archive.org/web/20240611125637/https://www.mediafire.com/file/m76i8glzyvp65v6/DSO152_APP_V0.1.bin/file

How is it going?


upgrade certificate to v1

Signed-off-by: Zhiwei Yin<EMAIL_ADDRESS>issue https://github.com/open-cluster-management/backlog/issues/15363

/lgtm

/cherry-pick release-2.3


fetchInterceptors and undefined values

I am using the fetchInterceptors to track my dependencies, but i'm finding some of the values are turning up in app insights as undefined.  For example in onResponse:
name: `${context.options.method} ${context.response.url}}`,

both method (if one wasn't provided) and context.response.url return undefined.

hmmm that's weird. Are you able to provide a minimal reproduction through stackblitz ?
https://stackblitz.com/edit/unjs-nitro-starter-zziw9t?file=README.md&title=Nitro Starter
I just need to reproduce it to see what's going on


Sampling aspect ratio from a logarithmic distribution

Previous way of preventing out-of-bounds aspect ration caused the distribution to be skewed*. Also, the default case, when the number of attempts was exceeded, always generated a square crop, which too might fall out of user-defined range.

An example: if user specified ratio from 0.1 to 1, then the mean aspect ratio would be around 0.55; on the other hand, for the range 1 to 10, the mean ratio would be 5.5 - a dramatically different result. When using logarithmic distribution, the first range will produce a mean of 0.60653065971 and the second 1.6487212707 - the reciprocal of the first one.

Signed-off-by: Michal Zientkiewicz<EMAIL_ADDRESS>

Codecov Report

Merging #799 into master will increase coverage by 0.04%.
The diff coverage is 76.92%.

@@            Coverage Diff             @@
##           master     #799      +/-   ##
==========================================
+ Coverage    38.1%   38.14%   +0.04%
==========================================
  Files          32       32
  Lines        3128     3135       +7
  Branches      488      489       +1
==========================================
+ Hits         1192     1196       +4
- Misses       1857     1859       +2
- Partials       79       80       +1

Impacted Files
Coverage Δ

torchvision/transforms/transforms.py
82.98% <76.92%> (-0.43%)
: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 71322cb...32bd919. Read the comment docs.

It's possible, but to be reasonably sure that the test doesn't fail randomly, the number of iterations in the test would have to be quite large  - otherwise we'd have to fix random seed for the test which would be a bit too invasive IMO.

Sounds good, thanks a lot for the PR!


Improved support for Progressive Web Apps (PWA)

This PR aims to improve PWA support in LNBits.
Changes made:

modify webmanifest to use LNBITS_SITE_TITLE and LNBITS_CUSTOM_LOGO env vars
modify webmanifest to have a more accurate description, start_url and set theme_color to match default lnbits theme
add service worker to cache requests (chrome requires a registered service worker to activate some pwa functionality)
move webmanifest to  (chrome acts weird with it in the body)
add offline badge to header if app is in an offline state

Now passing checks.


Show the type of syntax highlighting that is performed

Currently it is sometimes hard to tell what syntax is this and what highlighting is performed.

Thanks your feedback!
What is the matter of knowing which syntax is applied?
PS, you can see it from web console:

It is good to let the user know what highlighting is used, because this isn't always obvious. In small text in the corner is okay.

Can you give an example of where this is not obvious? Or where its highlighting as a non-proper language?  Is the file extension not an indicator of what the file is being highlighted as?

Most people don't know what most extensions mean. Also some extensions overlap. There are also situations when texts with different syntaxes are embedded in each other, and for example phabricator is able to highlight syntax properly in such situation.
This is why it is a good idea to show the syntax name.

@zacheryph If you are going to try it, this function should do the trick:
https://github.com/gogits/gogs/blob/master/models/git_diff.go#L170-L172

There are also situations when texts with different syntaxes are embedded in each other, and for example phabricator is able to highlight syntax properly in such situation.

Gogs uses Highlight.js and I think this already works.

Added this and the line count in the header. it bases it off the highlight type which is the primary source of the highlighting so if you have an HTML document with JavaScript in it it will still say HTML.
Image of the changes attached if are okay with them I will issue a pull request. I am not sold with the word "highlighting"  in there so open to suggestions there.

@spectre013 Yes, please send a PR. The functionality in screenshot looks good. More minor details can be fixed/discussed during the PR.

Syntax Highlighting in java is quite bad :c

would be cool to have Microsofts Monaco editor as suggested in another issue.

@jxsl13 you should send issue to highlightJS and the comment is irrelevant to this issue.

gonna delete this afterwards, but will the highlight engine be changed in the near future :)?

@jxsl13 use Monaco doesn't change the fact highlight for code file is using highlightJS.

are there any alternatives?

@jxsl13 not in any time soon and not planed. I'm going to delete our comments because we're spamming people who are watching for this thread. Discussion goes to user forum.


Recurrence of wrong chart on trading view mode

The Chore
We're still getting that issue sometimes where the trading view chart ends up showing you data for the wrong chart.
Its much less frequent than it used to be ... and refresh / changing charts normally solves it ... but its annoying and does need fixing completely really as it just looks a bit naff.
Tasks

[ ]
[ ]

Additional details / background info

Think this traces back to things Matt did to store more state.

Lets put this on a monitor list ... if somene hits it dont press anything
We will need state, local storage, various things ...

We could also capture a message in sentry if whe the chart initialises the market symbol doesnt match the URL ID, and capture the state then.  Lets try to intially test this once mor timeboxed and then if we can t repro purt the sentry check in.


⚠ Bofrost.at has degraded performance

In 47ff120, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 845 ms

Resolved: Bofrost.at performance has improved in 116a751.


[Docs] MLPClassifier Translation

Translation of Ted's work on the SC help files.
This help file will have a strong link to the videos and a bigger example patch to demonstrate the canonical musical application of audio classification. Having this live outside the help file reduces the bloat and "ARGHHHHH" feeling of opening it up.
These connections don't yet exist because these examples don't but there will be an accompanying issue.

Issue here: https://github.com/flucoma/flucoma-max/issues/227

On one hand, I think that this help file is messy (again) and not that clear. What do you think @tremblap?

Should be updated to accomodate changes in:
https://github.com/flucoma/flucoma-docs/pull/109/


Allow fetch unstable APIs in Deno to query a TLS certificate-protected server

Is your feature request related to a problem? Please describe.
I'd like to use the fetch unstable API from Deno in order to use a client certificate to make requests to a secured server.
Describe the solution you'd like
Allow basic unstable APIs from Deno. Right now Deno on supabase is very limited, it's impossible to use for even simple use cases such as this one.
Describe alternatives you've considered
Either there is a solution or I'll have to use something other than supabase.
I've tried using Deno.createHttpClient, but it's undefined once deployed on supabase.
Thanks!

Transferring to edge runtime repo because it requires changes to the container.

Hey @sweatybridge can we get an update on the resolution of this issue? If resolved, can we get some documentation on how to make it work? Without this feature, we must switch to AWS Lambda and use NodeJS.

Any news related to this issue? I ran into it today ...


Integrate upstream fix for tp-link

As per here:
https://github.com/andreikop/python-ws-discovery/issues/56
.. in fact, discovery directory should use python-ws-discovery directly (as a subrepo)

Sorry for barging in, but why not make it a dependency instead of a subrepo?

good point..


Failed to create database: { UnauthorizedError: Unauthorized

I am code same this page https://www.arangodb.com/tutorials/tutorial-node-js/ ,but it is not working.
Platform Windows 7 64bit

How login as root  user？ config the user .

https://www.arangodb.com/tutorials/arangodb-node-js-2/
This is a wrong course，
npm install arangojs@5 It's a wrong installation version。
just work in ``npm install arangojs`


build(deps): remove @react-native-camera-roll/camera-roll

This PR resolves []
Description

Removes @react-native-camera-roll/camera-roll unused dependency.
Also adds a comment on a react-native-dev-menu-android that is used but looks like it is not.

Used https://github.com/depcheck/depcheck to find unused packages by running yarn global add depcheck && npx depcheckand the output was something like this:
* @react-native-community/cameraroll
* @sentry/cli
* deprecated-react-native-prop-types
* events
* grapheme-splitter
* jsc-android
* react-native-dev-menu-android
* tsutils
* url

Didn't proceed with the rest because some of them are used for other purposes like:

@sentry/cli - used in fastlane setup
deprecated-react-native-prop-types - used for some patches for react native and deprecated deps
events - used from navigation (maybe we could remove it and use the react native events?)
jsc-android - used for android specific stuff (might be possible to remove it now that we use Hermes?)
react-native-dev-menu-android - added a comment on the why on dependency comments section of package json
url - used for parse url function (seems to be deprecated maybe we need to remove it and replace it with another up to date?)
grapheme-splitter - not quite sure why we have it

⚠ Tested out the camera functionality in the android / iOS platforms to make sure I didn't break anything, let me know if I am missing something!

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

remove @react-native-camera-roll/camera-roll and tsutils - gkartalis

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Dev changes (remove @react-native-camera-roll/camera-roll and tsutils - gkartalis)

  Generated by :no_entry_sign: dangerJS against 2401c008533824e2acb275da079cdfc3e2ddfbee

Let's not forget to include a test scenario for the QA next week 🎗

About @sentry/cli being used in Fastlane, can't we use npx and avoid the necessity of having it here?
good point will make a ticket for this


Facing issue while installing katacontainer runtime.

I was trying to install katacontainer runtime and I got this issue
./configure: line 4360: syntax error near unexpected token `LIBVIRT,'
./configure: line 4360: `       PKG_CHECK_MODULES(LIBVIRT, libvirt >= $LIBVIRT_REQUIRED, , with_libvirt=no)'
Makefile:53: recipe for target 'build' failed
make: *** [build] Error 2

I have no idea how to solve this.
Platform
aws ubuntu instance
KATA_RUNTIME
runv

Hi @dungeonmaster18 . A few questions and notes:

Ah, I've just spotted you are talking about runv runtime (I was about to ask). I'll /cc @gnawux to get to the right folks.

Either way, it seems like libvirt is not installed on your ubuntu - something along the lines of apt-get install libvirt is probably what you need to get it installed

But, before you take those steps - can I check if your AWS instance supports nested virtualization? I believe most do not?, but some of the higher end instances (like the bare metal ones) do - see https://aws.amazon.com/blogs/aws/new-amazon-ec2-bare-metal-instances-with-direct-access-to-hardware/ for more info in this area. If your instance does not support nested virtualisation, then even if you do manage to build the runtime, you will not be able to execute it.

For reference, we have executed the runtime on both Azure and GCE instances that have supported nested virtualisation.
I hope that helps?

Libvirt was installed but i my instance doesn't support nested virtualization.

Hey @grahamwhaley now I have installed katacontainers on local machine evrything went smooth. Bu now when i am trying to run container it gives me this error
$ sudo docker run -ti --runtime kata-runtime hello-world
docker: Error response from daemon: OCI runtime create failed: unable to retrieve OCI runtime error (open /run/docker/containerd/daemon/io.containerd.runtime.v1.linux/moby/b05eb301240dfec82df74f0c732f4b6d90f1b12b437e0ce4a9a539c9384b5c31/log.json: no such file or directory): /usr/local/bin/kata-runtime did not terminate sucessfully: Unsupported driver ""

NAME:
   kata-runtime create - create a container

USAGE:
   kata-runtime create [command options] <container-id>

Where "<container-id>" is your name for the instance of the container that you
are creating. The name you provide for the container instance must be unique on
your host.

DESCRIPTION:
   The create command creates an instance of a container for a bundle. The bundle
is a directory with a specification file named "config.json" and a root
filesystem.

The specification file includes an args parameter. The args parameter is used
to specify command(s) that get run when the container is started. To change the
command(s) that get executed on start, edit the args parameter of the spec. See
"runv spec --help" for more explanation.

OPTIONS:
   --bundle value, -b value  path to the root of the bundle directory, defaults to the current directory (default: "/run/docker/containerd/daemon/io.containerd.runtime.v1.linux/moby/b05eb301240dfec82df74f0c732f4b6d90f1b12b437e0ce4a9a539c9384b5c31")
   --console value           specify the pty slave path for use with the container
   --console-socket value    specify the unix socket for sending the pty master back
   --pid-file value          specify the file to write the process id to
   --no-pivot                [ignore on runv] do not use pivot root to jail process inside rootfs.  This should be used whenever the rootfs is on top of a ramdisk

ERROR: logging before flag.Parse: E0216 07:33:58.315401   19805 main.go:158] app.Run(os.Args) failed with err: &errors.errorString{s:"Unsupported driver \"\""}
Unsupported driver ""
: unknown.

Here is the output for docker info
Containers: 6
 Running: 0
 Paused: 0
 Stopped: 6
Images: 9
Server Version: 18.01.0-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: kata-runtime runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 89623f28b87a6004d4b785663257362d1658a729
runc version: b2567b37d7b75eb4cf325b77297b140ea686ce8f
init version: 949e6fa
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.13.0-32-generic
Operating System: Ubuntu 16.04.3 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.658GiB
Name: containerd
ID: UKZB:UF2I:GSUA:QCJN:KMNR:YCVF:2I4K:KHQR:U3R2:PXNV:HHZP:CEXB
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 20
 Goroutines: 32
 System Time: 2018-02-16T07:34:46.051419215-05:00
 EventsListeners: 0
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

WARNING: No swap limit support

ABove it clearly shows I have kata-runtime but I am still getting error.

Hi @dungeonmaster18  - some progress :-)
Just to check, I presume you have been following the guide here: https://github.com/kata-containers/documentation/wiki/Developer-Guide ?
@chavafg @sboeuf - does that error look at all familiar? A very brief scan shows docker v18.x - not sure if we've tried that version ?

This doesn't look familiar to me, but I haven't been testing on runv yet.  I think most of the relevant engineers are still on CNY.

Yes @grahamwhaley I am using that guide only.

Ah, good point(s) @egernst
@dungeonmaster18  - to check, did you use the 'cc' or 'runv' runtime?
If runv, we will need input from others like @gnawux  = who are on ChineseNewYear holidays (CNY ;-))

Oh okay. @grahamwhaley I am using runv.

You can use kata without cc and runv now

Hey thanks. Sure I will give a try.

@jodh-intel I given the try to new kata-containers. I got the following error. I tried finding the solution but couldn't.
docker: Error response from daemon: OCI runtime create failed: qemu-system-x86_64: Property '.nvdimm' not found: unknown.

/cc @devimc

@dungeonmaster18 this is because the CI / directions uses a different QEMU version.  Can you verify everything works well if you update /usr/share/defaults/kata-runtime/configuration.toml to point to qemu-lite-* instead of qemu-* ?

@dungeonmaster18  qemu-system-x86_64: Property '.nvdimm' not found: unknown., means that you are using an old version of qemu (2.6 might be...), ensure your qemu version is >= 2.7


Clean up created objects in tests

This addresses issue #586. This is to ensure that objects created in one
test case will not affect objects in another test case.
TESTED: Ran the tests through 10 times via go test ./pkg/reconcilers/...

/assign @sophieliu15 @adrianludwin
cc @yiqigao217


[Feature request]: Support for IndoorCam C210 (T8419)

Describe the solution you'd like
It would be great to add support for IndoorCam C210 (T8419). Currently only shows this:

But access to the motion detected alerts are more useful.

Hi - I am also having the same issue happy if needs be to jump on a call and/or share a camera so you can get some exposure and get the plugin working for this camera model :)

Hi,
Same here. Available to help you !

Hi,
It would be fine to have also this camera supported by your project. I'll be happy to help .

I'd also like to see this supported, happy to help test etc.


How to launch with sub-url (baseUrl) ?

Question
I want to use Crowi with sub-url (baseUrl) like http://example.com/crowi/.
How to config?
I guess this snippet is useful,
app.route('/book')
  .get(function(req, res) {
    res.send('Get a random book');
  })
  .post(function(req, res) {
    res.send('Add a book');
  })
  .put(function(req, res) {
    res.send('Update the book');
  });

(from http://expressjs.com/en/guide/routing.html)
but doesn't Crowi use app.route() or express.Router(), does it?
Do we need large-scale modification for it?

It is not supposed that launch Crowi with sub-path of the url.
It might not need a lot of changes but need to change the handle of the page path (of course it is used for the page name).
Moreover, currently there is no plan to correspond to that feature.


Obtain the vector component from the GirdFunction in HDiv space

Hi, everyone,
I want to modify the miniapp Joule and solve a 2d axisymmetric model. However, I encountered some problems about the heat conduction equation. In this miniapp, the heat conduction equation is solved using mixed finite element method, i.e. the temperature flux is defined in HDiv space, and the temperature is defined in L2 space. A simple method of solving axisymmetric model is to add a source term Fr/r in 2d heat conduction equation, that is

Thus, I have to obtain the Fr component. But for HDiv space, the function ProjectCoefficient doesn't work. So I hope to know how to project the r-component of temperature flux to a new GridFunction defined in L2 space.

If I understand correctly, you'd like to compute say the x-component of an H(div) field F in 2D (in your notation r=x).
You can do that by projecting the continuous coefficient (1,0) to the RT space and then performing dots product with F in each degree of freedom.
Does this make sense?
Tzanio

Thanks for your reply. The method you provided is helpful.

Converted to Discussion...


Use utf-8 instead of default charset in FileViewport text mode

What's fixed
It's reasonable to show text in UTF-8 instead of system default charset as most java developers use UTF-8.
This PR fixes encoding issue in text mode.
sample.zip

Fixes #446

I just checked Japanese characters in my jar file and everything seemed fine in every decompiler.
I guess decompilers constructs String in UTF-8 internally

Ok, looks good to me then


Upgrade to FBSDKCoreKit 12.3.1

Hi, I was wondering if there are any plans to upgrade to FBSDKCoreKit 12.3.1? 12.2.1 is showing outdated in the FB developer portal, so I cannot set configure app events.
Thanks for the hard work on this library!

+1

How did it go when you used patch-package to alter the podspec or module build.gradle to use the version you want?
When you test that and it works, post a PR and we can merge + release

did not go too well. I tried updating the react-native-fbsdk-next.podspec from 9.3 to 12.3 but the build threw an error with "'FBSDKCoreKit/FBSDKAppEventsUtility.h' file not found'"

I don't understand.
We are not on 9.3.
We are on 12.2.1 now. This should be almost a non-event, it should "Just Work".
Are you sure you are starting from the current module version?

https://github.com/thebergamo/react-native-fbsdk-next/blob/master/react-native-fbsdk-next.podspec

okay never mind I didn't have the latest version lol sorry about that

Hi @mikehardy, When is this upgrade is expected? I want the upgraded version too but I have experience with podspec file so waiting here...

In an open source project you are nit a user. You are the developer. If someone proposes a PR, i can merge it and release


[SPIKE] New mobiledoc based editor

requires TryGhost/Ghost#6255
Spike/prototype to test out new editor functionality based around https://github.com/bustlelabs/mobiledoc-kit
TODO:
NB. This has expanded into a dumping ground for ideas and things that will need looking at moving forward, I expect a number of these will be pulled out into separate issues.

[x] Isolate existing editor
[x] Add "New Editor" labs flag
[x] Swap new editor in/out based on labs flag
[x] Integrate mobiledoc editor component

[x] Initial ember-mobiledoc-editor integration
[x] Basic toolbar styles
[ ] Basic editor content area styles

[x] Add mobiledoc field to posts table
[x] Generate HTML from mobiledoc when post is saved on the server
[x] Display appropriate editor and notification if opening a markdown/mobiledoc post that doesn't correspond with the current labs flag setting
[x] SimpleMDE markdown card (in progress)

[x] Display simplemde interface when card is in edit mode
[x] Display rendered html when card is in display mode
[x] Lazy-load card assets
[x] Render simplemde markdown card during server rendering

[ ] Improved UI for inserting cards
[ ] Look into possibility of having discrete rich-text content blocks (at least from a UI perspective) instead of the whole document area acting as a rich-text editor

[ ] Remove always-present rich-text toolbar and only show it when editing a rich-text area

[ ] CodeMirror card
[ ] Ghost markdown card (adapt existing editor to work as a mobiledoc card)
[ ] Method for cards to register themselves

[ ] Enumerate and instantiate ember component cards on client
[ ] Enumerate and instantiate server-side cards for rendering
[ ] Display dynamically loaded cards in the "insert card" UI
[ ] Investigate options for packaging cards as discrete units

ISSUES:

[x] Mobiledoc's Position class seems to have trouble when the content area is scrollable
[ ] Cards have a space above & below that appear to be editable text but it's not possible to type unless pressing 'enter' to create a new paragraph
[ ] Pressing bold/italic toolbar buttons does not immediately change mode - it's necessary to select some text and then press the button.
[ ] When the cursor is at the end of a bold/italic section the corresponding toolbar button is not highlighted even though typing will continue to be bold/italic

Investigate:

[ ] Options for converting existing markdown/html to mobiledoc
[ ] Options for image cards

Closing as this has served it's purpose and we're now working on a new mobiledoc implementation.


adding early versions of new user expansion tables

incomplete (waiting on additional tables) but should be working as is

It might be good to add comments about why certain sections are commented out.


mount smb folder

Can I mount smb folder to /share/downloads? How?
thx in advance for answer

I would also like this option

Use the standard SMB addon (https://github.com/home-assistant/hassio-addons/tree/master/samba)
Then set the download path in transmission to "/config/downloads"

Thank you @aaamoeder for your answer.


autotest_11

Hi, I sent code to your private email.

The following short Verilog module demonstrates this issue:
// bash tests/tools/autotest.sh -v -S55830681 -e -p 'prep -ifx -memx' demo.v
module demo (input clk, enb, output reg out);
  reg init_x;
  always @(posedge clk) begin
    if (!enb) begin
      if (!init_x)
        out <= 1;
      else
        out <= 0;
      init_x <= 0;
    end
  end
endmodule

In simulation, init_x starts out initialized to x and only when enb == 0 it will be set to zero. So init_x can be x or 0, but never 1. The opt_rmdff pass uses this insight and optimizes the init_x FF away and replaces it with a constant-0 driver. Commit ed519f5 deactivates this optimization in opt -keepdc mode, which is the optimization style used by prep -ifx -memx.


No need to check if setup is done for upload-*

Closing as non-necessary functionality. See discussion in https://github.com/neuromation/cookiecutter-neuro-project/pull/372


Move CveItem-related string operations / searches to seperate utility…

Description of Change
Preparation for introducing AhoCorasickDoubleArrayTrie type search for ecosystems. Intended to have identical functionality as the current code.
Have test cases been added to cover the new functionality?
No.
 Baby steps..

Ready with follow-up PR when this is merged.

Sorry for the delay - thanks for the PR!
Regarding smaller vs. larger PRs - up to you.  Either is fine.


Postgres: support for OWNER TO clause

Support OWNER TO clause just for Postgres dialect
Closes #1293

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

65 of 70 (92.86%)  changed or added relevant lines in 3 files are covered.
167 unchanged lines in 5 files lost coverage.
Overall coverage increased (+0.1%) to 89.007%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tests/sqlparser_postgres.rs
44
49
89.8%

Files with Coverage Reduction
New Missed Lines
%

src/parser/alter.rs
2
66.67%

src/parser/mod.rs
3
93.18%

tests/sqlparser_common.rs
4
89.57%

src/dialect/mod.rs
5
72.08%

src/lib.rs
153
13.01%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
26201

Relevant Lines:
29437

💛  - Coveralls

Thanks again @gainings and @iffyio

Thank you for @alamb and @iffyio
And I apologize for the delayed response.

No worries -- thank you for the contribution @gainings  and I apologize for my late review / update.


cpu spin on failed task

When a task fails due to an error with the container (specifically in my case the container could not be started due to a libnetwork bug), it causes the CPU to spin just retrying over and over.
There are a couple of things happening that seem to be cuasing it:

fatal() returns nil here: https://github.com/docker/swarmkit/blob/master/agent/exec/controller.go#L159. Which means the error check here is always getting a nil error.
this does not appear to do anything. Even if I have this so that this function is called in my case we still get a CPU spin

I'm not sure what should happen here:

Should we be sending ErrTaskRetry if nothing else catches in fatal()?
Return the original error and in the default case in the task loop backoff?
Like 2 but return instead (exiting the loop) and mark the task as a failure?

ping @stevvooe since you had the TODO in the task run loop.

Your analysis of the error handling is incorrect. This is behaving correctly. A nil err acts as a pump to trigger the error handling branch of the select statement.
These errors, in general, should not escape the do function. It's structured this way to be sensitive to sloppy error handling, such as that in libnetwork.
I'm not sure what error you've encountered, but it seems like it should progress the task into a terminal state. I'll need to see a log to be sure.
Arguably, there should be more backoff, as well.
Still the root cause needs to be addressed. Libnetwork really needs to get a handle on the errors that escape their call boundaries.
In the future, don't submit code analysis bugs. They obscure the root cause of the issue.

@stevvooe I do not see how my analysis is incorrect.
The error passed to the select is nil, causing it to do nothing at all, and continue on to the next loop.

The error passed to the select is nil, causing it to do nothing at all, and continue on to the next loop.

And that is why the analysis is completely incorrect. Sending nil creates a channel send that pumps the loop. The comment says exactly what it does, right there.
My guess is that is these are actually being marked as "rejected" and the orchestrator is re-spawning tasks.
Do you have actual logs of the incident?

https://gist.github.com/cpuguy83/b13ed8f609284fd2b55f2a1b9e1a4c4f

@cpuguy83 Thanks!
Here is where everything goes pear-shaped:
Jun 14 15:03:22 docker112-node01 dockerd[8824]: time="2016-06-14T15:03:22.689389892-04:00" level=debug msg=assigned task.desiredstate=RUNNING task.id=3trtuvvfyfue47yb220eid1rc
Jun 14 15:03:22 docker112-node01 dockerd[8824]: time="2016-06-14T15:03:22.689834978-04:00" level=debug msg="state changed" state.desired=RUNNING state.transition="ASSIGNED->ACCEPTED" task.id=3trtuvvfyfue47yb220eid1rc
Jun 14 15:03:22 docker112-node01 dockerd[8824]: time="2016-06-14T15:03:22.694213483-04:00" level=debug msg="state changed" state.desired=RUNNING state.transition="ASSIGNED->ACCEPTED" task.id=3trtuvvfyfue47yb220eid1rc
Jun 14 15:03:22 docker112-node01 dockerd[8824]: time="2016-06-14T15:03:22.695610670-04:00" level=debug msg="state changed" state.desired=RUNNING state.transition="ACCEPTED->PREPARING" task.id=3trtuvvfyfue47yb220eid1rc
Jun 14 15:03:22 docker112-node01 dockerd[8824]: time="2016-06-14T15:03:22.697877230-04:00" level=debug msg="(*Agent).UpdateTaskStatus" task.id=3trtuvvfyfue47yb220eid1rc
Jun 14 15:03:22 docker112-node01 dockerd[8824]: time="2016-06-14T15:03:22.726977466-04:00" level=debug msg="container mounted via layerStore: /var/lib/docker/aufs/mnt/51deb3b30659ab858f5fdbdd3b48d29a0c839ccb80c8d23d236873eb23d7c6e8"
Jun 14 15:03:22 docker112-node01 dockerd[8824]: Creating service config in agent for t = &Task{ID:3trtuvvfyfue47yb220eid1rc,Meta:Meta{Version:Version{Index:33917,},CreatedAt:&docker_swarmkit_v1.Timestamp{Seconds:1465931002,Nanos:648512240,},UpdatedAt:&docker_swarmkit_v1.Timestamp{Seconds:1465931002,Nanos:668819627,},},Spec:TaskSpec{Runtime:&TaskSpec_Container{Container:&ContainerSpec{Image:cpuguy83/blog,Labels:map[string]string{},Command:[],Args:[],Env:[],Dir:,User:,Mounts:[],StopGracePeriod:nil,},},Resources:&ResourceRequirements{Limits:&Resources{NanoCPUs:0,MemoryBytes:0,},Reservations:&Resources{NanoCPUs:0,MemoryBytes:0,},},Restart:&RestartPolicy{Condition:ANY,Delay:nil,MaxAttempts:0,Window:nil,},Placement:&Placement{Constraints:[],},},ServiceID:bngrroqitvavm3d8xwzclkohv,Instance:3,NodeID:213mbfzc49odc,Annotations:Annotations{Name:,Labels:map[string]string{},},ServiceAnnotations:Annotations{Name:test,Labels:map[string]string{},},Status:TaskStatus{Timestamp:&docker_swarmkit_v1.Timestamp{Seconds:1465931002,Nanos:668530834,},State:ASSIGNED,Message:scheduler assigned task to node,Err:,RuntimeStatus:<nil>,},DesiredState:RUNNING,Networks:[&NetworkAttachment{Network:&Network{ID:0bz87i4ey6ne7a2nvz9hfewlr,Meta:Meta{Version:Version{Index:82,},CreatedAt:&docker_swarmkit_v1.Timestamp{Seconds:1465831411,Nanos:551510224,},UpdatedAt:&docker_swarmkit_v1.Timestamp{Seconds:1465841413,Nanos:904490553,},},Spec:NetworkSpec{Annotations:Annotations{Name:ingress,Labels:map[string]string{com.docker.swarm.internal: true,},},DriverConfig:&Driver{Name:,Options:map[string]string{},},Ipv6Enabled:false,Internal:false,IPAM:&IPAMOptions{Driver:&Driver{Name:,Options:map[string]string{},},Configs:[&IPAMConfig{Family:UNKNOWN,Subnet:<IP_ADDRESS>/16,Range:,Gateway:<IP_ADDRESS>,Reserved:map[string]string{},}],},},DriverState:&Driver{Name:overlay,Options:map[string]string{com.docker.network.driver.overlay.vxlanid_list: 256,},},IPAM:&IPAMOptions{Driver:&Driver{Name:default,Options:map[string]string{},},Configs:[&IPAMConfig{Family:UNKNOWN,Subnet:<IP_ADDRESS>/16,Range:,Gateway:<IP_ADDRESS>,Reserved:map[string]string{},}],},},Addresses:[<IP_ADDRESS>/16],}],Endpoint:&Endpoint{Spec:nil,ExposedPorts:[&PortConfig{Name:,Protocol:TCP,Port:80,SwarmPort:80,}],VirtualIPs:[&Endpoint_VirtualIP{NetworkID:0bz87i4ey6ne7a2nvz9hfewlr,Addr:<IP_ADDRESS>/16,}],},}
Jun 14 15:03:22 docker112-node01 dockerd[8824]: time="2016-06-14T15:03:22.739951535-04:00" level=debug msg="state changed" state.desired=RUNNING state.transition="PREPARING->READY" task.id=3trtuvvfyfue47yb220eid1rc
Jun 14 15:03:22 docker112-node01 dockerd[8824]: time="2016-06-14T15:03:22.741680885-04:00" level=debug msg="state changed" state.desired=RUNNING state.transition="READY->STARTING" task.id=3trtuvvfyfue47yb220eid1rc
Jun 14 15:03:22 docker112-node01 dockerd[8824]: time="2016-06-14T15:03:22.747072818-04:00" level=debug msg="container mounted via layerStore: /var/lib/docker/aufs/mnt/51deb3b30659ab858f5fdbdd3b48d29a0c839ccb80c8d23d236873eb23d7c6e8"
Jun 14 15:03:22 docker112-node01 dockerd[8824]: time="2016-06-14T15:03:22.747804816-04:00" level=debug msg="Assigning addresses for endpoint test.3.3trtuvvfyfue47yb220eid1rc's interface on network ingress"
Jun 14 15:03:22 docker112-node01 dockerd[8824]: time="2016-06-14T15:03:22.748123560-04:00" level=debug msg="RequestAddress(LocalDefault/<IP_ADDRESS>/16, <IP_ADDRESS>, map[])"
Jun 14 15:03:22 docker112-node01 dockerd[8824]: time="2016-06-14T15:03:22.748432336-04:00" level=debug msg="Assigning addresses for endpoint test.3.3trtuvvfyfue47yb220eid1rc's interface on network ingress"
Jun 14 15:03:22 docker112-node01 dockerd[8824]: time="2016-06-14T15:03:22.750611993-04:00" level=debug msg="Releasing addresses for endpoint test.3.3trtuvvfyfue47yb220eid1rc's interface on network ingress"
Jun 14 15:03:22 docker112-node01 dockerd[8824]: time="2016-06-14T15:03:22.751145129-04:00" level=debug msg="ReleaseAddress(LocalDefault/<IP_ADDRESS>/16, <IP_ADDRESS>)"
Jun 14 15:03:22 docker112-node01 dockerd[8824]: time="2016-06-14T15:03:22.764862790-04:00" level=error msg="fatal task error" error="subnet sandbox join failed for \"<IP_ADDRESS>/16\": error creating vxlan interface: file exists" task.id=3trtuvvfyfue47yb220eid1rc

Fatal task error should result in a failed/rejected task. I can't tell whether this in Start or Wait, but it is wrong.
Network should be setup in prepare. Start should just start the process. The entire point of prepare is to prepare the container for execution. If the network ain't there, it ain't prepared. @mrjana

Could you also include the output of task inspect 3trtuvvfyfue47yb220eid1rc? I'd like to see if the error condition is being propagated.


There's no way to get card type and restrict allowed card types

Some payment systems, like Redeban in Colombia, requires to specify the car type (franchise). For that and for other purposes I think is crucial to have a callback function that receives the selected card type.
I think is crucial also restrict the card types thtat user can use, because some payment systems dins't work with all card types,and some business only wanna receive some types of cards

Thanks for the feature request, much appreciated!
Card is only a visual tool, not a validation and info gathering tool, so I think these requests are out of the scope for the library. If you want to do them, I'd recommend using Payment, which is already bundled with card.
If you disagree with this assessment, reopen the issue with some more thoughts on why this should be included and I'm happy to reconsider. Thanks again for your time!


chore: move tests to testconv

Summary:
Briefly describe the changes made in this PR.
Issue Reference(s):
Fixes #... (Replace "..." with the issue number)
Build & Testing:

[ ] I ran cargo test successfully.
[ ] I have run ./lint.sh --mode=fix to fix all linting issues raised by ./lint.sh --mode=check.

Checklist:

[ ] I have added relevant unit & integration tests.
[ ] I have updated the documentation accordingly.
[ ] I have performed a self-review of my code.
[ ] PR follows the naming convention of <type>(<optional scope>): <title>

I am strongly against this change as it makes no sense structurally.


Use the atom-text-editor tag instead of the editor class.

In keymaps/column-select.cson: Use the atom-text-editor tag instead of the editor class.

i have the same problema, to fix that open column-select.cson keybind file and change .editor to .atom-text-editor

Fixed, thanks!

thanks @ehuss!


feat: add option sheet and metadata

https://github.com/user-attachments/assets/2ebe7c58-55b2-4db9-afe1-2d23e3307ead

Alignd it differently so there is more space on the screen now. I'm still rethinking this screen. I don't think it's very clear the reason is supplied from the issuer. Also, the card structure is a bit too much like the NL wallet, but I do like it 😕. Ideas are welcome :).


mmsd-tng: 1.12.1 -> 2.6.1

Description of changes
Updates the outdated mmsd-tng so it works with Chatty on the PinePhone
Changelog: https://gitlab.com/kop316/mmsd/-/tags
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Just realized that there will always be a cmake error if there's a missing dependency so removed the unnecessary cmake.

Thanks for reviewing. Merging.


[feature] Use CLI tools instead of third-party GitHub Actions in the generator

For GitHub projects that enforce an allow-list for third-party GitHub Actions, like Macaron, it would be necessary to avoid calling the third-party GitHub Actions in the provenance generator and instead use CLI tools. These are the three GitHub Actions used by the generator and reported in this run, each of which might also be calling other GitHub Actions:

google-github-actions/auth
sigstore/cosign-installer
softprops/action-gh-release

For example the action-gh-release Action can easily be replaced by gh , which is available by default on the Ubuntu runners.
Note that GitHub enforces the allow-list statically. So, even if a GitHub Action is called conditionally, it will result in a startup failure.

Hey @behnazh-w, can you point us to docs or info on the allow list you're using and how it's enforced?

I think this is related to the issue you had on #1711 right?

Note that GitHub enforces the allow-list statically. So, even if a GitHub Action is called conditionally, it will result in a startup failure.

Right. This seems similar to the permissions issues we have. We could solve this by providing separate workflows for functionality like we did with the "lowperms" delegator workflow for BYOB.

These are the three GitHub Actions used by the generator and reported in this run, each of which might also be calling other GitHub Actions:

google-github-actions/auth
sigstore/cosign-installer
softprops/action-gh-release

I think sigstore/cosign-installer and softprops/action-gh-release could potentially be replaced relatively easily. We also have been leaning towards more modular workflows and not doing the release as part of the workflows (at least for newer workflows we've developed).
google-github-actions/auth would be pretty difficult to replicate though. We absolutely have to do the auth call inside the workflow so we can't extract that functionality, so I think the only solution would be to create a separate workflow that doesn't make the call.

Hey @behnazh-w, can you point us to docs or info on the allow list you're using and how it's enforced?

Our organization enforces an allow list for GitHub Actions based on this feature in GitHub. Such an allow list is applied at an organization level and is statically enforced as mentioned earlier.

I think this is related to the issue you had on #1711 right?

Yes it is related. However now we have approval for slsa-framework/slsa-github-generator reusable workflow but not its dependencies. Such policies are applied to reduce the attack surface given the supply chain issues in third-party GitHub Actions.

Thanks that's helpful extra context!

There is a related issue of only utilizing self-hosted runners. Some enterprises/orgs do not allow the use of GH hosted runners. These workflows would get a start-up error as they utilize ubuntu-latest.
It would be better if this could be re-written as a TS action that performed the necessary steps. That would remove the need for specific labels and also allow this repo to be replicated internally for those that do not allow access to public actions.

There is a related issue of only utilizing self-hosted runners. Some enterprises/orgs do not allow the use of GH hosted runners. These workflows would get a start-up error as they utilize ubuntu-latest.

Currently the builders rely on properties of the GH hosted runners that self-hosted runners don't have so we can't really provide the same security model using self-hosted runners currently. We would like to support self-hosted runners at some point but I'm not sure that it's possible currently.

It would be better if this could be re-written as a TS action that performed the necessary steps. That would remove the need for specific labels and also allow this repo to be replicated internally for those that do not allow access to public actions.

Reusable workflows were specifically chosen for their properties of running in separate job VM from a user's job, and that the OIDC tokens provided by GitHub include the currently executing workflow's path. This allows us to verify that the provenance was generated and signed isolated from the user's job.
A TS action executes much like a regular script so it would simply run in the same VM along with the user's build, potentially providing it access to the provenance generation process and key material used for signing. It would also get the same OIDC tokens allowing user builds to sign provenance in the same way as we would. This wouldn't address the threats laid out in our threat model so haven't provided actions for generating provenance thus far.

Reusable workflows were specifically chosen for their properties of running in separate job VM from a user's job, and that the OIDC tokens provided by GitHub include the currently executing workflow's path. This allows us to verify that the provenance was generated and signed isolated from the user's job.

Makes perfect sense. Thanks for the info!
What is needed to allow self-hosted runners?
Any idea if there are there tools that support self-hosted runners? I would image that GHES runners have this same issue.

Makes perfect sense. Thanks for the info!

 :)

What is needed to allow self-hosted runners? I found https://github.com/slsa-framework/slsa/issues/966

Right. I think they are thinking of generic "self-hosted runners" in the sense that it could be anything that interacts with the CI's API not just the platform's official self-hosted runner.
In short, to achieve SLSA Build lvl 3+ the runner needs to provide a way to isolate or sandbox the users build so that it runs in an untrusted context (in practice, this is a specially crafted VM or something like a gVisor sandbox) and doesn't have access to the runner itself or the provenance generation or the key material used to sign the provenance.
Anyone who has access to the machine that the runner is running on could also compromise the build so users need to explicitly trust whoever that is in addition to the CI platform itself (e.g. GitHub) if they are different people. I believe this is why they are saying on https://github.com/slsa-framework/slsa/issues/966 that the runner needs to have its own builder.id so that users can explicitly trust it when doing verification.

Any idea if there are there tools that support self-hosted runners? I would image that GHES runners have this same issue.

Right, any self-hosted runners would have this issue. I haven't looked much into self-hosted runners but my guess is there are very few that support anything like sandboxing user builds with security in mind.


Binary Classification on Resnet?

I want to classify 2 classes of images from ImageNet so I do the following:
  model = models.__dict__['resnet18'](pretrained=False, num_classes=2)

However this gives an output of dimensions (batch_size, 2). When dealing with 2 classes I would like to have a 1 dimensional vector output instead, so how would I have resnet do that? (I tried changing the num_classes to 1 but got an error).

Turns out it works if you change the number of classes to 1 but you have to make sure you use
BCEWithLogitsLoss instead of CrossEntropyLoss and then unsqueeze and transpose the target vector so that they have the same shape

I believe yes you can use CrossEntropyLoss. I followed this tutorial and its pretty easy.
http://pytorch.org/tutorials/beginner/transfer_learning_tutorial.html
It is classifying bees and ants images.

I have modified the resnet18 for binary classification as:
model = torchvision.models.resnet18()  model.conv1 = nn.Conv2d(num_input_channel, 64, kernel_size=7, stride=2, padding=3,bias=False)  model.avgpool = nn.AdaptiveAvgPool2d(1)  model.fc = nn.Linear(512 * torchvision.models.resnet.BasicBlock.expansion,2)
and I have tried this with nn.CrossEntropyLoss(). I think there is a problem with this classifier due to its poor performance (it is even worse than a dummy classifier). @Linardos I couldn't understand what is the problem with the loss and number of classes?


feature: Add NoRotation to NetworkTransform

This allows you to leave rotation out of the NetworkTransform if you only need position.
Right now if you don't need to sync rotation and you set compression to Lots, it can move your object in ways not expected. This forces you to use no compression as a fix. Using more bandwidth for something you don't need. I think this is all that is needed, tested it in my game and it works.

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


com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $

Hello folks , I'm testing API, using rest assured, programming language is java, trying to delete the (POST) created product. as you can see in the below deleteProduct method, I'm getting the generated new ID from response body, and inserting it, into the endpoint.
I have following code.
//endpoint , baseURL/api/product/{id}/deleteActivity
public void deleteProduct(){
    String id = response.jsonPath().getString("id");
    System.out.println("generated id is ======> " + id);
    response = when().request("DELETE", "/api/product/"+"+{"+id+"}"+"/deleteActivity");
}

@After
public void tearDown() {
 deleteProduct();

}

but I'm having the following exception, please help me to resolve this issue Thanks in Advance
java.lang.IllegalArgumentException: Invalid number of path parameters. Expected 1, was 0. Undefined path parameters are: Bl51kmlX.
I have tried without the curly braces as well, which is wrapped on ID, still having the following exception
public void deleteProduct(){
    String id =  response.jsonPath().getString("id");
    System.out.println("generated id is ======> " + id);
    response = when().request("DELETE", "/api/product/"+id+"/deleteActivity");
}

@After
public void tearDown() {
 deleteProduct();

}

com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
I have tried just insert the id directly manually. still having an exception ,
(in POSTMAN ,  this endpoint works fine)
public void deleteProduct(){
response = when().request("DELETE", "/api/product/Bl51kmlX/deleteActivity");
}
@After
public void tearDown() {
 deleteProduct();

}

com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $

Did you try when().delete("/api/product/"+id+"/deleteActivity"); ?


class namespaces doesn't work

lib = {}

---@class lib.Animal
lib.Animal = {}
function lib.Animal:Walk() end

---@type lib.Animal
local gamercat = {}
gamercat:Walk()

I am getting Undefined field Walk in this example code, but why?

---@class can no longer directly mark field assignment operations, you need to use other ways:
---@class lib.Animallib = {}

---@class lib.Animal
local m = {}

lib.Animal = m

function m:Walk() end

---@type lib.Animal
local gamercat = {}
gamercat:Walk()

i think this will work, thank you


vendor: updated helmclient

Updating helmclient as it has better error handling.

CI green. Vendor update. Merging.


Add Opensearch-ci-bot for write access to 'performance-analyzer-commons' repo

Is your feature request related to a problem? Please describe
Based on step 1 of this section, opensearch-ci-bot needs write access.
https://github.com/opensearch-project/opensearch-build/blob/main/ONBOARDING.md#onboarding-to-universal--1-click-release-process
Describe the solution you'd like
Enable opensearch-ci-bot to have write access.
Describe alternatives you've considered
No response
Additional context
No response

Repo Link: https://github.com/opensearch-project/performance-analyzer-commons

I will take care of this seems like the previous invite expired.

The bot has write access now:


Superfluous parentheses in repr output

There are extra parentheses in the reprint output on the outermost level of expressions containing binary operators at the top level and in function arglists.
>>> ? 3 + 2
(3 + 2)
5
>>> ? sqrt(4 + 5)
√((4 + 5))
3

I have an idea of a (hopefully) easy fix for this. Will attempt it tomorrow.


getting error while loaded ext-language_tools.js to use autocompletion.

I am trying to implement autocompletion in my angualr project but getting error when I load ext-language_tools.js file

How to load all dependencies of ext-language_tools ?
Thanks.

Fixed by make sure dependencies in shim : { }
    'ui.ace': {
        deps: ['ace']
    },
    'ace': {
        deps: ['angular']
    },
    'language_tools': {
        deps: ['ace']
    },


Cmder + Win10: ssh timeout

I can easily ssh into the machine
Same project, with same script and configuration and keys works on my OSX laptop and Ubuntu machine
When I dep deploy -vvv from cmder on win10 this happens:

λ php dep deploy -vvv

[localhost] > git rev-parse --abbrev-ref HEAD
[localhost] < master
✈ Deploying master on my.projecthome.com
• done on [my.projecthome.com]
➤ Executing task deploy:prepare
[my.projecthome.com] > echo $0
[my.projecthome.com] < ssh multiplexing initialization
[my.projecthome.com] < mux_client_request_session: read from master failed: Connection reset by peer
[my.projecthome.com] < ControlSocket
<EMAIL_ADDRESS>already exists, disabling multiplexing
[my.projecthome.com] < bash
[my.projecthome.com] > if [ ! -d /var/www/html/projecthome ]; then mkdir -p /var/www/html/projecthome; fi
[my.projecthome.com] < mux_client_request_session: read from master failed: Connection reset by peer
[my.projecthome.com] < ControlSocket<EMAIL_ADDRESS>already exists, disabling multiplexing
[my.projecthome.com] > if [ ! -L /var/www/html/projecthome/current ] && [ -d /var/www/html/projecthome/current ]; then echo 'true'; fi
[my.projecthome.com] < mux_client_request_session: read from master failed: Connection reset by peer
[my.projecthome.com] < ControlSocket<EMAIL_ADDRESS>already exists, disabling multiplexing
[my.projecthome.com] > cd /var/www/html/projecthome && if [ ! -d .dep ]; then mkdir .dep; fi
[my.projecthome.com] < mux_client_request_session: read from master failed: Connection reset by peer
[my.projecthome.com] < ControlSocket<EMAIL_ADDRESS>already exists, disabling multiplexing
[my.projecthome.com] > cd /var/www/html/projecthome && if [ ! -d releases ]; then mkdir releases; fi
[my.projecthome.com] < mux_client_request_session: read from master failed: Connection reset by peer
I've tried disabling multiplexing and this happens:

λ php dep deploy -o ssh_multiplexing=false -vvv

[localhost] > git rev-parse --abbrev-ref HEAD
[localhost] < master
✈ Deploying master on my.projecthome.com
• done on [my.projecthome.com]
➤ Executing task deploy:prepare
[my.projecthome.com] > echo $0
[my.projecthome.com] < bash
[my.projecthome.com] > if [ ! -d /var/www/html/projecthome ]; then mkdir -p /var/www/html/projecthome; fi
[my.projecthome.com] > if [ ! -L /var/www/html/projecthome/current ] && [ -d /var/www/html/projecthome/current ]; then echo 'true'; fi
[my.projecthome.com] > cd /var/www/html/projecthome && if [ ! -d .dep ]; then mkdir .dep; fi
[my.projecthome.com] > cd /var/www/html/projecthome && if [ ! -d releases ]; then mkdir releases; fi
[my.projecthome.com] > cd /var/www/html/projecthome && if [ ! -d shared ]; then mkdir shared; fi
[my.projecthome.com] < ssh: connect to host my.projecthome.com port 22: Connection timed out
➤ Executing task deploy:failed
• done on [my.projecthome.com]
✔ Ok [1ms]
➤ Executing task deploy:unlock
[my.projecthome.com] > rm -f /var/www/html/projecthome/.dep/deploy.lock
[my.projecthome.com] < ssh: connect to host my.projecthome.com port 22: Connection timed out
I've already removed the OpenSSH client from Win10 as it wasn't able to connect to the machine somehow. Any hint? Love the project btw.

I have this problem as well.   Deployer would get into ssh, create a couple folders on the server, then ssh would timeout while running.
I gave up trying to figure this out using the various windows bash options.   I tried many different configurations and bash options.
To do this on windows 10, I just installed WSL (Windows subsystem for linux).... Here is a video on installing php on it (its just like ubuntu): https://www.jeffgeerling.com/blog/2018/installing-php-7-and-composer-on-windows-10-using-ubuntu-wsl (Here is microsofts docs: https://docs.microsoft.com/en-us/windows/wsl/install-win10).  You have access to the C: drive via /mnt/c/ in WSL and run deployer just fine.
I pretty much just use WSL bash for deployer... Using gitbash for everything else because git in WSL is sloooow (https://github.com/microsoft/WSL/issues/873)

Closing this issue as inactive. If you still have this problem, please open a new issue.


Code Connection no longer working for Minecraft 1.2 (Bedrock)

Channel 9 demonstrated Code Connection working with Minecraft for Windows (on the Windows Store). Recently users have been getting this error:

The people in the video claim the bug is going to fixed sometime this week, but I will add an entry here so the issue can be tracked accordingly.

@rogersachan we are tracking the issue and fix for this is on tracked to be released by mid next week on the Minecraft PE as we speak. I will update the issue as soon as the fix is available.
Thank you very much for reporting.

Fixed in Minecraft Windows 10 v1.2.3


[Bug]: punycode` module is deprecated

Opencommit Version
3.2.2
Node Version
v22.9.0
NPM Version
10.8.3
What OS are you seeing the problem on?
No response
What happened?
getting this error upon typing oco command on the terminal:
oco
(node:16214) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
│
└  No changes detected

Expected Behavior
punycode module should be upgraded in the project if its being used
Current Behavior
The punycode module is deprecated.
Possible Solution
No response
Steps to Reproduce
No response
Relevant log output
No response

will be fixes in the next release


title/label in top of bar graph

Hi,
it would be realy nice if we could display the max value shown in the graph above the top of a bar f.e. or a dot displayed in the line graph

See #1750

Closed by<PHONE_NUMBER>1907797f341a5db7c4b7f47887b18b


Heimdall does not accept boot.img and boot.tar files as firmware packages.

Hello to everyone.
I'm trying to enable KVM on my SM-A600G (Samsung Galaxy A6 with exynos7870). This is the guide that I'm following :
https://github.com/raspiduino/a6lte-kvm
I've reached Step 1 of the section "installing",where he says to :

Transfer the patched img file to your Windows PC (to use Odin, in Linux you need [Heimdall] https://github.com/Benjamin-Dobell/Heimdall)) and rename it to boot.img. Add the file to tar using 7-zip or tar command then load tar file to AP in Odin. Flash your phone and when it says PASS!, you are doing well!

He didn't explain which kind of tecnique and file is accepted by Heimdall,so I'm here to ask this. At the moment I have a boot.img file and a boot.tar files. These files aren't accepted by Heimdall. When I click on "Heimdall Firnware Package / Browse" they aren't available. So,what should I do to install the patched image file to my phone using Heimdall ? thanks.

Flash the patched img file from command line with heimdall flash --BOOT /path/to/patched-boot.img, or (possibly, haven't tried) through GUI. No need to rename the file or put it into zip file with heimdall

(I'm running Ubuntu 22.04 installed within a WSL2 system on Windows 11).
I've installed Heimdall with the following commands :
mv magisk_patched-26100_JpvSO.img boot.img
apt install heimdall-flash-frontend
heimdall flash --BOOT boot.img
Heimdall v1.4.2
Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
ERROR: Failed to detect compatible download-mode device.
On Sat, Jul 8, 2023 at 11:08 PM Henrik Grimler @.***>
wrote:

Flash the patched img file from command line with heimdall flash --BOOT
/path/to/patched-boot.img, or (possibly, haven't tried) through GUI. No
need to rename the file or put it into zip file with heimdall
—
Reply to this email directly, view it on GitHub
https://github.com/Benjamin-Dobell/Heimdall/issues/528#issuecomment-1627490654,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFYNC2XCQCWH5ZBAVOOZLTXPHD4ZANCNFSM6AAAAAA2CZWG6Y
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Mario.

Does windows automatically pass usb devices through to WSL? If not you'll have to set that up somehow.
Probably easier to use odin if you are on windows


fix: fix user create and User update forms

@TheHadiAhmadi this branch has conflict with the latest changes with dev

@TheHadiAhmadi see the comment in #1370


Improve t-tag performance

The problem is that for every t-tag rendering, we go over the entire
template context and conditionally HTML-escape it before feeding it to
python-native to render the ICU template. If the context is big, this
can slow things down a lot.
This commit attempts to go over the ICU template to find all parameter
names that it will need. Then it only searches these names against the
context to conditionally escape. This should make things better.

Codecov Report

Merging #52 (aa6f125) into devel (855eeb1) will increase coverage by 0.09%.
The diff coverage is 86.95%.

@@            Coverage Diff             @@
##            devel      #52      +/-   ##
==========================================
+ Coverage   76.61%   76.70%   +0.09%
==========================================
  Files          33       36       +3
  Lines        2613     2795     +182
==========================================
+ Hits         2002     2144     +142
- Misses        611      651      +40

Impacted Files
Coverage Δ

transifex/common/console.py
77.77% <ø> (ø)

transifex/native/__init__.py
100.00% <ø> (ø)

transifex/native/django/apps.py
54.16% <14.28%> (-8.34%)
:arrow_down:

transifex/native/django/management/utils/base.py
30.76% <60.00%> (+0.89%)
:arrow_up:

transifex/native/parsing.py
94.50% <66.66%> (-0.55%)
:arrow_down:

transifex/native/core.py
94.82% <75.00%> (-5.18%)
:arrow_down:

transifex/native/daemon.py
94.11% <75.00%> (-2.66%)
:arrow_down:

transifex/native/django/utils/__init__.py
91.66% <75.00%> (ø)

transifex/native/django/utils/templates.py
96.07% <75.00%> (+0.07%)
:arrow_up:

transifex/native/django/management/common.py
85.71% <83.33%> (-0.96%)
:arrow_down:

... and 20 more

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 e64db4d...aa6f125. Read the comment docs.


ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability.

"react-native-render-html": "^4.2.0",
"react-native-webview": "^7.0.5",
"react": "16.8.6",
"react-native": "^0.59.8",
Apple team email message--->
Dear Developer,
We identified one or more issues with a recent delivery for your app, "*****" 1.0.51 (0.0.52). Please correct the following issues, then upload again.
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).
Please help me?

The same problem!

same here

I am stuck from  10 days.
i have tried all solution but not success.
plz fix or send us solution.

Same Problem arising in my device too. Please send the correct solution whenever it's solved

me too

plz suggest solutions.
i am stuck on it.

I am not able to upload app on app store.

+1

update to the latest version of react-native-webview
if you still have the issue after upgrading, this is not related to react-native-webview. you likely have some other library in your app that uses uiwebview.

+1

Still having the same problem in version: "9.1.3"

Can anyone help me out please

plz suggest solutions.
i am stuck on it.

Did you found any solution?

changing to another library, I guess. (react-native-autoheight-webview)
El lun., 15 jun. 2020 a las 13:09, Reactongraph<EMAIL_ADDRESS>escribió:

plz suggest solutions.
i am stuck on it.
Did you found any solution?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/react-native-community/react-native-webview/issues/1380#issuecomment-644063064,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACV5LH62QNUF5MQBX47YYTRWX6NNANCNFSM4M7NFGPQ
.

--
http://gigmit.com/zelisko
http://fb.com/zeliskomusic

I am still having the same issue... anybody figure it out?

Find solutions here!


Fix custom export package extension hint

The open file dialog for the custom export packages did not display apk
files by default because the hint was incorrect.

The hint also seems to be wrong for other platforms, could you add fixes for the other cases?
$ rg 'PROPERTY_HINT_GLOBAL_FILE, "[^\*"]'
platform/javascript/export/export.cpp
125:    r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "custom_template/release", PROPERTY_HINT_GLOBAL_FILE, "zip"), ""));
126:    r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "custom_template/debug", PROPERTY_HINT_GLOBAL_FILE, "zip"), ""));

platform/android/export/export.cpp
1091:           r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "custom_package/debug", PROPERTY_HINT_GLOBAL_FILE, "apk"), ""));
1092:           r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "custom_package/release", PROPERTY_HINT_GLOBAL_FILE, "apk"), ""));
1110:           r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "keystore/release", PROPERTY_HINT_GLOBAL_FILE, "keystore"), ""));
1902:   EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::STRING, "export/android/debug_keystore", PROPERTY_HINT_GLOBAL_FILE, "keystore"));

platform/iphone/export/export.cpp
175:    r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "custom_package/debug", PROPERTY_HINT_GLOBAL_FILE, "zip"), ""));
176:    r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "custom_package/release", PROPERTY_HINT_GLOBAL_FILE, "zip"), ""));

platform/osx/export/export.cpp
112:    r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "custom_package/debug", PROPERTY_HINT_GLOBAL_FILE, "zip"), ""));
113:    r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "custom_package/release", PROPERTY_HINT_GLOBAL_FILE, "zip"), ""));

platform/uwp/export/export.cpp
1090:           r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "custom_template/debug", PROPERTY_HINT_GLOBAL_FILE, "zip"), ""));
1091:           r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "custom_template/release", PROPERTY_HINT_GLOBAL_FILE, "zip"), ""));

And
$ rg 'PROPERTY_HINT_FILE, "[^\*"]'
platform/android/export/export.cpp
1107:                   r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, launcher_icons[i].option_id, PROPERTY_HINT_FILE, "png"), ""));

platform/iphone/export/export.cpp
196:    r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "required_icons/iphone_120x120", PROPERTY_HINT_FILE, "png"), "")); // Home screen on iPhone/iPod Touch with retina display
197:    r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "required_icons/ipad_76x76", PROPERTY_HINT_FILE, "png"), "")); // Home screen on iPad
198:    r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "required_icons/app_store_1024x1024", PROPERTY_HINT_FILE, "png"), "")); // App Store
200:    r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "optional_icons/iphone_180x180", PROPERTY_HINT_FILE, "png"), "")); // Home screen on iPhone with retina HD display
201:    r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "optional_icons/ipad_152x152", PROPERTY_HINT_FILE, "png"), "")); // Home screen on iPad with retina display
202:    r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "optional_icons/ipad_167x167", PROPERTY_HINT_FILE, "png"), "")); // Home screen on iPad Pro
203:    r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "optional_icons/spotlight_40x40", PROPERTY_HINT_FILE, "png"), "")); // Spotlight
204:    r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "optional_icons/spotlight_80x80", PROPERTY_HINT_FILE, "png"), "")); // Spotlight on devices with retina display
207:            r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, loading_screen_infos[i].preset_key, PROPERTY_HINT_FILE, "png"), ""));

platform/javascript/export/export.cpp
123:    r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "html/custom_html_shell", PROPERTY_HINT_FILE, "html"), ""));

platform/osx/export/export.cpp
117:    r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "application/icon", PROPERTY_HINT_FILE, "png"), ""));


[os_tester] plugin exposing EarlGrey and Espresso APIs

This is a sketch of a plugin that could expose interactions with non-Flutter UI to Flutter tests.
It could also be used for taking screenshots.
Right now it is based on XCTest/EarlGrey 1.0 but I'd like to migrate it to XCUITest/EG 2.0.

os_tester project also needs to have a pubspec.yml

This has been replaced by the e2e and espresso packages (earlgrey coming soon)


UserWarning: Training and eval env are not of the same

UserWarning: Training and eval env are not of the same type<stable_baselines3.common.vec_env.subproc_vec_env.SubprocVecEnv object at 0x7f7f61930430> != <stable_baselines3.common.vec_env.dummy_vec_env.DummyVecEnv object at 0x7f7f61930100>
warnings.warn("Training and eval env are not of the same type" f"{self.training_env} != {self.eval_env}")
What does that mean?  I initialize the train env and eval env with StockTradingEnvCashPenalty(), but here comes the issue.

It seems that the program stops trading when trainng. And also the 'current_step' remains 0 all the time, which causes the error 'divide by zero', how can I fix that issue?

UserWarning: Training and eval env are not of the same type<stable_baselines3.common.vec_env.subproc_vec_env.SubprocVecEnv object at 0x7f7f61930430> != <stable_baselines3.common.vec_env.dummy_vec_env.DummyVecEnv object at 0x7f7f61930100> warnings.warn("Training and eval env are not of the same type" f"{self.training_env} != {self.eval_env}")
What does that mean? I initialize the train env and eval env with StockTradingEnvCashPenalty(), but here comes the issue.

You need to use the same type of env for training and evaluation. It seems that you are using multiple envs for multiprocess training and one env for evaluation. This causes this issue.


[3.x] Fix display of programmatically created value in remote inspector

Programmatically created property value (object) were shown as "Empty" in the remote inspector. (See #28353 and #30033.)

These objects don't have path, but the empty path check was lost since #22201.
Programmatically created value is now shown as an editable "Object ID: XXXX" in remote inspector, the same as in 3.0.6.

The debugger code on master had a huge change, so this PR only targets the 3.2 branch.
p.s. I tried the same approach on master in SceneDebuggerObject::serialize (here) and the value is shown as "Object ID: XXXX" correctly. But clicking it does not make the inspector inspect the object. I'm not familiar with the 4.0 code, so I don't know why it happens and whether that's the expected behavior in 4.0.

Thanks!

The debugger code on master had a huge change, so this PR only targets the 3.2 branch.

It would be great to figure it out on master too so that we can have the issue fixed there too for future releases. CC @Faless

yippee, this issue masked quite some problems I had, e.g. overly complex collision shapes...

It would be great to figure it out on master too so that we can have the issue fixed there too for future releases. CC @Faless

I think this should be the equivalent change for master:
diff --git a/scene/debugger/scene_debugger.cpp b/scene/debugger/scene_debugger.cpp
index a1d4adcd41..a46f6a0197 100644
--- a/scene/debugger/scene_debugger.cpp
+++ b/scene/debugger/scene_debugger.cpp
@@ -367,7 +367,7 @@ void SceneDebuggerObject::serialize(Array &r_arr, int p_max_size) {

                PropertyHint hint = pi.hint;
                String hint_string = pi.hint_string;
-               if (!res.is_null()) {
+               if (!res.is_null() && !res->get_path().is_empty()) {
                        var = res->get_path();
                } else { //only send information that can be sent..
                        int len = 0; //test how big is this to encode

Cherry-picked for 3.3.1.


Added notebook

density.ipnyb looks how long the time series are overall
data_gaps.ipnyb looks many gaps q and p data has
data gaps does not run on my computer, as it somehow cannot read in the files. Not sure why, as the data is locally here. But would be great if @mmaelicke could run it on his computer if it works there.

nice, thanks, I'll have a look!

@florianjehn nice!
I added a little bit to your notebooks, for density I added a plotly figure that I will use on the website and for gaps I found the problem.
You set the problem_encountered flag whenever something went wrong. So even if q was there but w not, both were set to NaN. The variable for water level is called 'w', not 'p' (.... I know....), therefore the code could never find 'p' and always set NA.
Now it works and only fails for the files, where we actually have a problem.
I changed the logic to not set Na, but 100, meaning 100% of gaps in case something went wrong. Is that actually correct? do you calculate the amount of gaps or the amount of data :) ?

Thanks for the fix. I meant to program it that way that it tells you much data exists between the first and last valid entry. So, for example if you have the timeseries:
time_series = [1, 2, np.nan, 3, 4, np.nan, 5, 6, np.nan]
It would tell you that 25 % of the data are gaps. Or what did you have in mind?

Thanks for the fix. I meant to program it that way that it tells you much data exists between the first and last valid entry. So, for example if you have the timeseries:
time_series = [1, 2, np.nan, 3, 4, np.nan, 5, 6, np.nan]
It would tell you that 25 % of the data are gaps. Or what did you have in mind?

Ah, I see. That is quite smart as it automatically omits NaNs at the start and end of the timeseries. Did not think of that. But then putting 100 for missing timeseries is good, right? @florianjehn you agree? then I join

Yes, 100 for a missing timeseries totally makes sense :+1:


fix(curriculum): updates body-parser readme with better explanation for extended config

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #42682

Hi @raisedadead @ojeytonwilliams

I could not found any tests for the same.. have I missed anything?
Is there any standard process for how changes for other languages should be done? (I tried referring to the steps mentioned in https://contribute.freecodecamp.org/#/how-to-open-a-pull-request for language, but perhaps the link is broken?)

Any guidance here would be helpful..

Hi @anirudh-modi, thanks for the PR.  Regarding tests, I'm not 100% what the process for adding new backend tests is @ShaunSHamilton or @scissorsneedfoodtoo might know more. It's probably fine, though, since the main goal is just to get the user to use body-parser.

Don't worry about the translations, though.  If you're interested in the process, take a look at https://contribute.freecodecamp.org/#/how-to-translate-files, but, TL;DR, we don't submit PRs for translations any more - just the original English text.

Hi thanks, for the feedback let me resolve the same

I hope I do not have to do anything else @alirezaghey @ShaunSHamilton for this PR..

Awesome!! But weirdly the merge is still blocking..

Awesome!! But weirdly the merge is still blocking..

Approval without write access doesn't count toward mergeability, which makes sense. Otherwise, any combination of 3 distinct github accounts could merge changes to the codebase.

hah, nice catch :tada:

Thanks for pointing the same 😊
Committed the suggestion.

No problem at all!! 🙂
It was my pleasure that I could contribute to freeCodeCamp 🙂


class loader should be parent-first

http://frankkieviet.blogspot.in/2009/03/javalanglinkageerror-loader-constraint.html

Hi, I think I hit this issue when trying to use Selenium from beaker. To reproduce you can download selenium, set it on classpath and create new instance of firefox driver. Attaching beaker notebook with that, be aware it downloads stuff and then one need to manually adds it input to Java classpath.
Selenium.bkr.zip


What about this package instead of the Facebook "official" one?

Hi,
This package seems pretty good. Bravo for the release.
I've seen in the Facebook Roadmap that they will release a new navigation package (here is a screenshot) :

(source: https://github.com/facebook/react-native/wiki/Roadmap)
Why should I use this package and not the future Facebook "official" one?

This is that "new standard navigation".

Oh! Great. So you guys work at Facebook or are core contributors?

I don't work at Facebook. This project is a collaboration between folks from Exponent, Facebook and react community.
If this answer your question please close the issue.

Thanks for the reply.


iPad Pro iPadOS 13.2 the window is clipped

Hi
iPad Pro iPadOS 13.2 the window is clipped, see pic. The scanner works but it doesn't looks good

Have the same problem, need improve.

(void)showBarcodeView {
BarcodeScannerViewController *scannerViewController = [[BarcodeScannerViewController alloc] init];
UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:scannerViewController];
scannerViewController.delegate = self;
scannerViewController.modalPresentationStyle = UIModalPresentationFullScreen;
navigationController.modalPresentationStyle = UIModalPresentationFullScreen;
[self.hostViewController presentViewController:navigationController animated:NO completion:nil];
}

add two lines in the BarcodeScanPlugin.m
scannerViewController.modalPresentationStyle = UIModalPresentationFullScreen;
navigationController.modalPresentationStyle = UIModalPresentationFullScreen;

Terry
That is a very good finding. I guess barcode_scan page will soon be updated.
Thanks to you and to the barcode_scan team.

I'm having this issue as well and would love for the pull request that was created to be merged. Thanks!

@StephanCassel: Please pull the master branch and check if the issue is still there. PR #167 contains a fix a similar problem

Hi @devtronic
Sorry about the delay. On journey.
Everything looks very good.
Thanks.


HTML files in subfolders

Hi guys, thanks for you bootstrap 5 template!
How can I create HTML file in subfolder and build it correctly with gulp build:dev? "Correctly" I mean with right paths to images and so on.
For example I have
- index.html
- /news
-- index.html

How can I build news/index.html?
UPD I figured this out. Sorry for the issue.

Omg


Refactor: Separate arg conversion from invocation creation

Summary:
The old and the new native module system perform method argument conversion very differently:

The TurboModule system converts from JSI Value -> ObjC value. It tries to minimize reliance on RCTConvert.
The legacy NativeModule system is practically built on top of RCTConvert. It relies on runtime type checking to convert between JSI value -> ObjC value.

So, this diff pulls arg conversion into its own method. That way we can implement argument conversion differently in the TurboModule interop layer.
Changelog: [Internal]
Reviewed By: cipolleschi
Differential Revision: D44850618

Landed as https://github.com/facebook/react-native/commit/d487fdf81be25e7064d555ffcbb09d979fb539e3