Insert image modal incorrectly positioned on Chrome on Android

In Chrome on Android, yhe Insert image modal is positioned such that field labels are out of the viewport:

I tried to zoom and pan but still couldn't see the full modal. This is easiest to reproduce if you try to insert an image with the caret in the first column.

The default style is not responsive yet.

Would be impressive to have a responsive demo page.

I don't know if this might be useful but t i tried some adaptations for the image modal because i needed it to be responsive.
First using margin auto to center the modal and max-width allows the modal to shrink on smaller resolutions.
These are the rules i used :
`.trumbowyg-modal {
max-width: 90vw;
width: 520px;
height: 350px;
z-index: 11;
overflow: hidden;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
position:absolute;
left:0;
right:0;
margin-left:auto;
margin-right:auto;
}
.trumbowyg-modal-box {
backface-visibility: hidden;
background-color: #fff;
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
font-size: 14px;
padding-bottom: 45px;
text-align: center;
max-width: 90vw;
width: 500px;
z-index: 1;
position:absolute;
left:0;
right:0;
margin-left:auto;
margin-right:auto;
}`
With little changes to the modal html you could use flexbox and media queries to achieve something a little more usable :
if you put the "trumbowyg-input-infos" span before the input like this
	 			 				URL 			 		<input type="text" value="" name="url">
you can use the following rules to get the same layout as before :
`.trumbowyg-modal-box label {
display: flex;
}
.trumbowyg-modal-box label .trumbowyg-input-infos {
flex: 1;
position: relative;
}
.trumbowyg-modal-box label input {
position: relative;
}`
and then add one media query to stack label and input when the screen width gets too small
@media screen and (max-width: 480px) { 	.trumbowyg-modal-box label { 		height: 54px; 		flex-direction: column;  	}	 }
Event without reversing the html markup it is still nice (except for the fact that the labels are on the right side instead of left)
Then again you might have to implement a fallback for older navigators who doesn't support flexboxes and that might be a pain.

Here is what it looks like applying the rules, without reversing the input and form label.
On standard screen :

And on small screen (width < 480 px)

Done since v2.0.2


add end event emitter

Hi Izupet,
I found this useful and I thought that you would like to merge this to your project.
I found it easier to have a totally different event emitter than to use the same and trying to find out if it is the last one or not.
Regards,
Klearchos

Hi, I did not forget about this PR. I find this useful feature, but will give it a  closer look and merge it until end of the week.


0.32 broke media_player.yamaha

Home Assistant release (hass --version):
0.32
Python release (python3 --version):
Don't know exactly, I'm using the docker images
Component/platform:
media_player.yamaha
Description of problem:
Upgrading to 0.32 from 0.31.1, the yamaha component fails to initialize
Problem-relevant configuration.yaml entries and steps to reproduce:
- platform: yamaha
  host: rx-v579
  name: AVR
  source_ignore:
    - "JUKE"
    - "AUX"
    - "AV1"
    - "AV2"
    - "AirPlay"
    - "Bluetooth"
    - "HDMI3"
    - "HDMI4"
    - "HDMI5"
    - "HDMI6"
    - "MusicCast Link"
    - "NET RADIO"
    - "SERVER"
    - "Spotify"
    - "TUNER"
    - "USB"
    - "iPod (USB)"
  source_names:
    AV3: "CD"
    AV4: "TV"
    AV5: "Vinyl"
    AV6: "SNES"
    HDMI1: "Shield"
    HDMI2: "PC"

Traceback (if applicable):
16-11-05 20:34:18 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform yamaha
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/helpers/entity_component.py", line 148, in _async_setup_platform
    entity_platform.add_entities, discovery_info
  File "uvloop/future.pyx", line 230, in __iter__ (uvloop/loop.c:94692)
  File "uvloop/task.pyx", line 186, in uvloop.loop.BaseTask._fast_wakeup (uvloop/loop.c:100074)
  File "uvloop/future.pyx", line 101, in uvloop.loop.BaseFuture._result_impl (uvloop/loop.c:93110)
  File "/usr/local/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/app/homeassistant/components/media_player/yamaha.py", line 82, in setup_platform
    YamahaDevice(name, receiver, source_ignore, source_names)])
  File "/usr/src/app/homeassistant/components/media_player/yamaha.py", line 101, in __init__
    self.update()
  File "/usr/src/app/homeassistant/components/media_player/yamaha.py", line 107, in update
    self._play_status = self._receiver.play_status()
  File "/usr/local/lib/python3.5/site-packages/rxv/rxv.py", line 238, in play_status
    res = self._request('GET', request_text, zone_cmd=False)
  File "/usr/local/lib/python3.5/site-packages/rxv/rxv.py", line 97, in _request
    response = ET.XML(res.content)
  File "/usr/local/lib/python3.5/xml/etree/ElementTree.py", line 1334, in XML
    return parser.close()
  File "<string>", line None
xml.etree.ElementTree.ParseError: no element found: line 1, column 0

Additional info:
The exact same configuration works perfectly fine on 0.31.1.

cc: @postlund

I will look into this as soon as I can, thanks you for reporting 👍

It works for me, but I do get an error.  I can't see that it is actually stopping any functionality that I use though.
Nov 05 19:01:36 automation hass[17899]: INFO:homeassistant.loader:Loaded media_player.plex from homeassistant.components.media_player.plex
Nov 05 19:01:38 automation hass[17899]: ERROR:homeassistant.components.media_player:Error while setting up platform yamaha
Nov 05 19:01:38 automation hass[17899]: Traceback (most recent call last):
Nov 05 19:01:38 automation hass[17899]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 148, in _async_setup_platform
Nov 05 19:01:38 automation hass[17899]: entity_platform.add_entities, discovery_info
Nov 05 19:01:38 automation hass[17899]: File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
Nov 05 19:01:38 automation hass[17899]: yield self  # This tells Task to wait for completion.
Nov 05 19:01:38 automation hass[17899]: File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
Nov 05 19:01:38 automation hass[17899]: value = future.result()
Nov 05 19:01:38 automation hass[17899]: File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
Nov 05 19:01:38 automation hass[17899]: raise self._exception
Nov 05 19:01:38 automation hass[17899]: File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
Nov 05 19:01:38 automation hass[17899]: result = self.fn(*self.args, **self.kwargs)
Nov 05 19:01:38 automation hass[17899]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/media_player/yamaha.py", line 80, in setup_platform
Nov 05 19:01:38 automation hass[17899]: if receiver.zone not in zone_ignore:
Nov 05 19:01:38 automation hass[17899]: TypeError: argument of type 'NoneType' is not iterable

Here is my configuration if at all helpful:
media_player:
  - platform: yamaha
    name: 'Family Room Receiver'
    source_ignore:
      - "AUDIO1"
      - "AUDIO2"
      - "AV1"
      - "AV2"
      - "AV3"
      - "AV5"
      - "AV6"
      - "HDMI1"
      - "HDMI2"
      - "HDMI3"
      - "HDMI4"
      - "HDMI5"
      - "Pandora"
      - "Rhapsody"
      - "SERVER"
      - "SiriusXM"
      - "Spotify"
      - "TUNER"
      - "USB"
      - "V-AUX"
      - "iPod (USB)"
      - "NET RADIO"
    source_names:
      AV4: "TV"

With nearly the same configuration (the main difference I can see is I specified an host, I'm not relying on discovery), I don't have the same stacktrace, and the entity isn't instantiated at all on my end. I'll try later today without the hard-coded host.

Update: I have the same error as above without specifying the host attribute. Same goes for 0.32.2 (seems pretty logical looking at the changes).

Ok, there are 2 issues here. The play_info one is it's own thing, the zone_ignore is because optional voluptuous attributes don't actually set a default. The zone_ignore is easy to fix. I don't know about the other.

Out of curiosity, for folks where zone_ignore fails, do you have > 1 media_player component?

The above fixed the zone_ignore issue, for the original issue, I'm not really sure what the issue is. We'd probably need a dump of the XML that is failing to parse to see what's up with it.

Good, I see there's some progress. The initial problem is because the receiver does not support the command so we should not use play_status. Not sure how to make a clean implementation, but I will think about it.

@postlund we can discover that from the desc.xml I think. It also probably makes sense to make rxv be extremely robust on all it's method calls, even in the face of bad xml.

Maybe we can, not sure. Should be easy enough to check though. Would be good to have a proper strategy in rxv for presenting/verifying support for different things. Since functionality is quite limited in rxv, adding is_x_supported-methods for things that are not supported by all receivers might be the easiest and cleanest solution. But it will explode if we add more functionality down the road. Another way is to just throw NotImplementedError and let the user take action (this is what we can do with the current version and I will provide a fix so dev works as expected).
I would not say that it's bad xml in this case, more lack of it. But yeah, better handling of received data would be nice.

Is there any way I can fetch the desc.xml from my receiver?

Sure, just visit/download http:///YamahaRemoteControl/desc.xml

Argh, github... insert IP-address of receiver at the right place.

 Would any specific part (or the whole file) help for this issue?

No, we need the whole thing. Yamaha basically has a full API discovery system in there, so every function and parameter supported in the receiver is there. I would suggest pasting into a gist somewhere. I started building some testing in the rxv project that can use some of these to figure out platform differences.

@sdague: Which approach for "exposing" available support are you aiming for in rxv?

Here it is: https://gist.github.com/Kernald/f172d0ca44dd85ef74af41245e38b27e

I've made some sort of fix for the current problem, feel free to try it out.

I'm using docker so I won't be able to test easily, I'll set up a test instance on your branch and keep you posted. I'll probably won't be able to do this today, though.

@Kernald before we merge the work around, it would be good to know that it fixed things for you. It could just get us to another issue with the rxv support of that receiver, and if the issue is deeper than this work around I'd rather figure out how to fix it in the library for real.

@Kernald any idea which input your stereo was on when this happened?

Sure, it was HDMI 1.

HDMI1 makes total sense. The update call is doing the play_status on update regardless of input. Which is definitely not going to work on HDMI inputs.
So, I actually think - https://github.com/wuub/rxv/pull/28/commits/82b380609e6171770f6a77359c607995457cffea (upstream fix in rxv) is probably a better fix than #4281 for this, because that makes the library behave more consistently here, and keeps the logic out of HA when possible.
@Kernald any chance you can pull that branch and try that upgraded library? If it works I'll see if we can get rxv released and bump the dependencies in HA for the next release.

Sure, I should be home in a couple hours :-)
Le lun. 7 nov. 2016 21:01, Sean Dague<EMAIL_ADDRESS>a écrit :

HDMI1 makes total sense. The update call is doing the play_status on
update regardless of input. Which is definitely not going to work on HDMI
inputs.
So, I actually think - wuub/rxv@82b3806
https://github.com/wuub/rxv/pull/28/commits/82b380609e6171770f6a77359c607995457cffea
(upstream fix in rxv) is probably a better fix than #4281
https://github.com/home-assistant/home-assistant/pull/4281 for this,
because that makes the library behave more consistently here, and keeps the
logic out of HA when possible.
@Kernald https://github.com/Kernald any chance you can pull that branch
and try that upgraded library? If it works I'll see if we can get rxv
released and bump the dependencies in HA for the next release.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/4226#issuecomment-258945808,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASHiLRWlyQQeUwkI7pJhoQEdDz0DvAfks5q74OGgaJpZM4KqXRx
.

@sdague I can confirm your fix in rxv works fine. Thanks :+1:

@Kernald ok, rxv fix is merged upstream. Once we get a release I'll propose an HA req bump.

Great, thanks!


Hide app icon

It looks bad because there are two battery icons on my menu bar.
I would like to request a feature to hide or remove the icon of your app, like you can do with LuLu for example.
You can actually hide the macos battery icon, but I it looks better than the app.

Use the cli version

Use the cli version

Thanks!


[SPARK-48892][ML] Avoid per-row param read in Tokenizer

What changes were proposed in this pull request?
Inspired by https://github.com/apache/spark/pull/47258, I am checking other ML implementations, and find that we can also optimize Tokenizer in the same way
Why are the changes needed?
the function createTransformFunc is to build the udf for UnaryTransformer.transform:
https://github.com/apache/spark/blob/d679dabdd1b5ad04b8c7deb1c06ce886a154a928/mllib/src/main/scala/org/apache/spark/ml/Transformer.scala#L118
existing implementation read the params for each row.
Does this PR introduce any user-facing change?
No
How was this patch tested?
CI and manually tests:
create test dataset
spark.range(1000000).select(uuid().as("uuid")).write.mode("overwrite").parquet("/tmp/regex_tokenizer.parquet")

duration
val df = spark.read.parquet("/tmp/regex_tokenizer.parquet")
import org.apache.spark.ml.feature._
val tokenizer = new RegexTokenizer().setPattern("-").setInputCol("uuid")
Seq.range(0, 1000).foreach(i => tokenizer.transform(df).count()) // warm up
val tic = System.currentTimeMillis; Seq.range(0, 1000).foreach(i => tokenizer.transform(df).count()); System.currentTimeMillis - tic

result (before this PR)
scala> val tic = System.currentTimeMillis; Seq.range(0, 1000).foreach(i => tokenizer.transform(df).count()); System.currentTimeMillis - tic
val tic: Long =<PHONE_NUMBER>068
val res5: Long = 50397

result (after this PR)
scala> val tic = System.currentTimeMillis; Seq.range(0, 1000).foreach(i => tokenizer.transform(df).count()); System.currentTimeMillis - tic
val tic: Long =<PHONE_NUMBER>256
val res5: Long = 43748

Was this patch authored or co-authored using generative AI tooling?
No

I'll wager that the expensive part was probably the configuration check itself plus the regex compilation, but not the branching (since those would predict well). Therefore I predict that you can get almost the whole speedup if you did something like
override protected def createTransformFunc: String => Seq[String] = {
  val re = $(pattern).r
  val _toLowercase = $(toLowercase)
  val _gaps = $(gaps)
  val minLength = $(minTokenLength)
  { originStr =>
      // scalastyle:off caselocale
      val str = if (_toLowerCase) originStr.toLowerCase() else originStr
      // scalastyle:on caselocale
      val tokens = if (_gaps) re.split(str).toImmutableArraySeq else re.findAllIn(str).toSeq
      tokens.filter(_.length >= minLength)
    }
}

Basically, I think it might be overkill or unnecessary to fully inline and expand the cross product like this. My suggested approach is easier to understand and probably nearly equivalent in performance.

make sense, let me make the changes simple

merged to master


detailed documentation for integration or just debug mode for endpoints.

Current Implementation
The Debug mode would be nice. I am trying to upload keys but getting 500 without any message what is wrong.
Are you realy using protobuffer version 1? (the latest is v3 ) or it is just Swagger wrong?
Suggested Enhancement
Debug messages for upload keys method or better, more detailed documentation for that.
Expected Benefits
Less time to intagreate.

@flamaniac Thank you for the suggestion, our developers will discuss if a debug mode is viable and we'll get back to you!

@flamaniac A debug mode is currently not in the specifications (or time plan) by the EU, therefore we cannot implement it at this point.
Regarding your specific issue and the (lack) of HTTP error messages:

4xx responses should come with error messages
5xx responses are server errors, they can be seen in the log
Any deviation from that behaviour is likely a bug - please create an issue specific to the problem and we will look into it.

I will close this issue for now, but please feel free to comment or reopen it if anything remains unclear.
Thank you!

Yes. I have rebuild gateway project by maven and now I get a proper http code.


Update to Node.js LTS

What’s missing?
The project should be running on the latest LTS release of Node.js.
Why?
The project currently runs on Node.js 12 which was EOL'ed as of April this year.
Alternatives you tried
N/A

Agree, I just did it on a ton of repositories using https://github.com/gr2m/octoherd-script-bump-node-version-in-workflows, setting --node-version "lts/*", but not yet on my personal account. Doing it right now

actually nevermind, I miss understood. I bump the used node versions in CI via https://github.com/gr2m/twitter-together/commit/f7123bba7b6467cc115a603963ddf694eae032ac, but your issue is about bundling the action code itself, right?
runs.using in action.yml can now be set to nod16 as per https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#example-using-nodejs-v16, do you want to send a pull request?

It's a bit of both -- updating the action to use Node 16, but also updating the repo to it (setting an .nvmrc file for it [I'm introducing at a v12 in #177], and updating to lockfile v2)

:tada: This issue has been resolved in version 2.1.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Conflicting message names from packages

Hi! Love the project thanks so much for the work.
I have been implementing it into our companies workflow to save us from using the default grpc-web implementations.
One issue I am coming across is conflicting messages in different proto packages. For example:
In lets say alpha/product.proto I have
syntax = "proto3";

package alpha;

message Product {
    string id = 1;
}

And in beta/product.proto I have
syntax = "proto3";

package beta;

message Product {
    string id = 1;
}

Now I am trying to create a library, publish it to npm and then import it into our product sites. So to create a library I am creating a public-api.ts
export * from './lib/alpha/product.pb';
export * from './lib/beta/product.pb';

Now this is a problem, since I will get an error
Module './lib/alpha/product.pb' has already exported a member 'Product'

So here are what I think the options are:

Split my alpha and beta services into separate libraries. This is on the surface the best move, but this becomes a problem when imports get involved. (We have quite a lot of shared constants for example)
Somehow namespace the message names with the package.

I have sort of tried 2 by doing this in my public-api.ts
import * as alpha from './lib/alpha/product.pb';
import * as beta from './lib/beta/product.pb';

export { alpha, beta }

However doing this I end up with an error from angular when im attempting to build an app that imports the library
><EMAIL_ADDRESS>build /example-site
> ng build "--prod"

ERROR in app/app.module.ts(48,16): Error during template compile of 'AppModule'
  Unsupported bundled module reference in 'beta'
    'beta' contains the error.

This error appears to be to do with the import and export syntax I have used and the way that aot compilation handles it.
So really what I am asking for here is just a discussion as to what you think would be the best approach to solve this, without having to rename alll my proto messages to something unique.
Thanks!

Hi @jfyne
thank you for the warm words :)
You are right, it seems like a problem. The first thing I think of is to take the solution from golang plugin, more precisely this is how they solve similar issue
https://github.com/golang/protobuf#packages-and-input-paths
Maybe we can add similar option option ng_package = "alpha"; in the beginning of each proto file.
Could this be a potential solution?

Ahhh yes that is a great idea!
What would that do? I'm afraid my typescript knowledge isn't too strong but I am aware that it has namespaces and modules, would perhaps using these give us that encapsulation?

@jfyne this would encapsulate every file into a special namespace. Similar to what you've done with
import * as alpha from './lib/alpha/product.pb';
import * as beta from './lib/beta/product.pb';

export { alpha, beta }

However there is one problem with this approach I could think of now. The code becomes non-tree-shakeable. That means all messages and service clients you don't use in your final app will still be included into the result code. And the generated protos are quite big.
So, actually it's not a good reusable solution. Neither namespace, nor export as sub-objects.
The next idea that comes to mind is to explore the first solution you mention.

Split my alpha and beta services into separate libraries. This is on the surface the best move, but this becomes a problem when imports get involved. (We have quite a lot of shared constants for example)

In various angular libs there are imports from non-root public apis. E.g. @angular/material in the 8th release spits all its modules into separate import paths like @angular/material/dialog. What if you do the same? The ng-packagr which is used by @angular/cli allows to configure that:
https://github.com/ng-packagr/ng-packagr/blob/master/docs/secondary-entrypoints.md
This remains one library, but meanwhile is being exported separately. Looks like exactly what you need. I haven't tried it but it looks like a valid option to give a try to.

I could try that, however I think there is one blocker to that solution. The relative imports that are generated when you import a definition would not point to the correct file. For example
// org/supplier.proto
syntax = "proto3";

package org;

message Supplier {
    string id = 1;
    string name = 2;
}

// alpha/product.proto
syntax = "proto3";

package alpha;

import "org/supplier.proto";

message Product {
    string id = 1;
    org.Supplier suplier = 2;
}

// beta/product.proto
syntax = "proto3";

package beta;

import "org/supplier.proto";

message Product {
    string id = 1;
    org.Supplier suplier = 2;
}

So now we are importing Supplier and using it in the Product messages. The generated code looks something like
import * as org000 from '../org/supplier.pb';

So if I were then to move the alpha, beta and org code into there own secondary entrypoints it looks as though the directory structure would have to be (according to this https://stackoverflow.com/a/52558928) something that would break the imports.
Now could the suggested option ng_package = "alpha" be used to change those imports into something like
// org/supplier.proto
syntax = "proto3";

package org;

option ng_package = "@company/services/org";

message Supplier {
    string id = 1;
    string name = 2;
}

import * as org000 from '@company/services/org';

@jfyne have you found a way to deal with the issue?

@smnbbrv yes.
So I ditched the idea of creating a fully functioning angular library, and instead just created a package which included the output from protoc-gen-ng, this means no public-api.ts. Ours is called
@human-made-machine/apis
Then when I want to use my package I edit the tsconfig.app.json in the root of the project.
{
  "extends": "./tsconfig.json",
  "compilerOptions": {
    "outDir": "./out-tsc/app",
    "types": []
  },
  "files": ["src/main.ts", "src/polyfills.ts"],
  "include": ["node_modules/@human-made-machine/apis/**/*", "src/**/*.d.ts"],
  "exclude": ["src/test.ts", "src/**/*.spec.ts"]
}

Notice the include line.
Then to use it in my project, for example src/app/app.module.ts
...
import { GRPC_COMMENTS_CLIENT_SETTINGS } from<EMAIL_ADDRESS>...

This then prevents the conflicting named classes apart, and if needed I can import them as something else when I need to use them.


com.rest.elevenlabs 3.0.0

Added Text To Speech Streaming w/PCM format (requires Independent Publisher subscription)
Refactoring to support latest API changes

Biggest Change is the new DownloadItem signature for all endpoints which contains all the information of the generated clip.

Refactored Demo scene for streaming
Refactored HistoryEndpoint
Refactored TextToSpeechEndpoint

Removed saveDirectory parameter, devs can choose to save cached file to specified location using new DownloadItem class

Renamed GeneratedVoiceRequest -> GeneratedVoicePreviewRequest
preserve default values in VoiceSettings
Refactored VoiceGenerationEndpoint

Renamed GenerateVoiceAsync -> GenerateVoicePreviewAsync

Refactored VoicesEndpoint

Renamed GetVoiceSampleAsync -> DownloadVoiceSampleAsync

any eta for the 3.0.0 release?

Just need to finish up history API changes with pagination


Better message when libvulkan.so.1 fails to load

It would be good if there could be some better diagnostic printed when libvulkan.so.1 fails to load. I had libvulkan installed but still got that message. Only after using LD_PRELOAD did I find out the reason. Apparently I needed 32bit libvulkan.so.1 installed despite my WINEPREFIX being 64bit.

@mbenkmann The WINEPREFIX 32 or 64 only makes you able to run 32 or 64 bit windows binaries. 32 bit prefix, does not run 64 bit windows binaries.
When those binaries is run, they depend on the same bit-binary libraries in Linux to run - so running a 32-bit windows binary loads the suitable 32-bit Linux library, and that is why you have to have 32-bit libvulkan.so.1 :)
I also found out that the hard way :)

I'm sure a lot of people waste time trying to diagnose this, which is why a better diagnostic would be so useful.

Can confirm. Almost gave up when I couldn't get Graveyard Keeper working. Figured it was due to my 280x being "experimental" and not the project. Turns out I forgot to install lib32-vulkan-radeon.

DXVK doesn't load libvulkan.so directly, wine loads it. DXVK doesn't even know that it exists since it's using wine's own Vulkan library.


[BUG] Cannot find module with a platform extension

Using a bare react-native project and the jest react-native tutorial (https://facebook.github.io/jest/docs/tutorial-react-native.html), it seems modules imported according to the current platform cannot be found.
Here is a repository to reproduce the issue: https://github.com/shaoner/reactnativetest

npm install
npm test

<EMAIL_ADDRESS>test /home/user/Workspace/tests/reactnativetest
jest

FAIL  tests/Intro-test.js
● Test suite failed to run
Cannot find module './foo' from 'Intro.js'

  at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:144:17)
  at Object.<anonymous> (Intro.js:9:10)
  at Object.<anonymous> (__tests__/Intro-test.js:3:12)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        0.727s
Ran all test suites.

The only interesting line in Intro.js  is:
import foo from './foo'

which should by default import foo.ios.js using the options from jest-react-native
Versions and OS:
# npm --version
3.8.6
# node --version
v6.0.0
# react-native --version
react-native-cli: 1.0.0
react-native: 0.34.1
# uname -a
Linux soprano.lan 4.7.2-201.fc24.x86_64 #1 SMP Fri Aug 26 15:58:40 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

With --debug:
# ./node_modules/jest/bin/jest.js --no-cache --debug
jest version = 16.0.1
test framework = jasmine2
config = {
  "haste": {
    "defaultPlatform": "ios",
    "platforms": [
      "android",
      "ios"
    ],
    "providesModuleNodeModules": [
      "react",
      "react-native"
    ]
  },
  "moduleNameMapper": [
    [
      "^image![a-zA-Z0-9$_-]+$",
      "GlobalImageStub"
    ],
    [
      "^[./a-zA-Z0-9$_-]+\\.(bmp|gif|jpg|jpeg|png|psd|svg|webp)$",
      "RelativeImageStub"
    ]
  ],
  "modulePathIgnorePatterns": [
    "/home/user/Workspace/tests/reactnativetest/node_modules/react-native/Libraries/react-native/",
    "/home/user/Workspace/tests/reactnativetest/node_modules/react-native/packager/"
  ],
  "preprocessorIgnorePatterns": [
    "node_modules/(?!(jest-)?react-native|react-clone-referenced-element)"
  ],
  "setupFiles": [
    "/home/user/Workspace/tests/reactnativetest/node_modules/babel-polyfill/lib/index.js",
    "/home/user/Workspace/tests/reactnativetest/node_modules/jest-react-native/build/setup.js"
  ],
  "testEnvironment": "/home/user/Workspace/tests/reactnativetest/node_modules/jest-environment-node/build/index.js",
  "preset": "jest-react-native",
  "rootDir": "/home/user/Workspace/tests/reactnativetest",
  "name": "-home-user-Workspace-tests-reactnativetest",
  "testRunner": "/home/user/Workspace/tests/reactnativetest/node_modules/jest-jasmine2/build/index.js",
  "scriptPreprocessor": "/home/user/Workspace/tests/reactnativetest/node_modules/babel-jest/build/index.js",
  "usesBabelJest": true,
  "automock": false,
  "bail": false,
  "browser": false,
  "cacheDirectory": "/tmp/jest",
  "clearMocks": false,
  "coveragePathIgnorePatterns": [
    "/node_modules/"
  ],
  "coverageReporters": [
    "json",
    "text",
    "lcov",
    "clover"
  ],
  "globals": {},
  "mocksPattern": "__mocks__",
  "moduleDirectories": [
    "node_modules"
  ],
  "moduleFileExtensions": [
    "js",
    "json",
    "jsx",
    "node"
  ],
  "noStackTrace": false,
  "notify": false,
  "resetModules": false,
  "testPathDirs": [
    "/home/user/Workspace/tests/reactnativetest"
  ],
  "testPathIgnorePatterns": [
    "/node_modules/"
  ],
  "testRegex": "(/__tests__/.*|\\.(test|spec))\\.jsx?$",
  "testURL": "about:blank",
  "timers": "real",
  "useStderr": false,
  "verbose": null,
  "watch": false,
  "cache": false,
  "watchman": true,
  "testcheckOptions": {
    "times": 100,
    "maxSize": 200
  }
}
 FAIL  __tests__/Intro-test.js
  ● Test suite failed to run

    Cannot find module './foo' from 'Intro.js'

      at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:144:17)
      at Object.<anonymous> (Intro.js:9:10)
      at Object.<anonymous> (__tests__/Intro-test.js:3:12)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        2.714s
Ran all test suites.

After investigating a bit, I've  found that the HasteMap instance (from jest-haste-map) does not actually register foo in the map object (see _buildHasteMap), therefore the jest module Resolver is not able to find the actual module.
Am I missing something?

The associated pull request: #1947

This will be fixed in the next release. Yay!


Seems like the package is broken in Julia 0.5.0-rc4+0

julia> Pkg.add("Sampling")
INFO: Nothing to be done

julia> using Sampling
ERROR: LoadError: LoadError: MethodError: no method matching start(::Type{Int64})
Closest candidates are:
  start(::SimpleVector) at essentials.jl:170
  start(::Base.MethodList) at reflection.jl:258
  start(::IntSet) at intset.jl:184
  ...
 in append_any(::Type{T}, ::Vararg{Type{T},N}) at ./essentials.jl:98
 in include_from_node1(::String) at ./loading.jl:488 (repeats 2 times)
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:415
while loading /home/chris/.julia/v0.5/Sampling/src/samplebase.jl, in expression starting on line 28
while loading /home/chris/.julia/v0.5/Sampling/src/Sampling.jl, in expression starting on line 33

please remove this issue. I thought I have to load it.


Allow decoration: null

I started converting some of our TextField() widgets into AutoSizeTextField() widgets. In our TextField() widgets, we allowed for a null decoration like this:
                Flexible(
                  child: TextField(
                    controller: _dateOrTaskNameController,
                    decoration: null,
                  ),
                ),

Simple conversion to AutoSizeTextField() looks like this:
                Flexible(
                  child: AutoSizeTextField(
                    controller: _dateOrTaskNameController,
                    decoration: null,
                  ),
                ),

The exception is below:

I/flutter ( 6673): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter ( 6673): The following NoSuchMethodError was thrown building LayoutBuilder:
I/flutter ( 6673): The getter 'prefixText' was called on null.
I/flutter ( 6673): Receiver: null
I/flutter ( 6673): Tried calling: prefixText
I/flutter ( 6673):
I/flutter ( 6673): The relevant error-causing widget was:
I/flutter ( 6673):   AutoSizeTextField       lib\dependency\dependency_form.dart
I/flutter ( 6673):
I/flutter ( 6673): When the exception was thrown, this was the stack:
I/flutter ( 6673): #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
I/flutter ( 6673): #1 _AutoSizeTextFieldState._checkTextFits   package:auto_size_text_field/src/auto_size_text_field.dart:752

Could we get the AutoSizeTextField widget to have the same decoration handling as the TextField widget?

Thanks @LizDW I will need to dig more into the issue. Keep you posted. It will be good if you can dig into the source code and take look as well.

Working in progress.


Deploy fails "shine-user-container"

Hi Stephen,
thanks for the hint with ui5, it solved my issue.
But now I'm struggeling with:
Could not validate services: Service "DIRASCHK_shine-user-container"
Can't deploy it.
I was doing this in my mta:
parameters:
service-name: DIRASCHK_shine-user-container
config:
schema: DIRASCHK_SHINE_USER_SCHEMA
Uploading 1 files:
T:\com.sap.refapps.shine_1.3.4.mtar
File upload finished
Starting process xs2-deploy...
Starting monitoring...
Validating parameters...
Processing MTA archive...
Processing MTA extension descriptors...
Detecting MTA major schema version...
MTA schema version: 3.1.0
Detecting deploy target...
Detected deploy target "orgname DEV"
Validating and merging descriptors...
Detecting deployed MTA...
No deployed MTA detected
Collecting system parameters...
New MTA version: 1.3.4
Building cloud deployment model...
Building cloud undeployment model...
Validating services to create...
Could not validate services: Service "DIRASCHK_shine-user-container" already ex
ists, but is bound to application(s), not detected as part of the mta - standalo
ne apps : DIRASCHK-x66zgfr1xbao18pb-hana-shine-xsa-user-js, DIRASCHK-x66zgfr1xba
o18pb-hana-shine-xsa-user-java
Service "DIRASCHK_shine-user-container" already exists, but is bound to applica
tion(s), not detected as part of the mta - standalone apps : DIRASCHK-x66zgfr1xb
ao18pb-hana-shine-xsa-user-js, DIRASCHK-x66zgfr1xbao18pb-hana-shine-xsa-user-jav
a
ERR    Could not validate services: Service "DIRASCHK_shine-user-container" alre
ady exists, but is bound to application(s), not detected as part of the mta - st
andalone apps : DIRASCHK-x66zgfr1xbao18pb-hana-shine-xsa-user-js, DIRASCHK-x66zg
fr1xbao18pb-hana-shine-xsa-user-java
Service "DIRASCHK_shine-user-container" already exists, but is bound to applicat
ion(s), not detected as part of the mta - standalone apps : DIRASCHK-x66zgfr1xba
o18pb-hana-shine-xsa-user-js, DIRASCHK-x66zgfr1xbao18pb-hana-shine-xsa-user-java

Hi,
Looks like you have another app which is bound to service  DIRASCHK_shine-user-container.  May be the one which was created when you were trying with SHINE in Web IDE. You can do one of the below options

Delete all the service created when you were trying SHINE in Web IDE
or
Try deploying SHINE mtar in another space which was not used when you were trying SHINE in Web IDE
Best regards
Stephen

Removed the shine container services...
Any ideas ?
12:05:09 (DIBuild) Granting the schema role "user" to the principal "HANA_SHINE_XSA_SHINE_CONTAINER_1#OO" in the schema "" with grant option = "0"
Error: Granting schema roles in the container "DIRASCHK_SHINE_USER_SCHEMA_1" and the parameters "[]"... failed [8214221]
Error: Database error 389: : invalid role name: user: line 1 col 7 (at pos 6) [8201003]
Error: Error executing: CALL "DIRASCHK_SHINE_USER_SCHEMA_1#DI".GRANT_CONTAINER_SCHEMA_ROLES(#CONTAINER_ROLES, #CONTAINER_ROLES_PARAMETERS, ?, ?, ?);
(nested message: HDI call failed)
grantor service: hdi-user-service, granting user: SBSS_65101237750011136024963469597346336674807942543853802618001768946 (hdi_user)
file name: /HANA/usr_sap/CH2/xs/ea_data/saphana2/executionroot/3e6a264b-8e41-4ca9-b9d4-16de0c130daa/app/META-INF/.sap_java_buildpack/tomcat/temp/builder/hdi-builder/builds/build-1018431104606121857/core-db/cfg/user.hdbgrants
(0s 699ms)

ok, got it. wrong order of building the db modul

Got the same issue.
Maybe the name should include the technical name?
my mta:
parameters:
service-name: DIRASCHK_shine-user-container
config:
schema: DIRASCHK_SHINE_USER_SCHEMA

hI Cherians,
I don't understand the error message.
If I check the console, than I see only one bound js app to the container!?
DIRASCHK_shine-user-container                                       hana
hdi-shared     di-builder, DIRASCHK-x66zgfr1xbao18pb-hana-shine-xsa-user-js

Hi,
This app DIRASCHK-x66zgfr1xbao18pb-hana-shine-xsa-user-js seems to be deployed when you did a build and deployment of the SHINE user-js module via Web IDE.
As far i understand now you have built the mtar via web ide and trying to deploy the mtar via XSA CLI (xs  deploy shine.mtar)
Now deploy service is also trying to create the same service ('DIRASCHK_shine-user-container') and sees an unrecognized app 'DIRASCHK-x66zgfr1xbao18pb-hana-shine-xsa-user-js' (which is not a part of mta) its throwing that error. Can you unbind the service 'DIRASCHK_shine-user-container' from all the bound apps.
The easiest way to do it is to deploy mtar into another space which you were not using with Web IDE
Best regards
Stephen

Hi Stephen,
thanks for this nice explanation.
Yes, I was doing what you mentioned and come over it.
But now I'm struggling with a new issue: The starting of the "site-web" is crushing. But this is what I was keen to see running.
site-web_log.txt
Please could you check for it.
Thanks!

Hi,
Thanks for update.  What is the xsa version in your system ( run command xs version from XSA CLI). Also have you changed the versions of file @sap/site-entry in package.json from the current version 1.9.6
Best Regards
Stephen

v1.0.55
No its   "@sap/site-entry": "1.9.6" for the shine content
I also recognized the same behavior by the prototype, if I follow this video:
https://www.youtube.com/watch?v=dCbggO5EZQc&feature=youtu.be

Hi Stephen,
could solve this problem after an update to XSACPORTALSERV01_1-80002098.ZIP.
Now, everything is installed and running. :)
Thanks!

Great you could figure out the issue. Thanks for the update
Best regards
Stephen


Function hangs when using empty ndarray

I have a function operating on an array that is taking a very long time when I feed it with an empty array. This is with pythran 0.12, windows, clang.
Executed from an jupyter notebook:
import pythran
import numpy as np
%load_ext pythran.magic

%%pythran
#pythran export testroll(float64[])
import numpy as np
def testroll(data):
    return np.roll(data, -1, 0)

def testroll_python(data):
    return np.roll(data, -1, 0)

data = np.array([], dtype=np.float64)

testroll_python(data)   # returns array([], dtype=float64)
testroll(data)  # doesn't finish

Thanks!! Happy new year


BUG:   v1.6.0-beta 4 --> Does not honor Tap/Double Tap actions

When using Beta version, was unable to use the Tap/Double Tap actions as described in your github documenation.
Simply does not work.
I reverted back to latest stable version, v1.5.3 and this does work as expected, however now I am back to dealing with issues on non-centered cards and other issues.
Hoping this is a quick fix.

Hi, this is fixed in the latest beta!
https://github.com/Clooos/Bubble-Card/releases/tag/v1.6.0-beta.5


Invalid matcher declaration

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

Comparison is base (5f8c844) 89.41% compared to head (936c23b) 91.76%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #37      +/-   ##
==========================================
+ Coverage   89.41%   91.76%   +2.35%
==========================================
  Files           1        1
  Lines          85       85
==========================================
+ Hits           76       78       +2
+ Misses          9        7       -2

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


Failed to resolve: com.github.Ferfalk:SimpleSearchView:0.1.3

You're probably missing the JitPack repository in your build.gradle file.
Add the JitPack repository to the build.gradle file:
allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Add the Gradle dependency:
implementation 'com.github.Ferfalk:SimpleSearchView:0.1.3'


After loading a pck file (including zip), you can only access the directories and files in the pck

Tested versions
v4.2.1.stable.arch_linux
System information
Godot v4.2.1.stable unknown - Arch Linux #1 ZEN SMP PREEMPT_DYNAMIC Mon, 15 Jan 2024 01:11:17 +0000 - Wayland - GLES3 (Compatibility) - Mesa Intel(R) UHD Graphics 630 (CFL GT2) () - Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz (8 Threads)
Issue description
As the title suggests

I'm using the pck system for mod functions, and it's getting in the way of some of my plans because I still need to access directories and files in my own "res" after loading the player-supplied pck.
By looking at the source code, this seems to be intentional? Is it possible to add a parameter to "load_resource_pack" to determine whether file system access starts from the loaded pck?

Steps to reproduce
Running Projects
Minimal reproduction project (MRP)
test_pck.zip

You can still use the stuff in old res:// though. it just stops being accessible from DirAccess.get_files_at() which is probably different issue all together.
I made a test project where I load into main.tscn.  Then load the resource pack which includes main2.tscn which I changed the scene to right away.  The unloaded.tscn is still in fact accessible even though we are now using the res:// of the mod pack.
So really, I don't think this is issue with ProjectSettings.load_resource_pack() but rather how DirAccess.get_files_at() works. It just doesn't concatenate the base res:// and res:// from the mod pack together. You can still access stuff in res:// like normal .

Yes, only DirAccess will be affected, but FileAccess will not, but what I need is to use DirAccess to traverse the files and directories in res (

Actually, after giving it some more thought. The ProjectSettings.load_resource_pack() shouldn't replace either of the res:// at all but rather concatenate them together. That's probably the root issue. The proposed solution would keep the same problem, you would just not be able to access the mod pack's res://.

I tried it, and theoretically this problem shouldn't exist after exporting, since exported games load their own pck, and tests show that this is indeed the case, but if you turn on "binary_format/embed_pck", you will get the same results as in the editor.


Improvements for the FSLeyes plugin

Detailed list of improvements below:

Added "stop" functionality to ProgressDialog and hooked to SCTCallThread to send a SIGINT if the user presses stop.
Improve ErrorDialog to display a specific/more useful error message to the user instead of the generic one (dialog shown when SCTCallThread returns non-zero codes).
Refactor SCTCallThread to retrieve progress in real time.
Added a TxtCtrl widget to the UI in order to display the SCTCallThread progress in real time.
Various other small fixes.

Relates to:

#2594

Screenshots:
When processing:

When command was successful:

When an error occurred:

There are still a few minor TODOs that remain, but I wanted to implement the most useful features/fixes in the shortest time to improve the UX. I think that this PR makes sense as a first pass of improvements at least.

@zougloub can you do a quick sanity check? I used unix pipes for non-blocking reading of the streams (Windows support is provided via WSL https://github.com/neuropoly/spinalcordtoolbox/pull/2643)

@Drulex currently testing your PR. Overall, the new features look exciting!!! esp. the terminal output embedded in the FSLeyes, i love it!
i'm running into a minor issue and i was just wondering if this is expected behaviour: when pressing stop during a process, a window with no message appear, see here:
Untitled.mov.zip

another comment: when trying to run a function with not enough inputs, user should be informed (e.g. via a popup), e.g. see here:
sct-fsleyes_not_enough_inputs.mov.zip

@Drulex currently testing your PR. Overall, the new features look exciting!!! esp. the terminal output embedded in the FSLeyes, i love it!
i'm running into a minor issue and i was just wondering if this is expected behaviour: when pressing stop during a process, a window with no message appear, see here:
Untitled.mov.zip

The window shows the stderr output if an error occurred. When I try this I get a traceback for a KeyboardInterrupt error (see attached)
KeyboardInterrupt.mp4.zip
Maybe its OS related or maybe in that specific sequence you pressed stop too fast?

another comment: when trying to run a function with not enough inputs, user should be informed (e.g. via a popup), e.g. see here:
sct-fsleyes_not_enough_inputs.mov.zip

Yes I had noticed this with the initial code on master. I found it weird, but didn't touch it, I assumed maybe I was doing something wrong in my sequence of testing. I will add the error message.

@Drulex currently testing your PR. Overall, the new features look exciting!!! esp. the terminal output embedded in the FSLeyes, i love it!
i'm running into a minor issue and i was just wondering if this is expected behaviour: when pressing stop during a process, a window with no message appear, see here:
Untitled.mov.zip

The window shows the stderr output if an error occurred. When I try this I get a traceback for a KeyboardInterrupt error (see attached)
KeyboardInterrupt.mp4.zip
Maybe its OS related or maybe in that specific sequence you pressed stop too fast?

working now 😊
i tried to reproduce my previous bug 2x but cannot. So let's consider it a non-issue

@Drulex in terms of space organization, i find there is a lot of "lost space" on the bottom right, how about moving the terminal output to the right, and the function description to the bottom left, like this:

@Drulex in terms of space organization, i find there is a lot of "lost space" on the bottom right, how about moving the terminal output to the right, and the function description to the bottom left, like this:

it is also more consistent:
* column 1: description

* column 2: options/inputs

* column 3: output

Sure I will change it. I always appreciate UI suggestions because I am terrible at designing. If you have more keep them coming!

I changed the layout + cleaned up some stuff along the way:

much better! may i suggest additional touch ups:

in order to see the function description, we need to vertically extend the SCT panel, which leaves very few place to the image. I suggest moving the citation next to the logo (reduce the font to match the size of the terminal output, and if necessary reduce logo size)
i would also reduce the font size of the function description to match font size of terminal output & buttons
i don't think we need to write "terminal output", that way, the window is top-vertically aligned with the buttons from the 2nd column

It would look like this:

much better! may i suggest additional touch ups:
* in order to see the function description, we need to vertically extend the SCT panel, which leaves very few place to the image. I suggest moving the citation next to the logo (reduce the font to match the size of the terminal output, and if necessary reduce logo size)

* i would also reduce the font size of the function description to match font size of terminal output & buttons

* i don't think we need to write "terminal output", that way, the window is top-vertically aligned with the buttons from the 2nd column

It would look like this:

done!

@Drulex i tested 2afa6bd, looks cool! minor additional suggestions:

after giving it some thoughts, it might actually be better to get rid of the box right to the logo, and move the text (General citation...) at the end of the text that starts with "Function description:".
for the "Function description:" box, can we have the same font type and size as in the terminal output box?
The help button is truncated:

* The help button is truncated:

Widgets will be scaled depending on the size of the window or plugin panel. Are you opening the app in fullscreen? What resolution are you using?
I don't see truncation by default, but I can achieve it by scaling the window or the panel (see video attached). It probably has to do with my resolution (1440p).
fsleyes_scaling.mp4.zip
I will try reducing the height of the function description box. The sct script panel already uses half the height available in fsleyes, it would not make sense to increase the height of the panel.

* The help button is truncated:

Widgets will be scaled depending on the size of the window or plugin panel. Are you opening the app in fullscreen? What resolution are you using?
I don't see truncation by default, but I can achieve it by scaling the window or the panel (see video attached). It probably has to do with my resolution (1440p).
fsleyes_scaling.mp4.zip
I will try reducing the minimum height of the function description box. The sct script panel already uses half the height available in fsleyes, it would not make sense to increase the height of the panel.

i'm with 1080p. One solution would be to move the help button on the right of the SCT logo (now that the citation has moved in the function window).

Moved help next to logo.
Moved general citation inside function description (at end).
Changed function description font and size to match terminal output.

Looks much better! Two additional comments:

Until we provide proper documentation on RTD, could you please redirect to this page when people click on the help?
Could you please make the arrow on the left the same size as the arrow on the right?

can we merge?

can we merge?

yes


⚠ Bofrost.ch has degraded performance

In a94f9e7, Bofrost.ch (https://www.bofrost.ch) experienced degraded performance:

HTTP code: 200
Response time: 1422 ms

Resolved: Bofrost.ch performance has improved in 01cebca.


Mobile ipc take2

@markschlosseratbentley would you be able to see if this fixes display-test-app on iOS?

@pmconne @swbsi Using this branch, the display-test-app iOS app itself crashes...

@markschlosseratbentley would you be able to see if this fixes display-test-app on iOS?

@pmconne @swbsi Using this branch, the display-test-app iOS app itself crashes...

@markschlosseratbentley would you be able to see if this fixes display-test-app on iOS?

@pmconne @swbsi Using this branch, the display-test-app iOS app itself crashes...

Sounds like I need to build this then...

@markschlosseratbentley would you be able to see if this fixes display-test-app on iOS?

@pmconne @swbsi Using this branch, the display-test-app iOS app itself crashes...

Sounds like I need to build this then...

@markschlosseratbentley would you be able to see if this fixes display-test-app on iOS?

@pmconne @swbsi Using this branch, the display-test-app iOS app itself crashes...

Sounds like I need to build this then...

@swbsi Let me know if you need me to get more information; It was crashing on app initializing for me and the callstack did not have symbols for me; it was in UIApplicationMain.

@markschlosseratbentley would you be able to see if this fixes display-test-app on iOS?

@pmconne @swbsi Using this branch, the display-test-app iOS app itself crashes...

Sounds like I need to build this then...

@swbsi Let me know if you need me to get more information; It was crashing on app initializing for me and the callstack did not have symbols for me; it was in UIApplicationMain.

@markschlosseratbentley would you be able to see if this fixes display-test-app on iOS?

@pmconne @swbsi Using this branch, the display-test-app iOS app itself crashes...

Sounds like I need to build this then...

@swbsi Let me know if you need me to get more information; It was crashing on app initializing for me and the callstack did not have symbols for me; it was in UIApplicationMain.

The app works for me now with the changes I just pushed.

@markschlosseratbentley would you be able to see if this fixes display-test-app on iOS?

@pmconne @swbsi Using this branch, the display-test-app iOS app itself crashes...

Sounds like I need to build this then...

@swbsi Let me know if you need me to get more information; It was crashing on app initializing for me and the callstack did not have symbols for me; it was in UIApplicationMain.

The app works for me now with the changes I just pushed.

@markschlosseratbentley would you be able to see if this fixes display-test-app on iOS?

@pmconne @swbsi Using this branch, the display-test-app iOS app itself crashes...

Sounds like I need to build this then...

@swbsi Let me know if you need me to get more information; It was crashing on app initializing for me and the callstack did not have symbols for me; it was in UIApplicationMain.

The app works for me now with the changes I just pushed.

@swbsi I just tested this and verified it works for me now too.

@markschlosseratbentley would you be able to see if this fixes display-test-app on iOS?

@pmconne @swbsi Using this branch, the display-test-app iOS app itself crashes...

Sounds like I need to build this then...

@swbsi Let me know if you need me to get more information; It was crashing on app initializing for me and the callstack did not have symbols for me; it was in UIApplicationMain.

The app works for me now with the changes I just pushed.

@swbsi I just tested this and verified it works for me now too.


Fix travis build as location for jx binaries has changed

requires a build for debian and update to .travis.yml script to pull and expand from there.

@enricogior Isn't this done? I'm moving this to icebox if for no other reason then we have lived with this since April and we are still here. :)


Fix: set ENV VARS as invocation context for dbt >= 1.8

Rationale:
dbt_core v1.8.0 introduces dependency on dbt_common package which wasn't the thing prior to 1.8.x.
In dbt_common, they introduce InvocationContext class.
It's used in cli's preflight decorator that sets the context before any actual CLI operation:

set_invocation_context
get_invocation_context

Then it's used in dbt_core's SecretContext which is necessary if you use something like:

Changes:
This PR tries to import set_invocation_context and get_env from dbt_common and then set ENV VARs before actual profile rendering in Jinja.

@z3z1ma please, pay attention, that this PR is required to support DBT 1.8


Add health endpoint

https://github.com/MacPaw/symfony-health-check-bundle

:tada: This issue has been resolved in version 0.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Disable URL scheme

Could you please provide an option to disable scheme in URLs generated by url_for? Due to cache issues I would like my URLs to start with // rather than http:// or https://, e. g. ```//:my-cdn.tld/file.ext````
Original url_for has _scheme and _external to do that, but unfortunately these parameters don't work for the function provided by flask-cdn.

Just letting you know I will get back to you tomorrow with more information after I get to a computer. I'll make sure and get this added.

I will get this added for you but it will probably take a couple days because I want to rework some of the test code.
In your example, is //my-cdn.tld/file.ext what you intended? Or do you really need //:my-cdn.tld/file.ext?

Hi William,
My example is correct. What I need is called "protocol-relative URL".

Alright now I'm more confused. I thought protocol-relative URLs were '//archive.org'. Not '//.archive.org'.

Sorry, my bad. You are absolutely right.

I took the liberty to create a pull request for this, so you can focus on tests. Please, have a look.

I merged in your changes. Thank you!
There will be a new release out soon after I get some of my new code cleaned up a bit.

I've decided to put your changes into a v1.5.0 release. Then I'll put out a v2.0.0 release that uses protocol-relative URLs by default (when CDN_HTTPS = None) and another small API break that probably won't affect anyone.

Thank you William, this is great news!


No AP after flashing

I flashed two .bin files using esptool.py. But there is no AP after flashing, serial monitor shows gibberish texts and symbols and it dosen't accepts any command. I'm using the latest SDK

Do you use an ESP-01 module? If so, try SDK 1.5.4 instead of 2.0.0 (perhaps test with my precompiled firmware_1.5.4 first). Guess it has something to do with the smaller flash and the different linker map, but I havn't understood this completely...

Correct me if I'm wrong, I have esp8266 SDK 2.3 installed on my system. I have downloaded the repo and flashed the firmware using esptool.py. Is this the correct way of doing?

esp8266 SDK 2.3 is the version number of the ESP Arduino environment. My projekt ist based on the esp-open-sdk (https://github.com/pfalcon/esp-open-sdk ) - something slightly different. This can be installed with Espressif's SDK 2.0.0 (default) or SDK 1.5.4 (somewhat older) (https://espressif.com/en/support/download/sdks-demos ). It compiles on bot envirnments, however, as said above, some ESP-01 modules fail with the firmware build with the SDK 2.0.0, SDK 1.5.4 (0x00000.bin and 0x40000.bin) works.

So I need to compile Open-sdk and then flash the firmware?

To compile the firmware yourself - yes. If you you only want to flash the provided binaries, you can use any ESP flashing tool like the one referenced in the Readme.
You still havn't answered: do you use an ESP-01 Module? (then try it with the files provided in the directory firmware_1.5.4)

Yes I'm using ESP-01 module. I have downloaded open-sdk and replaced the file lwip. Then?

*esp-open-lwip

Adapt the variable to "VENDOR_SDK = 1.5.4" in the esp-open-sdk's Makefile and build the esp-open-sdk like explained here: https://github.com/pfalcon/esp-open-sdk#building
"make" downloads some additional stuff and builds the toolchain... (takes some time)
Then replace the esp-open-lwip in the tree and do the esp-open-sdk build again ("make") just recompiles the lwip...
Then you can download the esp_wifi_repeater in any directory you like, adapt the pathes in the Makefile, build and flash it.

Flashing was successful, I can connect to MyAP. I opened serial monitor and I can't set ap_ssid.
My WiFi name is prime...

Try: set ap_ssid My\ WiFi (blackslash quotes the blank)

And telnet says 'no route to host'. I scanned MyAP network with network scanner and it shows no services are available. Telnet disabled?

telnet  7777

I did set ap_ssid wifiname and save, then pressed rst button. But name is still MyAP

What does show say?
Set the params, save, and then show once again (just to make sure)...
Then reset - I am not aware that this ever failed...

Btw: Maker Saga wrote independently an instruction on setting up the repeater: http://www.instructables.com/id/Cheap-WiFi-Range-Extender-for-IoT/?ALLSTEPS

Serial monitor displays no ssid found. After setting parameters, it is still showing no ssid found.I changed the WiFi name itself to ssid and it successful connects.

Still it's not saving any commands, I will try with another module.

Please check power supply! Flashing with save might fail with not enough current...
If you have compiled it, you might try to change the values already in user_config.h

Is it possible to make it work with a simple arduino code?

It is probably not too hard to integrate my lwip-version into the Arduino environment, but I am not into that - sorry...

SDK compiled successfully, when I try to compile this repeater it gives
Error calling xtensa-lx106-elf-readelf, do you have Xtensa toolchain in PATH? Makefile:115: recipe for target 'firmware/0x00000.bin' failed make: *** [firmware/0x00000.bin] Error 1
I have placed esp_wifi_repeater folder inside esp-open-sdk folder and edited build-area in makefile to /home/pi
Is that correct?

Finally! It's working. I'm getting 8.3mbps down and 8.2mbps up speed!! Thanks Martin

Good News! Have fun...


Upload and integrate App to the cloud

Subtasks:

[ ] upload and integrate

Test cases:

[ ] App is running and working properly with cloud service

should we close this issue since it is similar to the #60 ?

Similar to issue #60 so I am closing


[Typo/Mistranslation] 06-design-report-in-power-bi-desktop

On Practice 1, task 6 step 10, the column and table names need to stay in English so it will align with the lab environment. It is very confusing for the learners to see the column/table names in Korean on the instruction and then have to match it with the corresponding English names on the lab environment.
Current:
날짜
월
판매
판매
목표
목표
To be:
Date
Month
Sales
Sales
Targets
Target

Hello contributor,
Thank you for your contribution! We are processing your suggestions and we will update you shortly.
Kind regards,
Microsoft Worldwide Learning Team

Locfile is currently at PHO with HO disabled on the Project - Need the locfiles to be at HB to make the fix - will discuss with the PM

Discussed with the PM - update made to the older HB locfiles and this will seed the TM when handedback


Controller RBAC is too permissive

Describe the bug
The cluster role bound to the controller is too permissive by default, and I think this is a bug: https://github.com/cybozu-go/accurate/blob/main/charts/accurate/templates/generated/generated.yaml#L77-L84
If this permissive RBAC is required for the controller to operate, I think why should be documented.
We are evaluating this project as an alternative to HNC and might file a few issues/PRs for minor fixes. I hope there is a maintainer team with some bandwidth and interest in "external" contributions. 😄

@erikgb
Thank you for your interest in this project.
That permissive RBAC is not required.
Actually, we should use controller.additionalRBAC.rule parameter to necessary permissions.

Thanks @ymmt2005! Will you create a PR to fix this? Or can I just create one - suggesting just to remove the permissive RBAC? Or will that require other changes?

So, the problem was we got an error from the accurate controller when
it tried to access a parent resource of a Secret, and the parent was
a cluster-scoped CRD.
As the parent can be anything, we allowed the accurate controller to
read any kind of resources to suppress that error.
The relevant feature is this.
https://cybozu-go.github.io/accurate/propagation.html#annotating-a-resource-to-propagate-resources-created-from-it
We thought it'd be pretty difficult for normal users to identify the error
and fix it by giving additional permissions.

a parent resource of a Secret, and the parent was a cluster-scoped CRD

Does this make sense? How can a cluster-scoped resource be a parent of a namespace-scoped resource?

I was wrong. The resource was CephCluster from Rook, which is namespace-scoped.
https://rook.io/docs/rook/v1.12/CRDs/Cluster/ceph-cluster-crd/
The problem was, although we granted admin ClusterRole to the accurate controller,
Rook did not aggregate permissions for CephCluster into admin, therefore, the
accurate controller could not get them.
https://github.com/cybozu-go/accurate/blob/main/charts/accurate/templates/generated/generated.yaml#L188-L204

The problem was, although we granted admin ClusterRole to the accurate controller,
Rook did not aggregate permissions for CephCluster into admin, therefore, the
accurate controller could not get them.

I think it should be the user's responsibility to configure RBAC. Even granting (namespace) admin cluster-wide RBAC is questionable IMO.

yes, we can put these as a default/recommended setting in Helm values.yaml

I suppose you are addressing the cluster-wide admin permission now? Read access to ALL resources is not a good default IMO.

Read access to ALL resources is not a good default IMO.

Agreed.


Forefront parameter for request queue client in MemoryStorage does not work

See https://github.com/apify/crawlee/issues/1787
We currently ignore the orderNo property in list_head.
TODO:

Fix methods to respect the forefront parameter
Add it to unit tests

Maybe it would be enough to sort the items by orderno. Or have the request in a sorted list already from insertion.


closeOnSelect is only respected when singleSelect

could closeOnSelect also be resepected with multiselect ?
I'd like to keep the ability to have multiple option selected, while simultaneously closing the popup after each select, because I believe most users will only want one value. Since the dropdown is hiding contents below, closing instantly avoid users to have to move the mouse away, and click once.
looking at:
https://github.com/Arif-un/react-multiple-select-dropdown-lite/blob/eebea0cc75fc350109e8e2277625670af247e45a/src/MultiSelect.jsx#L164
I can't think of any strong reason to restrict this option in the case of multiSelect.

Good point @rvion, usually a single select need this prop after selecting an option, but in multi-select users need to open the options panel. By default it's true but it should be false.
Thanks for notify.


Feature/issue 146 update pre commit for autoupdating

GitHub Issues: #146, #64
Description
A short description of the changes in this PR.
Local test steps
Summarize testing and verification you've done. This includes unit tests or testing with specific data
Overview of integration done
Explain how this change was integration tested. Provide screenshots or logs if appropriate. An example of this would be a local Harmony deployment.
PR Acceptance Checklist

[ ] Unit tests added/updated and passing.
[ ] Integration testing
[ ] CHANGELOG.md updated
[ ] Documentation updated (if needed).

Codecov Report
Attention: Patch coverage is 87.50000% with 1 line in your changes missing coverage. Please review.

Project coverage is 84.21%. Comparing base (f092f0b) to head (5e11af8).

Files with missing lines
Patch %
Lines

batcher/harmony/service_adapter.py
66.66%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #147   +/-   ##
========================================
  Coverage    84.21%   84.21%
========================================
  Files            4        4
  Lines          133      133
========================================
  Hits           112      112
  Misses          21       21

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


Xcode archive step error

Bitrise Build Issue Report template
Description of the issue
Hello everyone.
I'm trying to deploy my react-native app for ios. On xcode archive step I got the error:
No profiles for 'com.mybizup.bizUp' were found:  Xcode couldn't find a provisioning profile matching 'com.mybizup.bizUp'.
Code signing is required for product type 'Application' in SDK 'iOS 10.0'

** ARCHIVE FAILED **

The following build commands failed:
    Check dependencies
(1 failure)

I replaced provisioning profile file and code signing identity file generated by my own with files generated by recommended CODESIGNDOC. Now I'm getting another error and don't know what to do:
    Ld /Users/vagrant/Library/Developer/Xcode/DerivedData/BizUp-hhhfardivlkpgrajciprqmnlerze/Build/Intermediates/ArchiveIntermediates/BizUp/IntermediateBuildFilesPath/BizUp.build/Release-iphoneos/BizUp.build/Objects-normal/armv7/BizUp normal armv7
    Ld /Users/vagrant/Library/Developer/Xcode/DerivedData/BizUp-hhhfardivlkpgrajciprqmnlerze/Build/Intermediates/ArchiveIntermediates/BizUp/IntermediateBuildFilesPath/BizUp.build/Release-iphoneos/BizUp.build/Objects-normal/arm64/BizUp normal arm64
(2 failures)

Environment:
Where did the issue happen?
I'm using Bitrise.io with Xcode 8.0.x, on OS X 10.11 El Capitan
Which build Step causes the issue and which version of the step?
Xcode Archive for iOS 2.0.2 (latest)
Reproducibility

Does a "Rebuild" help? (You can trigger a rebuild from the Build's page, by clicking the "Rebuild" button in the top right corner of a finished build) : NO
Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO, I'm not using these steps
Does upgrading the build Step to the latest version help? : NO
When did the issue start? : Today, at first setup

Build log
BUILD LOG
raw-xcodebuild-output.txt

Based on the error it seems to be a (missing) dependency issue
ld: library not found for -lRNFS

You should do a clean git clone, into a new directory on your Mac, and see if you can build the project there. Most likely you'll get the same error there.
Another thing worth to check is the Xcode version. You used the Xcode 8.0 stack - do you use Xcode 8.0 on your Mac too?

Closing this issue due to we don't have enough information.
@ilyoff feel free to comment / answer my previous questions (above), and we'll reopen this issue


[c_compiler] Option to set install name (iOS, MacOS)

We need to set the install name for dylibs (at least for iOS) otherwise dlopen fails.

The install-name can be checked with otool [1].
The install-name can be updated with install_name_tool [1].
The install-name can be passed as parameter [2].

In Flutter apps, we're likely going to always install all dylibs at @executable_path/Frameworks/libxxxxxxx.dylib.
We could have two approaches here:

Invoke apple clang with -install_name @executable_path/Frameworks/libxxxxxxx.dylib. This would mean we need to @executable_path/Frameworks/ as an configuration in the BuildConfig.
Let the launcher/embedder (in this case flutter) use install_name_tool to change the name of dylibs.

The pro of (1) is that it seems to be cleaner, less invocations of extra tools.
The pro of (2) is that it would work for prebuilt libraries if we happen to have more than one embedder and they use different install paths.
[1] https://stackoverflow.com/questions/33991581/install-name-tool-to-update-a-executable-to-search-for-dylib-in-mac-os-x
[2] https://stackoverflow.com/questions/31823999/is-it-possible-to-have-clang-link-dylibs-relatively-and-not-use-install-name

cc @vashworth @stuartmorgan, I see we use install_name_tool in various places [3] and that we also use -install_name as an argument in various places [4].
I'm thinking we should use install_name_tool to update the install-name of all dynamic libraries when doing the bundling in Flutter over passing it as an argument in the build so that it will work properly with prebuilt dynamic libraries as well.
cc @mkustermann any chance you have seen how this is being dealt with in other build systems?
[3] https://osscs.corp.google.com/search?q=install_name_tool&sq=&ss=flutter
[4] https://osscs.corp.google.com/search?q="-install_name"&ss=flutter

To me it seems the CLI protocol doesn't have to concern itself with this.
How does it work for existing binary dependencies in flutter? If flutter assumes it's correctly set, then we can assume the same. If flutter overrides it, then it continues to do so.
If we compile from source, then flutter can override the install path or it could pass it down via generic config.c_compiler.ldflags, can't it?

To me it seems the CLI protocol doesn't have to concern itself with this.
If we compile from source, then flutter can override the install path

This is what I have done in my prototype, and that works as expected.


Update dubbo to fix CVE-2023-23638

CVE report : https://www.cve.org/CVERecord?id=CVE-2023-23638

any one reproduce it? how can I reproduce?

2.7.21 is in the list of the affected version, the version to mitigate the CVE should be 2.7.22.

Updated PR. thanks for pointing this out.


Updated CSS, Images, and Logic

Update CSS to move on tap with smart phones. Updated Logic for tap to work. Added an image of the project to the README.md file. Made minor improvements and added content to the README.md file, (WIP).

!!!!DO NOT MERGE!!!!
Code is BAD.


The maxium number of file allowed in sync

Which version of the AzCopy was used?
Note: The version is visible when running AzCopy without any argument
10.1.2
Which platform are you using? (ex: Windows, Mac, Linux)
Mac
What problem was encountered?
0 Files Scanned at Source, 9998407 Files Scanned at Destination
Cannot perform sync due to error: the maximum number of file allowed in sync is: 10000000

Is there a way to edit the max number of files allowed in sync? I'm trying to sync around 7m of photos, each photo have a size of 50kb.

There's not a way to edit it right now.
Is it possible for you to break the job up - e.g. if your root directory has, say, 10 direct children, could you sync each child separately?  (If you try that, watch out for how your formulate the destination directory/URL. You'll probably want to include the child dir name at the end of both the source and the destination.  Try a test on an empty container first, I'd suggest!).
If it's not practical for you to break the job up, then I'm sorry I don't think we have any other workarounds right now.   cc @zezha-msft for comments and maybe thoughts on whether we should change something in some future release.

Hi @focux, we are really sorry for the inconvenience. The 10 million file limitation cannot be easily overwritten right now, it was an arbitrary large number that was picked because we wanted to put an upper bound on how much memory we use to do the comparison of source vs destination.
I see that there's a need to make this value configurable, or simple remove it. I'll add an item to address this issue.

This has been fixed in 10.3.0.


Fix for downloading large backups

Fix for issue #478.

I tested this out and it works great! Thank you, @mkudenko!

awesome!


Stop creating promises in Queue.awaitShutdown

Closes #610

Maybe just squash the commits when you merge?

Yup, will do!


FlatList inside ScrollView doesn't scroll

Environment
Environment:
  OS: Linux 4.15
  Node: 8.11.2
  Yarn: 1.7.0
  npm: 5.6.0
  Watchman: 4.9.0
  Xcode: N/A
  Android Studio: 3.1 AI-173.4720617

Packages: (wanted => installed)
  react: 16.3.1 => 16.3.1
  react-native: 0.55.4 => 0.55.4

Description
I've 4 FlatLists with maxHeight set to 200 inside a ScrollView.
<ScrollView>
  <FlatList/>
  <FlatList/>
  <FlatList/>
  <FlatList/>
</ScrollView>

and when I try to scroll a FlatList, it doesn't scroll but the ScrollView scrolls. How do I fix this issue ?
Full Source Code
import { Component, default as React } from 'react';
import { FlatList, ScrollView, Text } from 'react-native';

export  class LabScreen extends Component<{}> {
  render() {
    return (
      <ScrollView>
        {this.renderFlatList('red')}
        {this.renderFlatList('green')}
        {this.renderFlatList('purple')}
        {this.renderFlatList('pink')}
      </ScrollView>
    );
  }

  getRandomData = () => {
    return new Array(100).fill('').map((item, index) => {
      return { title: 'Title ' + (index + 1) };
    });
  };

  renderFlatList(color: string) {
    return (
      <FlatList
        data={this.getRandomData()}
        backgroundColor={color}
        maxHeight={200}
        marginBottom={50}
        keyExtractor={(item, index) => index.toString()}
        renderItem={({ item }) => <Text>{item.title}</Text>}
      />
    );
  }
}

Reproducible Demo
snack.expo link

see this comment
https://github.com/facebook/react-native/issues/1966#issuecomment-285130701

Hi there, have you found a solution for this problem, I am having the same issue

@yasir-netlinks Did you check this

Hi, this solution worked for me.
this.state = {
   enableScrollViewScroll: true,
};

onStartShouldSetResponderCapture = (value: boolean) => {
    this.setState({
      enableScrollViewScroll: value,
    });
  };

render() {
   return (
      <View>
         ...
        <ScrollView
           scrollEnabled={this.state.enableScrollViewScroll}
        >
           ...
           <FlatList
              ...
              onTouchStart={() => {
                 this.onStartShouldSetResponderCapture ( false );
              }}
              onMomentumScrollEnd={() => {
                 this.onStartShouldSetResponderCapture ( true );
              }}
            />
            ...
         </ScrollView>
         ...
     </View>
   );
}

@Voliki thanks, your solution worked for me!

Does this mean that the Flatlist should be able to scroll if the ScrollView scrollEnabled is hardcoded as false? I can't seem to get this to work still...

Hello there 👋 this issue seems to have been inactive for the past few weeks and, moreover, people appear to have working solutions based on this comment. Because of this, it's likely that the issue is not a high priority anymore or it has been solved by OP; for these reasons, we'll close it. But please, if you think this is a different issue that needs to be addressed in React Native itself, please comment below and we can reopen it or please send us a Pull Request with a fix 😊

I faced the similar issue where I had FlatList inside the ScrollView.
It looked something like this:-
<ScrollView>
<View style={{paddingHorizontal: "4.3"}}>
                            <FlatList
                                contentContainerStyle={{ flexGrow: 1, justifyContent: "center" }}
                                ref={(ref) => { this.flatListRef = ref; }}
                                data={this.state.propertiesToShow}
                                extraData={this.state}
                                keyExtractor={(item, index) => index.toString()}
                                renderItem={({ item, index }) => this.renderHotelView(item, index)}
                                ItemSeparatorComponent={this.renderSeparator}
                                getItemLayout={(data, index) => (
                                    {length: moderateScale(200), offset: moderateScale(200) * index, index}
                                  )}
                            />
    </View></ScrollView>

Then I tried setting the scroll of flatlist as false, since I have already enclosed my flatlist to scrollview.
 scrollEnabled={Platform.OS == 'ios' ? false : true}
I added the condition since, I was facing this issue only in IPhone 7 Plus.
Note: Doing the otherway round i.e. scroll of scrollview to false, was still giving me the same issue.

Any official update. It's an important aspect of UI when designing. Some workarounds are there but they make the process complicated when there are multiple flatlist inside scrollview. And we want to achieve scrolling depending on where the users touch.
UI should scroll that flatlist when touched inside that flatlist and scroll scrollview when touched inside scrollview.

@itsgauravjain22
there is a nestedScrollEnabled prop in both ScrollView and FlatList will using that prop solve your problem?
https://facebook.github.io/react-native/docs/scrollview#nestedscrollenabled


"The parameter is incorrect" when launching URLs on Windows 10 Insider Preview (17677.rs_prerelease.180520-0940)

Steps to recreate:

Be on the Windows 10 insider preview
Have node 10.3 installed.
Create files described below
Run node test.js

package.json:
{
  "name": "test",
  "version": "0.0.1",
  "dependencies": {
    "opn": "5.3.0"
  }
}

test.js:
const opn = require('opn');
opn('https://google.com').catch((e)=>{
    console.error(e);
});

Expected - Google opens in the browser set as default
Actual result - Error message "The parameter is incorrect", with the following output from the console:
Error: Exited with code 1
    at ChildProcess.cp.once.code (C:\Users\keyz\Code\untitled\node_modules\opn\index.js:84:13)
    at Object.onceWrapper (events.js:273:13)
    at ChildProcess.emit (events.js:182:13)
    at maybeClose (internal/child_process.js:961:16)
    at Socket.stream.socket.on (internal/child_process.js:380:11)
    at Socket.emit (events.js:182:13)
    at Pipe._handle.close [as _onclose] (net.js:596:12)

I'm currently setting up a VM to test on the latest non insider preview of Win10, then on the insider preview in a clean environment to ensure it's not an issue with my setup.

I've confirmed that on a non insider preview of Windows 10, all is fine.
On a clean Windows 10 install, upgraded to insider preview 17677, with installation of Google Chrome, & NodeJS 10.3 being the only changes the error is present, so it seems something has changed in the commands.
Running the following from cmd:
> start "" /b /wait https://google.com

Produces "Access is denied"
And from powershell:
> cmd /c start "" /b /wait https://google.com

Also "Access is denied".
Just to check, I also ran the commands as administrator, and got access denied.
So currently, not sure if this is a bug in the insider preview, or a permanent change of behaviour which will need a fix here.

Looks like changes were made to start for the new "sets".

When you execute “start cmd” from a Command Prompt window, a new Command Prompt tab will now be created if you have Sets enabled. This will also work for other start launches, like “start notepad”. To start something in a new window you can use the new /newwindow flag, for example “start /newwindow notepad”.

From https://blogs.windows.com/windowsexperience/2018/05/24/announcing-windows-10-insider-preview-build-17677/

Just to state that I've found this same issue while running testcafe which also uses opn. I've subscribed to this and can help test out a potential fix when it comes out (or provide any more debugging feedback if necessary).

The windows release RS5 (17723) solved it for me.


CAPI api server runs out of DB connections

The number of  DB connections is limited to 500 because of which can't able to scale capi-api-server.
Default max connections is set to 25  here
I tried to scale capi-apiserver to 20 replicas and got the following error in pre-start init container
Caused by: PG::ConnectionBad: FATAL:  remaining connection slots are reserved for non-replication superuser connections
Next tried  by changing max_connections to 100 and were able to scale only 5 replicas of capi-api-server.

And other thing what observed is ,  even if one replica of api-server is down , API is not accessible. It gives 500 status code

Error Code: 500
Raw Response: {}
FAILED

We performed scale tests in which we pushed source code based apps. When we reach till 500 apps we could see lot of 500 responses . We suspect DB connections is the problem.

Our scalability tests details can be found in https://github.com/perf-cfk8s/docs/wiki/cf-for-k8s-v0.1.0

We'd really like to be able to increase the max connections on that postgres. Alternatively we could tune down the size of the connection pools.

Given the conversation around converging on a shared CF on K8s vision, we won’t be focused on scaling the current cf for k8s and are going to close the issue.
We’d recommend either commenting on the document to discuss scaling needs or attending the Cloud Foundry for Kubernetes SIG meeting on the calendar here: https://www.cloudfoundry.org/community-calendar/


Install packages in packer base image

This moves the package installation into a base image using packer (packer config taken from https://github.com/weaveworks/kubernetes-ami)
The main change from weaveworks' packer config is that we're not installing weave onto the base image, instead weave is installed from a kubectl apply directly on k8s itself.  So the base image is pretty vanilla, with only docker and kubernetes installed.

Added the preload but haven't re-packed the base image (since the pre-staging is low priority at this point.)