SafariSafeView not fully supported?

Environment
react: 16.0.0
react-native: 0.51.1
Expected Behavior:
Modals aren't affected by the SafariSafeView.
Even if I nest the SafariSafeView within the Modal component, the footer safe area is not displayed.
Components that are positioned absolute are not affected by SafariSafeView either.
Expected Behavior:
SafariSafeView would persist when modals are present.
Positioned absolute components would be able to adjust from SafariSafeView.

SafariSafeView?

Closing as it does not seem like a lot of time was spent writing up the issue, and it is not actionable at this point. Feel free to open a new one!


Fix twitter bootstrap link

Fix twitter bootstrap link

how is this patch fixing anythong about bootstrap? :)

I did fix the bootstrap link tho: https://github.com/evgeni/qifi/commit/2a34c0a6455e2b60065f5095d3a6747cba46c0fc, thanks for bringing that up


Update Composer dependencies (2021-06-19-00-04)

Visual regression test passed!
View the visual regression test report


#163602022 A user can view all political candidates

What does this PR do?
This is a PR for a feature that allows a user to view all political candidates running for a particular office
Description of Task to be completed?
The following are the tasks to be completed

add html for this page
style html markup with css
Add javascript for modal functionality

How to manually test feature?

clone this repo
``https://github.com/nevooronni/Politico-Andela.git```

cd in folder
cd Politico-Andela

3 switch to feature branch
git checkout ft-view-politicians-163602022

Open UI/html/index.html in your browser
.
Click the signup button on landing page
Should be able to view signup page where you will see a signup up form
On the bottom of the form click on the signin link
You should see a signin page click on the sigin now link to be taken to admin page
Click on the user link below profile picture
Should be taken to a user view page where a user is able to view all political parties
Click on the candidates icon link
should see a page with all political candidates listed

Pivotal Tracker story associated with this PR:
story id: #163602022
Screenshots

A nice and well-thought UI design.


jpeg file can't be loaded by

face_recognition version: 0.1.14
Python version: 2.7.12
Operating System: ubuntu 16.04.2

Description
Can't load the image file by load_image_file, even the file is there.
What I Did
import face_recognition
biden_image = face_recognition.load_image_file("biden.jpg")
After I run the above 2 lines in the python shell, it shows the error message below :
Traceback (most recent call last):
File "freco.py", line 5, in
biden_image = face_recognition.load_image_file("biden.jpg")
File "/home/kl/opencv/local/lib/python2.7/site-packages/face_recognition/api.py", line 78, in load_image_file
return scipy.misc.imread(filename, mode=mode)
File "/home/kl/opencv/local/lib/python2.7/site-packages/scipy/misc/pilutil.py", line 156, in imread
im = Image.open(name)
File "/home/kl/opencv/local/lib/python2.7/site-packages/PIL/Image.py", line 2452, in open
% (filename if filename else fp))
IOError: cannot identify image file 'biden.jpg'

Sorry, silly mistake made corrupted the jpg file.


The right way to use it in Angular 2+

Hello, is this the right way to use?
<swal #foo title="Confirma liquidação?"
    [options]="{
        confirmButtonText: 'Liquidar',
        confirmButtonClass: 'btn btn-xs btn-success',
        cancelButtonClass: 'btn btn-xs btn-danger',
        cancelButtonText: 'Cancelar',
        showCancelButton: true
    }"
    (confirm)="confirmar()"
    (cancel)="cancelar()">
</swal>
<button type="button"
    (click)="foo.show()"
    class="btn btn-xs btn-success">
    Liquidar
</button>

Also I would need to change the directive name to something like  and [d-swal] because of the name patterns we use, is there a way to do it?

Hi @cassianomon,
Yes, that's a legit use of the library, haha :smile: More seriously, yes, this is a normal, intended use of it.
Pro-tip: don't forget that you can set app-wide defaults for you swals, with NgSweetAlert2Module.forRoot(), ie.:
@NgModule({
    imports: [
        SweetAlert2Module.forRoot({
            confirmButtonText: 'Liquidar',
            confirmButtonClass: 'btn btn-xs btn-success',
            cancelButtonClass: 'btn btn-xs btn-danger',
        })
    ]
})

That way, every Swal created will inherit of these options, avoiding inelegant duplications at template-level. You can still override these defaults when declaring a swal, though.
Your code will then be:
<swal #foo
    title="Confirma liquidação?"
    [options]="{ confirmButtonText: 'Liquidar', showCancelButton: true }"
    (confirm)="confirmar()" (cancel)="cancelar()">
</swal>

More generally: the goal of this library is to provide Angular utils to reduce the boilerplate, clutter and nesting in the TypeScript part of the component, so you can focus on the business logic in the .ts, and put more presentational things in the template.
See it as a declarative approach over an imperative one.

Also I would need to change the directive name to something like and [d-swal] because of the name patterns we use, is there a way to do it?

None that I know, unfortunately. It can't even be a param or something like that: it must be declared statically in the library.

Thanks for the answer!!
Also, as you said, that it's a good practice to use a prefix in the app to diff from third-party libraries, we use prefixed directives and components that we create starting with  to differentiate from third-party and html tags. Would be this what you meant? Example:
<cdm-input-wrapper
    class="pull-left"
    innerStyle="margin: 0; padding: 0">
    <input type="text"
        class="text-right width140"
        id="numeroIdentificacao_{{ item.indexNames }}"
        name="numeroIdentificacao_{{ item.indexNames }}"
        [(ngModel)]="item.numeroIdentificacao"
        #numeroIdentificacao="ngModel"
        (paste)="pasteNumeroIdentificacao(i, $event)"
        (change)="numeroIdentificacaoUnidadeChange(item)"
        required>
</cdm-input-wrapper>

Are you talking about the cdm- prefix? Yes.
If your app is named My Awesome App and has MAA as initials, a component will be typically named <maa-component>, a pipe | maaPipe, and a directive [maaDirective].
If we're good, I let you close the issue (we're leaving the original scope of it) :)

Haha, well, thanks.


Prefixes in hygiene tests were refactored (WIP)

Signed-off-by: Pawel Garbacz<EMAIL_ADDRESS>Description
This cleans up prefixes in hygiene tests by:

adding the required ones
removing the unused ones

Fixes: #1626
Checklist:

[X] I'm familiar with the FIBO developer quide. My contribution meets all the requirements described there.
[X] My contribution follows the principles of best practices for FIBO.
[X] My changes have been reconciled with latest master and no merge conflicts remain.
[X] This PR is related to exactly one issue. The issue is referenced by using a GitHub keyword such as "fixes", "closes", or "resolves".
[X] Hygiene tests have been applied by a PR with "(WIP)" in title.
[X] The issue has been tested locally using a reasoner (for ontology changes).

This awaits for a resolution to #1628.


Force closing connection to proxy server

I use a proxy server that limits the number of simultaneous connections I can make to it. Say for example the number is 10. I run 10 requests through the proxy server. Each time I get the response body of a request, I then fire off a new request using the same proxy server.
This works fine it would seem but from time to time I get a very slow proxy connection to the server, so I have an 8 second timeout that calls the cancel() method and then fires off the request again. When this happens, I start to get refused/reset connections from the proxy server which leads me to believe that the connection to the proxy server isn't actually getting closed with cancel(); Is there a way that I can check this or a way that I can forcefully close the connection to the proxy server?

Well, .cancel() invokes the low level node function to abort the request. I don’t see any other way this can be done. But proof me wrong.
I would start using one of the ways to debug your requests. Maybe even monitor the TCP traffic with WireShark.

Thanks Nico. I have run the request with debug and this is essentially the sequence I get.
Complete request
REQUEST {}
REQUEST make request *url*
REQUEST onRequestResponse *url* 200
REQUEST reading response's body
REQUEST finish init function *url*
REQUEST elapsed time 3232.644053
REQUEST response end *url* 200
REQUEST end event *url*
REQUEST has body *url* 869964
REQUEST emitting complete *url*
App's THEN is called
App's FINALLY is called

Canceled request
REQUEST {}
REQUEST make request *url*
REQUEST onRequestResponse *url* 200
REQUEST reading response's body
REQUEST finish init function *url*
App calls CANCEL
App's FINALLY is called
REQUEST elapsed time 1997.353174
REQUEST response end *url* 200
REQUEST end event *url*
REQUEST aborted *url*

It would seem there is not completed emit in the canceled request. And, some of the events occur after FINALLY is called. I'm guessing all of this is as expected. I will have to spend some time looking into wireshark as I am not familiar but I will report back.

Alright. Yes, the events look good. The ordering is due to the asynchronous nature of how bluebird and request are stitched together here.
If you run your node server on your own development machine where you have sudo access then using Wireshark is really easy.

I'm wondering if there is a way for me to call agent.destroy() https://nodejs.org/api/http.html#http_agent_destroy while using the request-promise library. At the very least I'd like to test this. Though I'm not sure how to reference the agent in request-promise. Is it possible?

Yes, there is. FYI just to make sure: request-promise is based on request. So all you see in its README can be done with request-promise as well. In particular, there is an option called agent. You can create and pass your own agent there and then easily call .destroy(). However, I don’t know the implications of doing this. So just use it for testing and if you need it for production really make sure you know that you are not breaking any request internals when calling .destroy().

So I've looked into this further. By using const agent = new http.Agent() I can then call console.log(agent.sockets) on an interval to see the proxy server connection get added to the sockets object. However this socket is removed from the sockets object before I ever call request-promise's cancel(). So I'm not sure that agent.destroy() is helping. Since this is the case I'm assuming that socket moves out of the agent once a connection to the request url is established. At that point, cancel() should take care of closing up all connections.
I think from here the best approach is to look into my proxy server and how it is handling requests. Thanks for all of the help Nico!

You are welcome buddy!


[DOC]: Add poll() definition

This is a test to see if I push align with your request. I still have a problem with feat- when it comes to these commands:

git checkout feat-
git rebase main

We need to check tomorrow because in the PR I can not see your commit change, those 6 commits are from mine.
Maybe you forgot to commit and push after rebase.

sad ok! I can repush again. should I?

You can try and practice ☺


docker.yaml syntax fix

This fixes a regression introduced by #2431 that blocks all docker publishing.
The YAML editor didn't mind, and Actions apparently doesn't validate syntax until the workflow is triggered  (e.g. when the previous PR was merged to main, it didn't work ).
To verify this syntax, I forced this YAML to be evaluated and verified the runner interprets the workflow as expected: https://github.com/dependabot/dependabot-core/actions/runs/199413936
Related

Continues #2431

Fixed the rubocop on main, snuck in because ci is broken for PRs 😕 would just merge this 👍


Adding  A free-programming-books For java

It will contain every detail of java that a user needs
will have hyperlinks
will be demonstrative
and easy to understand

label-hacktober fest 23

Please assign me this issue @Soyvor . I can add a book of Java has all the information that the user needs.

Java SE Fundamentals by ORACLE
Its a guide that's easy to understand
JAVA SE 7    FUNDAMENTAL(volume1).pdf

please assign this task to me

Here is a Helpful guide that one can refer to.
JavaNotesForProfessionals.pdf


Add AUTO_REFRESH setting

Implement enhancement https://github.com/James1345/django-rest-knox/issues/37

@rphlo thanks a lot for this feature. I m happy to merge it in. 2 things.
a) we need unit tests that cover it e.g. assert that the token expiry timestamp is (not) extended when expected.
b) I would make the 1 second threshold bigger to avoid hitting the database more than it is useful for this usecase. 5 or even 10 seconds seems reasonable for me

@belugame what about using freezegun in tests? This would add a dependency but would bring many benefit in my point of view for the tests...

@rphlo sure, I m familiar with freezegun. Feel free to add it to tox.ini

@rphlo Thank you for the work again, I extended your unit tests and tweaked things elsewhere unrelated to your changes. Glad to have your review my changes. https://github.com/James1345/django-rest-knox/pull/105


Specification: unclear conditional property extraction

Dart Language Specification (3rd Edition, June 2015) contains the following text (16.18 Property Extraction)
"One might be tempted to conclude that for e != null, e?.v is always equivalent
to e.v. However this is not the case. If e is a type literal representing a type with
static member v, then e.v refers to that member, but e?.v does not."
It's unclear what should (or may) be returned by e?.v in the case described above.
class C {
  static String id1() => "id1";
  static String get id2 => "id2";
  static String id3 = "id3";
}

main() {
  print(C.id1 == C?.id1); // prints true
  print(C.id2 == C?.id2); // prints true
  print(C.id3 == C?.id3); // prints true
}

Tested on Dart VM version: 1.14.0-dev.1.0 (Wed Nov 18 18:17:16 2015) on "windows_x64"
Please describe the case when e.v is not equivalet to e?.v (when e != null) or remove this text from the specification

The text describes the case, what you are seeing is the VM (and dart2js and the analyzer) not implementing the spec as written.
The VM should have thrown on C?.id1 because the Type object for C does not have an id1 getter.
Dart2js gives the same result as the VM, and the analyzer does not warn that Type doesn't have an id1 member.
(The implemented behavior is much more useful and predictable, so maybe the spec should change to match that instead of the other way).

This was actually changed in the latest draft of the spec - I believe the current behavior is the behavior we want to support in the future (see https://github.com/dart-lang/sdk/commit/b11670f89924c1961be8f93d00848c7fa9887f99)
/cc @gbracha

Now behaviour is according the new spec. Closed


Removed server-side code & "converted" to static website

This should take care of issue #45 . You can just run npm run build to generate a static version of the website which you can then easily host on Github pages, Heroku, Vercel, Netlify or wherever you like really.
I completely removed the server-side code and dependencies and also replaced the client folder by src. The PR looks like lots of changes were made, but I essentially just removed the server-side part.
Please let me know if this alright 😄 .

Hey! I wanted to check , if the server side code is not present , how is it rendering the issues now?


brew: avoid quarantine

Description
adds the --no-quarantine option to brew install
Screencast
No changes to the flow of the extension
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

solves #9403

Hi @grafst 👋
Could you look into @nhojb's suggestion and also adding a changelog entry


[WinError 10061] No connection could be made because the target machine actively refused it

python src\paracosme.py --target <IP_ADDRESS>
Traceback (most recent call last):
File "C:\Users\user\Desktop\cve\paracosme-main\src\paracosme.py", line 362, in
main()
File "C:\Users\user\Desktop\cve\paracosme-main\src\paracosme.py", line 338, in main
s = socket.create_connection((args.target, args.port))
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\socket.py", line 845, in create_connection
raise err
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\socket.py", line 833, in create_connection
sock.connect(sa)
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it

It seems like there is no listening socket on <IP_ADDRESS>, you probably haven't properly installed the target. Please verify that the targeted process is running :)
Closing.
Cheers


MapQuest API key via env variable

Hi and thanks for a unix-friendly UI to parse ublox data. I was looking for a non-Windows solution and found yours.
I have lots of files in a home directory, and typically the keys are set via environment variables. Could you add such an option to parse the MQAPIKEY env var, if set, as an alternative to the mqapikey file?
Also, is there a way to show the data in Google Maps? The current map is non-interactive: I need to wait a minute before a new zoom is applied to the map...
Thanks.

Also, I don't understand what the track and speed are in UI parsed data. Other tags are self-explanatory. Could you perhaps add some explanation for these two variables? For example, I always get N/A for the track and I don't know how bad it is.

Hi @dizcza ,
Thanks for your interest in PyGPSClient - glad you're finding it useful.
To answer your questions in order:

There are no current plans to enable MQAPIKEY via an environment variable - this can require elevated privileges on some platforms which makes it more fiddly to implement on a consistent cross-platform basis. Hopefully the key file option can work for you.
Simple answer is no - I'm using the MapQuest API because it's free (for non-commercial use up to 15,000 transactions a month) and relatively easy to implement. Out of interest, do you see any particular advantage in using Google Maps rather than MapQuest? The maps are equally reliable in my experience.
Can you clarify which particular UBX or NMEA message type(s) you're referring to containing the track and speed attributes? Without knowing which device you're using or how/where it's configured, I can't speak for the particular readings you're getting, but if you tell me which message type you're getting it from I can at least advise on its interpretation.

I'm using a Neo-6M.

ok that's a fairly old device. which specific NMEA message type are you getting speed and track from?

which specific NMEA message type are you getting speed and track from?

I don't know.

I can freely navigate in a google map.

this can require elevated privileges on some platforms which makes it more fiddly to implement on a consistent cross-platform basis.

Why? The os built-in module is cross-platform, isn't it?
import os
key = os.environ.get("MQAPIKEY")

OK so the log you've provided contains a variety of NMEA messages - the message type is bit after <NMEA(, so for example GPRMC, GPVTG, GPGLL etc. (CAUTION - the coordinates in this log are now visible in the public domain)
The spd attribute in the GPRMC message, for example, represents the speed over ground in knots; likewise the sogn  attribute in GPVTG. The sogk attribute in GPVTG represents speed over ground in km/h. I would refer you to the data sheet for your particular device for further information, or post a general question in the u-blox support forum https://portal.u-blox.com/s/.

CAUTION - the coordinates in this log are now visible in the public domain

True. I'll delete the log.
You're right about sticking to simplicity. Your app is cool anyway and perhaps it got working from the start just because it's simple, meant to have a quick look, and lacks features that otherwise would turn your project into a gigantic dependencies list (which would make me feel to search for a simpler solution).

All right. Thanks for your help.

All right. Thanks for your help.

More than happy to consider feature requests. I will as I say look into provisioning map keys as ENV variables, but I may not get round to it for a while. In the meantime, if there's any functionality you think PyGPSClient could usefully provide within the context of a (relatively) simple Python/tkinter diagnostic and configuration tool, by all means raise the suggestion. Cheers.

Since you asked, I actually do have feedback to share. If I understood correctly, you encode the satellite type with color. But then you also encode the satellite signal with color. Both ideas are great but put together, they might confuse the users. It took me quite some time to map the color of satellite bars (middle plot, header bars: GPS, SBA, GAL,...) with the color of satellite circles via integer ID values. I have two suggestions. You can pick any, both, or none of them.

[Middle panel] Make the satellite names clickable. Boolean type. Either selected or not. Basically, a filter. For example, I want to select GAL only. Then I deselect except GAL. Clicking on the satellite name box (rectangle) again will make it active again (bring it back onto the map - both left and middle panels).
[Left panel] Hovering on the satellite circle will show the satellite info. At least, the satellite type. Because I still don't understand what types of satellites are visible in my GPS module.

[Middle panel] Alternatively to both of them, you could make opaque those satellite box names that are not captured by the device. No user interactions (read simple), as you currently have. But this will prove useful to know which satellite types are currently present.

Hi again. Thanks for the feedback - appreciated. The colour coding was an attempt to represent both the GNSS constellation type and the signal level at the same time. Ironically I notice that u-blox themselves have adopted a very similar scheme in the latest u-center 2! The colours themselves are configurable (in globals.py) - I did agonise over the colours used, both in terms of accessibility (colour blindness etc.) and 'political correctness', though in the end, red for GLONASS did seem a logical choice ;-).  I could provide a switch to colorise either the signal strength or GNSS constellation but not both at the same time - I'll think about it...
Not entirely clear about your last paragraph - the display only shows those satellites supported (or 'captured') by your device at any time - obviously these will change as your location and local time changes. There is already an option to filter out those satellites which are 'seen' by your device but not used in the navigation solution.
You can filter the various different GNSS constellations using CFG commands (I provide some examples in my UBXPRESETS template), but a quick filter option is not a bad idea and fairly easily done, so happy to consider that (u-center does something similar). The satellite numbering is configurable to some extent (there are some options in globals.py), but there's no definitive numbering scheme across all GNSS constellations so the choice is arbitary to some extent.
Implementing 'tooltip' style hover-over popups is somewhat fiddly in tkinter so I've avoided that to date, though I appreciate it can offer a nice user experience (it's much easier to do in, say, Qt or Electron / Node.js). To be honest, tkinter appears to be a bit broken in Python 3.10 on MacOS Monterey at the moment so I'm holding off doing any significant development work in tkinter until I'm confident Apple remain committed to supporting it. It still works fine on Windows and most Linux distros though.

Implementing 'tooltip' style hover-over popups is somewhat fiddly in tkinter so I've avoided that to date

Hovering over individual satellites I'm considering the least valuable option.

Not entirely clear about your last paragraph - the display only shows those satellites supported (or 'captured') by your device at any time - obviously these will change as your location and local time changes.

I mean, you've fixed all possible satellite types in the header of the middle plot. I call them boxes. The picture below shows that my GPS module has captured no good signal, no satellites available (this is because I'm sitting in a room without an antenna attached). To further show that no satellite is captured, make all boxes opaque (grayed out slightly). Then, for example, one GAL satellite appeared on the horizon with a good signal -> make GAL box non-opaque. In the picture below, all boxes are non-opaque as if all satellites are currently present (while in fact none of them is).

There is already an option to filter out those satellites which are 'seen' by your device but not used in the navigation solution.

I didn't understand you. Is there such an option already in your UI app?

The colours themselves are configurable (in globals.py)

Any color palette is OK for me. The colors themselves - that's not what I meant.

I could provide a switch to colorise either the signal strength or GNSS constellation but not both at the same time - I'll think about it...

That could harden the user experience (it'll be slightly heavier in UI with little gain in the functionality).

The satellite numbering is configurable to some extent (there are some options in globals.py), but there's no definitive numbering scheme across all GNSS constellations so the choice is arbitary to some extent.

The numbering is fine for me.

To further show that no satellite is captured, make all boxes opaque (grayed out slightly).

Hmmm - apologies if I'm getting the wrong end of the stick, but AFAICS the only way that would work is if I retain a slot in the graph for every possible GNSS satellite and then only 'colorise' the ones that are 'visible' (or contributing to the navigation solution) at that time. Given there are well over 100 operational GNSS satellites, only a small proportion of which would be visible from a given ground location at any time, that would mean an awful lot of 'grayed out' spaces in the graph. Not sure that's practical. There are in fact no 'reserved' slots in my graph - your screenshot above actually indicates that there are something like 22 satellites 'present' and 'visible' to the device but they all have a very low signal-to-noise ratio and are not therefore contributing to the navigation solution. You could filter these out by unchecking the 'Show Unused Satellites' box.

Ah OK, then I misunderstood the program output.
Sure, it won't make sense to plot 100 of them. I thought that there are only limited (<10) types of satellites. I've probably read about the most used/available satellites to the end-users, and I wasn't aware that there are actually on an order of magnitude more.
My misunderstanding came from the fact that when the "Show unused satellites" is not selected, I see none in the left panel but still see all these boxes above in the middle panel. That is how I thought there are only 7 possible satellite types out there flying around the Earth. How wrong could I be.
Then filtering by the satellite type that are captured by clicking on the boxes will be a useful feature. Not really super useful, but something you may consider doing in the outbreak time.

last one for now ...  the 'boxes above' in the middle panel are simply a legend for the colour coding - they don't signify the presence or absence of a particular satellite or constellation and - again - you can turn them off by unchecking the 'Show Legend' box.
Note, however, noticed that this only takes effect when the widget is refreshed - it was done that way for a reason, but I could probably improve the user experience a bit.


Angular 5.1.0 and TypeScript 2.6

Angular 5.1.0 does NOT support this version of the typescript yet. The last one they support is 2.5.3

Will downgrade typescript, was hoping that it would support this soon. This needs to be changed in the package.json file.
Thanks for reporting
Greetins Damian

Don't forget about the lock file. The actual version is in the package-lock.json.

fixed, thanks for reporting


WIP: feat: Report some dependency changes on any command

What does this PR try to resolve?
The goal is to help users be informed when they are held back by either MSRV or semver.
Fixes #13539
How should we test and review this PR?
Additional information

Test failures will show what the proposed output is

:umbrella: The latest upstream changes (presumably #13564) made this pull request unmergeable. Please resolve the merge conflicts.

This PR includes a UI change that prints a Locking status when any command modifies the lockfile, along with showing the latest version if any updated dependency in use is behind (or outdated, though it is way too strong a word).
The Cargo team has discussed and considered it as a two-way-door change so I'm gonna merge this.
@bors r+

:pushpin: Commit 4ab2797f362dd5660b2ab75a65bad18cfada8f09 has been approved by weihanglo
It is now in the queue for this repository.

:hourglass: Testing commit 4ab2797f362dd5660b2ab75a65bad18cfada8f09 with merge 266a5ef5ea964b24903e2123222ea3abbbf98277...

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing 266a5ef5ea964b24903e2123222ea3abbbf98277 to master...


Recent changes to mainStyle.css are forcing scroll bars on many themes

@torinfo - the change in CSS to the x_pageDiv element in this commit https://github.com/thexerteproject/xerteonlinetoolkits/commit/8875bc70969f084e2afb8279902019cd60d4160a is ok in default theme but causing problems in some other themes (e.g. UoN custom theme now always has scroll bars) as it assumes that the padding on the element is always 10px (e.g. padding in UoN theme is 3vmin). Is it needed (if so we need to check all themes and put a note in release notes that people need to check custom themes) or is there another way of achieving this?

@FayCross @torinfo there surely must be a way to isolate this so that it only impacts the access code/vault and doesn't impact the x_pageDiv anywhere else at all?

@FayCross @ronm123 Yes, I will tweak it.

The way this has been done has been changed by Tom. All ok now


(BUG) Claim - Amount is set to 00.00 G$ once the counter ends and changes to claim button

Desktop/Mobile (galaxy A5) Chrome

Go to Claim screen, see the countdown.
Leave app
Return to app when It's claim time.

I see the countdown button switch (animate) to Claim button but the amount is set to 00.00 G$

The real amount is displayed on the "Claim" page once the counter ends and changes to the claim button
Checked on DEV V1.1.3-1
Desktop: Windows 10 // Google Chrome  85.0.4183.83


Cant open context menu in terminal

Testing #29483 in Windows
Every time I try to right click anywhere in the terminal to get to the context menu, text that was previously copied keeps getting pasted at the prompt

This is as designed for Windows since terminal.integrated.rightClickCopyPaste is true by default. You can test the context menu by setting it to false.


get data from meta leader

For some reasons, the data read from different copies of meta data may be inconsistent.
Therefore, we uniformly obtain data from the leader.

Raft support strong consistent to make all peer hold the same data why read different peer could found different value ？

Raft support strong consistent to make all peer hold the same data why read different peer could found different value ？

Raft only make major consistent, I think so.

Good job. Since there are more work than this, for example, we don't need sync anymore, ActiveHostMan and LastUpdateTimeMan perhaps need to change as well. Would you move this PR to 1.0, let me handle 2.0.

Raft support strong consistent to make all peer hold the same data why read different peer could found different value ？

Raft only make major consistent, I think so.

yep vote should more than half


Always use one DeserBean instance

I think we need to have one instance per class otherwise in a case of a cycle we would create infinite amount of DeserBeans

Corrected


OAI OpenAIRE4: changes to related identifiers and alternative identifiers

References

Fixes #3099
related with the work done in #2576

Description
This PR changes slightly the way related identifiers are exposed in OpenAIRE4 interface accordingly to what it's stated in #PR2576.
Instructions for Reviewers
PR #2576 (specifically this comment). We defined in what way to consider identifiers in openaire's oai context. This Pull Request tries to address that.
List of changes in this PR:

The way related identifiers are considered and exposed in OpenAIRE4 context
The way alternative identifiers are considered and exposed in OpenAIRE4 context

In order to test it you first need to ensure you have OAI enabled:
oai.enabled = true
also ensure you have content on your OAI interface, you can index it using:
[/dspace/bin/]dspace oai import -c
then access any item on your OAI interface within the openaire context:
https://yourserver.com/server/oai/openaire4?verb=GetRecord&metadataPrefix=oai_openaire&identifier=oai:oaicontext.com:123456789/1

@uofmsean thank you so much for your thoroughly testing. I've made some recent changes to address the issue you reported. Can you re-test it please?

Merging this as-is, as it was flagged for 1 Approval.


Merging latest edits

@TaraMeyer,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

azureps-cmdlets-docs/ResourceManager/docs-conceptual/overview.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Update README.md

This update provides additional information about --change-origin option which is necessary for apps using webpack-dev-server (very common these days).
Without this option, it throws Invalid Host header error. Since I found similar issue (https://github.com/typicode/hotel/issues/238) by chance, I thought it would be good to make that information explicit.

I just noticed it's already in the FAQ. Sorry about that.


query result mocking

In order to mock the responses from Redis in other projects, we need to be able to create StringCmd etc., with predefined value and error. Currently, there is no way to create a new predefined StringCmd, it always gets filled by readReply internally.
For example, in testify/mock style tests, it can look like the following:
redisMock.On("Get", key).Return(redis.NewStringCmdMock(myVal, myErr))

handled by NewStringResult


Fixing unit test check

Ensuring the expected and actual outputs are the same lengths

Fixing the unit test revealed that BEwTE was not always being set up correctly because of Git LFS quotas. We moved the LFS data to Google Drive, and now download it from there. Then it looks like running the BEwTE unit test causes a Java out of memory error on the first step of the pipeline. This does not repo locally, so for now, we will just skip the test.


Exception: 31

I have installed all the required programs but all i get is the following Exception and it is showing that SimConnect is not connected.

Assumed solved since no further Feedback was received.


Mantl.io down?

We are thinking of digging into Mantl but it looks like mantl.io is down, I get a Whoops, looks like something went wrong.
Just making sure this is being worked on and is still an actively maintained project, it looks promising.
Thanks.

This is a known issue, we are working on it. We hope to have the site up again soon!

Thank you for the quick response on that.


Add display line numbers

Display line numbers are increasing readability. Could it be a part of basic settings?

This is on purpose as I think they add a lot of noise. Note that you can include your keys and configs in the my_configs.vim Ref


Bugsnag: undefined is not a function (evaluating 'this.updateDataFilters(e,t,a)')

Error in mSupply Mobile
TypeError in index.android.bundle:718
undefined is not a function (evaluating 'this.updateDataFilters(e,t,a)')
View on Bugsnag
Stacktrace
index.android.bundle:718 - value

View full stacktrace
Created automatically via Bugsnag

Maybe fixed in #553 ?

Yeah, it should have been fixed in #553, if we see this after 2.1.0, will have to dig deep.


Improved Journey Metadata with ability to exclude coordinates or update coordinates based on existing Journeys.

This branch goes in hand with the feature/improved-journey-metadata in the frodo-cli

In addition to stripping coordinates we probably need to think of a way to separate and preserve coordinates from the journey files. From the developer perspective the x/y coordinates are useful since sometimes the auto-layout just doesn't cut it, but we probably want to ignore coordinate changes from the customer environment.

Merged into Rockcarver's version


Update 04_error.ipynb

updated formatting in the convergence error section to account for a missing newline before latex block formatting started.

Thanks!


When the code will be released?

Hi,
I am very interested to your work. I wonder when you plan to release the main part of the code. Thanks.
Regards,

Hello,
Thank you for your interesting. Sorry for my late releasing. The code will be released in April or May. I have already organized my code and prepared the pretrained model, but I have struggled in some school's works recently. I need some extra time to write the README and re-check my re-organized code.

Got it. Thanks for your fast reply!

The code is released.


Change inner quotation marks to single ones

Changed inner quotation marks to single ones.
Purpose
This stops the red warning cross showing in RStudio.

Not accepted by automatic netlify checks


[CT-745] dbt init may early return if no adapters available

Is this your first time opening an issue?

[X] I have read the expectations for open source contributors

Describe the Feature
Currently dbt init prompts for the project name but get stuck on next step if no adapters is available.
Would be nice to early return before the first prompt suggesting to install any adapter in advance.
Describe alternatives you've considered
No response
Who will this benefit?
New users
Are you interested in contributing this feature?
Yes
Anything else?
No response

@ulisesojeda Thanks for opening the issue, and the PR to fix it! This makes sense to me, and it's definitely preferable to getting stuck on that step during dbt init.


[jigson] New port

Jigson is a header-only C++ library that facilitates mapping between JSON data
and C++ class objects. The name is a play on "Jigsaw" and "JSON", reflecting
its purpose of piecing class objects together from JSON data.
Features:

Header-only library for easy integration
Depends on nlohmann-json for JSON parsing
Supports C++20
Provides intuitive mapping between JSON and C++ objects

This commit adds the initial port for Jigson version 0.1.3.

[x] Changes comply with the maintainer guide.
[x] The name of the port matches an existing name for this component on https://repology.org/ if possible, and/or is strongly associated with that component on search engines.
[x] Optional dependencies are resolved in exactly one way. For example, if the component is built with CMake, all find_package calls are REQUIRED, are satisfied by vcpkg.json's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxx.
[x] The versioning scheme in vcpkg.json matches what upstream says.
[x] The license declaration in vcpkg.json matches what upstream says.
[x] The installed as the "copyright" file matches what upstream says.
[x] The source code of the component installed comes from an authoritative source.
[x] The generated "usage text" is accurate. See adding-usage for context.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is in the new port's versions file.
[x] Only one version is added to each modified port's versions file.

@microsoft-github-policy-service agree

@WangWeiLin-MV Any idea on how I can resolve the x86_windows failure? This is my first time attempting to create a vcpkg PR. :)

@WangWeiLin-MV Removed the test feature and resolved the feedback.


[WIP] Add Soot control flow graphs and filtering

(for review: select all commits except 81896c9 to see a reviewable diff)
This PR also removes the PathEnumerator, which needs to be rewritten.

Codecov Report

Merging #22 into master will increase coverage by 11.44%.
The diff coverage is 24%.

@@              Coverage Diff              @@
##             master      #22       +/-   ##
=============================================
+ Coverage     41.41%   52.86%   +11.44%
+ Complexity      187       45      -142
=============================================
  Files            20       10       -10
  Lines           903      157      -746
  Branches        194       53      -141
=============================================
- Hits            374       83      -291
+ Misses          461       64      -397
+ Partials         68       10       -58

Impacted Files
Coverage Δ
Complexity Δ

...afejojo/schaapi/patterndetector/PatternDetector.kt
93.33% <ø> (ø)
20 <0> (ø)
:arrow_down:

...jo/schaapi/usagegraphgenerator/ControlFlowGraph.kt
0% <0%> (ø)
0 <0> (?)

...g/cafejojo/schaapi/usagegraphgenerator/SootNode.kt
0% <0%> (ø)
0 <0> (?)

...jo/schaapi/usagegraphgenerator/DotGraphRenderer.kt
100% <100%> (+9.52%)
6 <5> (-3)
:arrow_down:

...api/usagegraphgenerator/filters/StatementFilter.kt
63.63% <63.63%> (ø)
7 <7> (?)

...schaapi/usagegraphgenerator/filters/ValueFilter.kt
9.75% <9.75%> (ø)
4 <4> (?)

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 e584101...df2401c. Read the comment docs.

The commit you refer to in your summary is outdated because you rebased. But maybe it's a better idea to split this PR into multiple ones to make it easier (and more attractive) to review: One for removing the current code, and then one or two for the replacing features.

This PR has been split up in #24, #25, #26 and #27.


Date format is not work

exports.token('date', function(){
  return new Date().toUTCString();
});

is not work for
:date[format]
The current date and time in UTC. The available formats are:

clf for the common log format ("10/Oct/2000:13:55:36 +0000")
iso for the common ISO 8601 date time format (2000-10-10T13:55:36.000Z)
web for the common RFC 1123 date time format (Tue, 10 Oct 2000 13:55:36 GMT)

Hi @Trinea, I'm happy to help! Can you elaborate on the issue you are having? To get a particular format, you just need to pass in a format string to the morgan middleware factory. For example, to get the "web" format with the method and URL requested:
app.use(morgan(':date[web] :method :url'))

If that does not answer your question, please let me know!

There is no ouput difference between
app.use(morgan(':date :method :url'))
app.use(morgan(':date[web] :method :url'))
app.use(morgan(':date[iso] :method :url'))
app.use(morgan(':date[clf] :method :url'))

It's always GMT date format like this:
Tue Jan 19 2016 10:33:23 GMT+0800 (CST)

You can try.

@Trinea, that is expected if you are not using the version of the documentation you are reading. The different formats were not added until version 1.5.0 of this module, so using any version prior to 1.5.0 will result in the same format, as they do not read the arguments. In fact, I now notice that the piece of the source code you copied above is from a pre-1.5.0 version of this module. You can see the current source code is the following: https://github.com/expressjs/morgan/blob/1.6.1/index.js#L246-L257
Using the current version 1.6.1, I have the following output:
$ npm i express morgan
<EMAIL_ADDRESS>node_modules\morgan
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS>
<EMAIL_ADDRESS>node_modules\express
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
$ cat app.js
var express = require('express')
var morgan = require('morgan')

var app = express()

app.use(morgan(':date :method :url'))
app.use(morgan(':date[web] :method :url'))
app.use(morgan(':date[iso] :method :url'))
app.use(morgan(':date[clf] :method :url'))

app.get('/', function (req, res) {
  res.send('hello, world!')
})

app.listen(4000)

$ node app.js &
[1] 17440

$ curl http://<IP_ADDRESS>:4000/
hello, world!
Tue, 19 Jan 2016 02:51:29 GMT GET /
Tue, 19 Jan 2016 02:51:29 GMT GET /
2016-01-19T02:51:29.704Z GET /
19/Jan/2016:02:51:29 +0000 GET /

We include the README.md file on the installation of the module, so if you are not sure what features your installed version supports, you can always load the README.md file off your disk.

I have updated the version to 1.6.1 of morgan, It's ok now, thank you very much.

Good to hear! Glad that was the issue :) Sorry I didn't really notice from the snippet you originally posted.


NW-6368 | Mirror kubexit & add Acquia pipeline

NW-6368
Manual Test

CI-CD build should trigger and successfully built
Image found on the Jfrog artifactory

Image pushed to Jfrog
> docker pull jfrog.ais.acquia.io/devops-pipeline/fn-kubexit:latest
latest: Pulling from devops-pipeline/fn-kubexit
213ec9aee27d: Already exists
2312baab98fd: Pull complete
adaa7930342c: Pull complete
Digest: sha256:f037970a6c47d027e0cfca8c1cb19f5602fd626e9477f15841ad491d3da6457e
Status: Downloaded newer image for jfrog.ais.acquia.io/devops-pipeline/fn-kubexit:latest
jfrog.ais.acquia.io/devops-pipeline/fn-kubexit:latest

Looks good to me. Only doubt is that how do we update the dependencies / source because we are managing the forked.

Thanks Anil. Updated Readme. https://github.com/acquia/kubexit/blob/d5e2c57fc89fae93f34efeafa2096c0ee3c70789/README.md


Part of made ripple effect animation more like google

This is needed as well as the other previous change to make ripple effects work more like polymer components.

Can you close this and add this as part of your other Ripple PR so I can review as one please.


AIP list page doesn't include AIP file size

Given that the file list page (listing the files in an AIP) includes the size of each file it would make sense to increase the size of each AIP on the AIP list page.

PR for CR:
https://github.com/artefactual-labs/AIPscan/pull/350


Invalid dependency for public class

Hello!
Code below is working
class Root {

    // weaver: a = A
    // weaver: a.scope = .container
    // weaver: b = B
    // weaver: b.scope = .container
    // weaver: c = C
    // weaver: c.scope = .container
}

public class A {}

public class B {}

public class C {

    // weaver: a <- A
    // weaver: b <- B
}

but when I add public to Root class I get error error: Invalid dependency: 'c: C'. Dependency cannot be resolved.
public class Root {

    // weaver: a = A
    // weaver: a.scope = .container
    // weaver: b = B
    // weaver: b.scope = .container
    // weaver: c = C
    // weaver: c.scope = .container
}

public class A {}

public class B {}

public class C {

    // weaver: a <- A
    // weaver: b <- B
}

Weaver v1.0.1

Thanks for filing this @LorienMan.
This should be fixed by #127 and will be released soon.


Should "See Also" wrap?

Original GitHub issue https://github.com/dotnet/dotnet-api-docs/issues/1257 from @svick
At the end of the documentation for the File.ReadAllText(string) method is the See Also section, which looks like this to me:

At first sight, it appears as if the first line of links had the header "See" and the second line "Also". Since "See Also" is so short, I think it would look better without a line break:

I agree with @svick. I also think that the header should be bold like other sections.

This section could also have a similar style from the see also used in conceptual topics:
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/static#see-also

@ShevaDas Can you take a look at this issue?

@mimisasouvanh please take a look at this customer suggestion for .NET reference content

#log-suggestion

This issue should now be fixed - I cannot repro it. @mairaw - can you please confirm?


Java 21.1: Appelets

Description
Add audio, documentation, and video regarding the Applet Fundamentals
Location of File to be added The files should be added inside the Applet_Fundamentals which will be inside Appelets folder which will be inside of Java folder. If the folder is not present, create the folder with this exact name.

The documentation file can be in the .md/.py/.ipynb format.
Audio should be in .mp3 format and to be submitted through a Google drive link.
Video can be in any format and should be submitted through a Google Drive link.

Note:
You are required to comment with \assign CONTENT_TYPE, so that other content types can be created at the same time. Failing to comment in the above manner will lead to the removal of assignment from the issue even if the bot assigns. You are required to do a PR within 7 days otherwise you will be unassigned and others will be assigned. Issues will be assigned on a first come first serve basis.
Domain
Java_Domain
Type of Contribution
Audio, Video, Documentation
Code of Conduct

[x]    I follow Contributing Guidelines & Code of conduct of this project.

\assign Document

/assign documentation

I had first commented, then why it got assigned to @thejayeshsoni
Please resolve this.


Encountered error on docker-compose up

Hi Greg,
Great project -- thanks for putting this together. When I followed the instructions, I got this error message in my console:
ERROR: In file './docker-compose.yml' service 'version' doesn't have any configuration options. All top level keys in your docker-compose.yml must map to a dictionary of configuration options.
I had to delete the first two lines of docker-compose.yml (so that 'web' and 'appdb' were at the root of the configuration) for the containers to come up. Then things looked fine.
I'm running docker 1.9.1 and docker-compose 1.5.2 on OS X El Capitan.

Ahhh yes, hugely important point.  This uses docker-compose v2 style yml
which was released as part of 1.6
Maybe we should add a V1 version of the file and update the readme.
However v2 has a lot of power so maybe we should just explicitly state 1.6
as a requirement in the readme.
Thoughts?
On Wed, Feb 17, 2016, 6:34 AM Tony Garcia<EMAIL_ADDRESS>wrote:

Hi Greg,
Great project -- thanks for putting this together. When I followed the
instructions, I got this error message in my console:
ERROR: In file './docker-compose.yml' service 'version' doesn't have any
configuration options. All top level keys in your docker-compose.yml must
map to a dictionary of configuration options.
I had to delete the first two lines of docker-compose.yml (so that 'web'
and 'appdb' were at the root of the configuration) for the containers to
come up. Then things looked fine.
I'm running docker 1.9.1 and docker-compose 1.5.2 on OS X El Capitan.
—
Reply to this email directly or view it on GitHub
https://github.com/gregmoser/docker-lucee-mysql/issues/1.

Yeah, I think adding the requirement of docker-compose v 1.6 in the docs would be sufficient (and IMO preferable to maintaining 2 versions of the file).

I see a PR in your future ;)
On Wed, Feb 17, 2016 at 6:57 AM Tony Garcia<EMAIL_ADDRESS>wrote:
Yeah, I think adding the requirement of docker-compose v 1.6 in the docs would
be sufficient (and IMO preferable to maintaining 2 versions of the file).
—
Reply to this email directly or view it on GitHub .

This has been resolved.  Thanks, Tony!


sync downstream main with upstream main branch

sync downstream main with upstream main branch

/lgtm

/lgtm
/approve


DrugCentral

The first step is to analyze how to convert the postgresql dump to a usable format (sqlite?) without starting any sql database server in the background but still be relatively fast.

Maintenance check 12.08.2021 :heavy_check_mark:


The template reference 'identities1Res' is not valid:

Bicep version
Bicep CLI version 0.31.34 (ec82b47d63)
Describe the bug
I get error:
Error: Code=InvalidTemplate; Message=Deployment template validation failed: 'The template reference 'identities1Res' is not valid: could not find template resource or resource copy with this name. Please see https://aka.ms/arm-function-reference for usage details.'.
in some specific scenario.
This is related to https://github.com/Azure/bicep/issues/13674
To Reproduce
To reproduce:
targetScope = 'subscription'

param identities1 array = [
  {
    id: 'Id2'
    type: 'id'
  }
]

param identities2 array = [
  {
    id: 'Id3'
    type: 'id'
  }
]

resource identities1Res 'Microsoft.ManagedIdentity/userAssignedIdentities@2023-07-31-preview' existing = [for (identity1, i) in identities1: if (identity1.type =~ 'user') {
  name: identity1.name
  scope: resourceGroup(identity1.subscriptionId, identity1.resourceGroup)
}]

resource identities2Res 'Microsoft.ManagedIdentity/userAssignedIdentities@2023-07-31-preview' existing = [for (identity2, i) in identities2: if (identity2.type =~ 'user') {
  name: identity2.name
  scope: resourceGroup(identity2.subscriptionId, identity2.resourceGroup)
}]

module test1 'test1.bicep' = [for (item, index) in identities1: {
  name: 'test1-${index}'
  params: {
    identities: [for (identity1, i) in identities1: {
  id: identity1.type =~ 'user' ? identities1Res[i].properties.principalId : identity1.id
}]
  }
}]

module test12 'test1.bicep' = [for (item, index) in identities1: {
  name: 'test2-${index}'
  params: {
    identities: [for (identity2, i) in identities2: {
  id: identity2.type =~ 'user' ? identities2Res[i].properties.principalId : identity2.id
}]
  }
}]

output identities1 array = [for (identity1, i) in identities1: {
  id: identity1.type =~ 'user' ? identities1Res[i].properties.principalId : identity1.id
}]

output identities2 array = [for (identity2, i) in identities2: {
  id: identity2.type =~ 'user' ? identities2Res[i].properties.principalId : identity2.id
}]

test1.bicep
targetScope = 'subscription'
param identities array

Note that if you remove the two module references and leave the output which has the same value as the input for the modules the error does not appear which is strange.
bicepconfig used
"experimentalFeaturesEnabled": {
        "extensibility": true
    }

Template works fine if extensibility is not enabled.
Additional context
Add any other context about the problem here.

//cc @jeskew

@slavizh was this template deploying with Bicep v0.30 and then broke with v0.31? The compiled template seems to be the same across both Bicep versions, so I'm wondering if this was caused by a backend change:


Can't run more than one program in one window

Issue Type: Bug
I don't know if it's a Bug or the latest optimization strategy for the editor, but when I open multiple programs in one single window, I can't run them at the same time. Sometimes when I debug a program, I want to run it immediately after a brief modification while keeping the running program running until it comes out, but now as long as I want to run more than one program at the same time. It's very inconvenient for me to have to open a new window or even multiple windows to implement the preface.
VS Code version: Code 1.31.1 (1b8e8302e405050205e69b59abb3559592bb9e60, 2019-02-12T02:20:54.427Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1800)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
7.90GB (3.67GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (12)

Extension
Author (truncated)
Version

project-manager
ale
10.3.2

gitignore
cod
0.6.0

git-extension-pack
don
0.1.3

githistory
don
0.4.6

gitlens
eam
9.5.1

diff-tool
jin
0.0.1

vs-color-picker
lih
1.0.0

anaconda-extension-pack
ms-
1.0.1

python
ms-
2019.1.0

vscode-yaml
red
0.3.0

markdown-preview-enhanced
shd
0.3.11

vscode-open-in-github
ziy
1.3.6

Have you read about multi-target debugging and compound launch configs? https://code.visualstudio.com/docs/editor/debugging#_multitarget-debugging

@canvas-J I don't really understand what you are trying to do. Please provide exact steps for what you are trying to do, what do you expect and what is actually happening.

@weinand @Tyriar Thank you for your reply, here I made a . Obviously, I can only run one program under a single window. But before about two versions, I could run multiple programs in one window at the same time.

Basically 1.28.1 and earlier you could run multiple instances of the same program, but now you cannot.


Automated Package Upgrade

:tada: This PR is included in version 25.5.67 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


options:GetOption uses client side SortOrder and SortField

fixes #159

fixed ci issue. ptal

lgtm

lgtm


Medium Emote Clue doesn't show clue location in helper

"Shantay's Awning" is around the Shantay Pass
https://oldschool.runescape.wiki/w/Treasure_Trails/Full_guide/Medium#Emote_clues

open the map

I think the issue is that it doesn't have a "Location" line in the overlay panel, which I know I've found to be annoying in the past as well.

FYI, none of the emote clues use the "Location" line the overlay panel


Image scaling doesn't seem to work on mobile browser

I was reading the Hello 2017 blog post on bradygaster.com (http://www.bradygaster.com/posts/hello-2017) (which is great btw) on my mobile (Android running chrome browser), but the images weren't scaled down so I had to do a lot of furious scrolling.  However they work fine on Chrome on a desktop OS (Win 10).
It rendered like this:
text
text
text
+----------------------------------------...
|  MASSIVE PICTURE
|
|
|
|
|
|
|
|
|
|
|
|
|
+----------------------------------------...
text
text

Thanks for sending this in. Would you happen to have a screen shot handy so i could see? Thanks!

That picture is the top left-hand segment of the whole image

This issue is caused by the Markdown img renderer. There is a width="100%" missing.

Did you want to ping me on GitHub to test it's fixed once it's deployed?


Please provide scenario , diagram on how connection flows in aks when using node with public ip

Please provide scenario , diagram on how connection flows in aks when using node with public ip
https://docs.microsoft.com/en-us/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools
[Enter feedback here]

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

ID: 8c420b2c-e868-9a6a-49fb-913f2cd007ef
Version Independent ID: 5c543e08-7d75-21eb-9510-22e2cd56d16b
Content: Use multiple node pools in Azure Kubernetes Service (AKS) - Azure Kubernetes Service
Content Source: articles/aks/use-multiple-node-pools.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Thank you for the feedback.
We have added an item to our backlog and will prioritize accordingly.
#please-close


feat: s3, config changes, metrics

@jacobowitz I haven't tested download_from_s3, please test & edit according to your requirements.

@deepankarm
I made some minor adjustments to the S3 download functionality. I tried it with some small test file and it works as expected. Thank you :)
Is it somehow possible to move this aws module somewhere so that we can access it also in https://github.com/jina-ai/examples
We will need it there as well for dataset access, e.g. these prs:
https://github.com/jina-ai/examples/pull/459
https://github.com/jina-ai/examples/pull/477
https://github.com/jina-ai/examples/pull/460

Only had one minor comment and the general question regarding where to put aws module.

I wrote this not so efficient code a while back. We can probably keep this in a separate repo & add that as a pip+git requirement? That way we can use it with different codebase.
The concern would be the users of examples repo wouldn't have access to jina's aws account, hence wouldn't be able to fetch from private s3 bucket.


ListView has been removed from React Native.

package.json:->
{
"name": "FormBuilderApp",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "react-native start",
"test": "jest",
"lint": "eslint ."
},
"dependencies": {
"native-base": "^2.13.7",
"react": "16.8.6",
"react-native": "0.60.5",
"react-native-form-builder": "^1.0.16"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/runtime": "^7.5.5",
"@react-native-community/eslint-config": "^0.0.5",
"babel-jest": "^24.9.0",
"eslint": "^6.3.0",
"jest": "^24.9.0",
"metro-react-native-babel-preset": "^0.56.0",
"react-test-renderer": "16.8.6"
},
"jest": {
"preset": "react-native"
}
}
Error ScreenShot:->

Yeah, I too face this same issue. Is there anyway to override this to run the app normally ?
Or else is there any fix for this issue to get solved, because I think it is due to the KeyboardAwareScrollView used as dependencies here. Please do provide a solution for this issue.


0.53 stable

Thank you for sending the PR! We appreciate you spending the time to work on these changes.
Help us understand your motivation by explaining why you decided to make this change.

Test Plan

Related PRs

Release Notes

[CATEGORY] [TYPE] [LOCATION] - Message

We can't merge the stable release branch into master, sorry.


New-AzureADApplicationProxyApplication generates an IdentifierUrisEndsWithSlash error

I'm not sure if this is a documentation problem or an issue with the underlying cmdlet
But when running New-AzureADApplicationProxyApplication based on the documentation
New-AzureADApplicationProxyApplication -DisplayName "SomeName" -InternalUrl "https://internal" -ExternalUrl "https://internal-contoso.msappproxy.net/" -ExternalAuthenticationType AadPreAuthentication -ConnectorGroupId $connectorid

It generates an error with the code IdentifierUrisEndsWithSlash. There isn't a place to set the app identifier in the command, although the underlying graph APIs do require one without a slash. Attempting to remove the slash will also result in (another) error.

Hi @p-b-- thank you for reaching out. If you’re still facing this issue, could you please add a slash at the end of both -ExternalUrl and -InternalUrl, and let me know if this works? If not, could you please send me the cmdlet example you’re using and the exact error? Thank you!

Hey -- sorry I should have followed up, about a week or two later it fixed itself. Thanks!


Implement support to MessageEntityMentionName

With this, you can mention users either using html or markdown.

Just to confirm, if you use this code to send a message with a mention, the mention is removed by the server, right? I don't think things have changed since I tried, but maybe.

Just to confirm, if you use this code to send a message with a mention, the mention is removed by the server, right? I don't think things have changed since I tried, but maybe.

yes, i can change all to InputMessageEntityMention to avoid it?

Yes that's the next step (I detailed it some more in the Telegram group).

Yes that's the next step (I detailed it some more in the Telegram group).

i'm doing the function to parse it.

We can merge this once we document this special link in
https://github.com/Lonami/grammers/blob/4e95ca5e37fc6019b06b73b9d2dade9b8561e9cd/lib/grammers-client/src/types/input_message.rs#L313
(and the html). Something like "inline links with this format (…) will be replaced with inline mentions when possible".

the way i did is ok?

Yes, docs are fine, but rustfmt is complaining.

Yes, docs are fine, but rustfmt is complaining.

done.

Thank you!


no such element: Unable to locate element: {"method":"css selector","selector":"span"}

Describe the bug
Not able to download https://www.educative.io/courses/grokking-dynamic-programming-a-deep-dive-using-java/B84xWoY7YB2
getting below error -
4 https://www.educative.io/courses/grokking-dynamic-programming-a-deep-dive-using-java/B84xWoY7YB2
Message: no such element: Unable to locate element: {"method":"css selector","selector":"span"}
  (Session info: chrome=96.0.4664.0)
Stacktrace:
Backtrace:
	Ordinal0 [0x00B66903+2517251]
	Ordinal0 [0x00AFF8E1+2095329]
	Ordinal0 [0x00A02848+1058888]
	Ordinal0 [0x00A2D448+1233992]
	Ordinal0 [0x00A2D63B+1234491]
	Ordinal0 [0x00A23AB1+1194673]
	Ordinal0 [0x00A4650A+1336586]
	Ordinal0 [0x00A23A36+1194550]
	Ordinal0 [0x00A465BA+1336762]
	Ordinal0 [0x00A55BBF+1399743]
	Ordinal0 [0x00A4639B+1336219]
	Ordinal0 [0x00A227A7+1189799]
	Ordinal0 [0x00A23609+1193481]
	GetHandleVerifier [0x00CF5904+1577972]
	GetHandleVerifier [0x00DA0B97+2279047]
	GetHandleVerifier [0x00BF6D09+534521]
	GetHandleVerifier [0x00BF5DB9+530601]
	Ordinal0 [0x00B04FF9+2117625]
	Ordinal0 [0x00B098A8+2136232]
	Ordinal0 [0x00B099E2+2136546]
	Ordinal0 [0x00B13541+2176321]
	BaseThreadInitThunk [0x76427D49+25]
	RtlInitializeExceptionChain [0x771FB74B+107]
	RtlClearBits [0x771FB6CF+191]

Using the most recent version of the scrapper.

@sumant4ssm show me the full log .. need to see which function was last accessed by scaper

@sumant4ssm I will see and try in my system

@anilabhadatta were you able to reproduce the issue?

@sumant4ssm issue should be fixed by now, clone latest repo

Yes, it is working. Thank you very much.
On Tue, 25 Apr 2023, 9:39 pm Anilabha Datta, @.***>
wrote:

@sumant4ssm https://github.com/sumant4ssm issue should be fixed by now,
clone latest repo
—
Reply to this email directly, view it on GitHub
https://github.com/anilabhadatta/educative.io_scraper/issues/40#issuecomment-1522060238,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGDUNNJXJZ6L7IR5BPYS7MDXC7ZKXANCNFSM6AAAAAAXJVG73U
.
You are receiving this because you were mentioned.Message ID:
@.***>


Add Azure Container apps infra and Flask chat app

Purpose
This is a rather significant change, which removes quickstart.py in favor or a containerized Flask app that can be deployed on ACA. The OpenAI code is similar, but there's a bit more configuration since this repo supports many types of Credentials (openAI key, managedidentity with user identity on ACA).
Does this introduce a breaking change?

[X] Yes
[ ] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test
Follow README instructions. Deploy to francecentral!

@achandmsft Big PR! Please review when you have the chance.


Include the "adapted from" text in definition sources

In relation to https://github.com/metanorma/mn-samples-ieee/issues/1 and https://github.com/metanorma/mn-samples-ieee/pull/4
Some references from Terms and definitions clause are prefixed with the text "adapted from":

Is there a way to include this text by markup?
Currently this part is encoded like this:
==== drift rate

The slope at a stated time of...

[.source]
<<iso-iec_9945-1>>

As with BSI, do this as:
[source,asciidoc]
----
[.source%adapted]
<<reference>>
----

And we will need to document this.

@opoudjis, by using your implementation I get this:

(no "adapted from" text)

Works here:

[.source%adapted]
<<iso>>

[bibliography]
== Bibliography
* [[[iso,ISO 639]]]

Make sure you pull from github, and that you do bundle update, did a release on Monday night.

 Confirmed fixed. Thanks!


window is no longer responding issue

VSCode Version: Code - Insiders 1.3.0-insider (b985edc9f5441678cf071fc7925a569e623e7431, 2016-06-22T05:08:26.951Z)
OS Version: Windows_NT ia32 10.0.10586

Steps to Reproduce:
1.As you can see not much. This error window popped up when I enabled tabs and left my machine running for 30 min or so.
2. Got windows 10 with latest update.

@prashid how does the system behave with tabs disabled ?

I will look into it more and get back to you.

@prashid are you using the terminal a lot?

I don't work much on insider except testing new bits. Updated 1.3 and enabled Tabs. Created new project and started using Terminal to download angular with bower. Kept project opened as you see in the screen shot and left for about 30 min or more. When returned saw that error already popped up on the screen.
This issue was after tabs and may be use of terminal.
Oh and I was also playing with user settings file changing number of explorer.openEditors.visible. Making it 0 sometime.
Also deleted .vscode folder from VSCode.
{
"editor.fontSize": 12,
"workbench.editor.showTabs": true,
"explorer.openEditors.visible": 5,
"explorer.autoReveal": true
}

@Tyriar this smells like the terminal holding on to memory, please take over.

This happens when the context menu is left open for 10 seconds or so due to an electron bug, maybe that's what it is?

https://github.com/Microsoft/vscode/issues/6414

@Tyriar if so, the context menu hang is fixed by our electron update.


Synced Realm Not Created Locally - File Not Found

Goals
What do you want to achieve?

iOS app connects to Realm Object Server using an account with readonly permissions for the realm called realm://[server-ip]:9080/[user-id-string]/banjo
iOS app syncs/downloads the contents of the banjo realm

Expected Results
What did you expected to happen?

iOS app/simulator is able to download contents of banjo realm so that I can display view controller that allows me to search over it
when looking at the simulator's documents directory, i cannot find the banjo realm; granted, I'm unsure this is what I am expected to see

Actual Results
What did happened instead?
fatal error: 'try!' expression unexpectedly raised an error: Error Domain=io.realm Code=5 "Directory at path '/Users/jarrodparkes/Library/Developer/CoreSimulator/Devices/B4854B46-966F-4EF1-8D36-32390701C371/data/Containers/Data/Application/6C798B08-FB44-45BD-8DE2-E98CFB0E9CDA/Documents/realm-object-server/6e8ba4335322f219d8cac5682457e206/realm%3A%2F%2F<IP_ADDRESS>%3A9080%2F19ebf526e022f8aec47c6c30eb8149c6%2Fbanjo' does not exist." UserInfo={Error Code=5, NSFilePath=/Users/jarrodparkes/Library/Developer/CoreSimulator/Devices/B4854B46-966F-4EF1-8D36-32390701C371/data/Containers/Data/Application/6C798B08-FB44-45BD-8DE2-E98CFB0E9CDA/Documents/realm-object-server/6e8ba4335322f219d8cac5682457e206/realm%3A%2F%2F<IP_ADDRESS>%3A9080%2F19ebf526e022f8aec47c6c30eb8149c6%2Fbanjo, Underlying=open("/Users/jarrodparkes/Library/Developer/CoreSimulator/Devices/B4854B46-966F-4EF1-8D36-32390701C371/data/Containers/Data/Application/6C798B08-FB44-45BD-8DE2-E98CFB0E9CDA/Documents/realm-object-server/6e8ba4335322f219d8cac5682457e206/realm%3A%2F%2F<IP_ADDRESS>%3A9080%2F19ebf526e022f8aec47c6c30eb8149c6%2Fbanjo") failed: No such file or directory, NSLocalizedDescription=Directory at path '/Users/jarrodparkes/Library/Developer/CoreSimulator/Devices/B4854B46-966F-4EF1-8D36-32390701C371/data/Containers/Data/Application/6C798B08-FB44-45BD-8DE2-E98CFB0E9CDA/Documents/realm-object-server/6e8ba4335322f219d8cac5682457e206/realm%3A%2F%2F<IP_ADDRESS>%3A9080%2F19ebf526e022f8aec47c6c30eb8149c6%2Fbanjo' does not exist.}: file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-8<IP_ADDRESS>/src/swift/stdlib/public/core/ErrorType.swift, line 178

Steps to Reproduce
What are steps we can follow to reproduce this issue?

Try connecting to my ROS using the following code (Swift)

let username =<EMAIL_ADDRESS>let password = "readonly"

SyncUser.logIn(with: .usernamePassword(username: username, password: password, register: false), server: URL(string: "http://<IP_ADDRESS>:9080")!) { user, error in
    guard let user = user else {
        fatalError(String(describing: error))
    }

    DispatchQueue.main.async {
        Realm.Configuration.defaultConfiguration = Realm.Configuration(syncConfiguration: SyncConfiguration(user: user, realmURL: URL(string: "realm://<IP_ADDRESS>:9080/19ebf526e022f8aec47c6c30eb8149c6/banjo")!), readOnly: true)
        self.performSegue(withIdentifier: "login", sender: self)
    }
}

Once connected, try creating Realm using the sync configuration

let configuration = toRLMConfiguration(configuration: Realm.Configuration.defaultConfiguration)
return try! RLMRealm(configuration: configuration)

Code Sample
Will send email to<EMAIL_ADDRESS>to provide access to Xcode project.
Version of Realm and Tooling
Realm version: realm-cocoa_2.1.0, using embedded iOS Realm frameworks (swift-3.0.1)
Xcode version: Xcode 8.1, Build version 8B62
iOS/OSX version: Mac OS X, ProductVersion: 10.12.2, BuildVersion: 16C67
Dependency manager + version: Cocoapods 1.1.1

Thanks for getting in touch with us. Can you try removing the readOnly: true configuration option and trying again?
Note that a local Realm being read-only is different from a user having read-only permissions for a synced Realm. We don't support local Realms being marked as read-only when used with sync; a newer release should check for this condition.

@austinzheng that looks like it fixed the problem of not writing the Realm file locally, but it does appear the connection gets closed quickly (preventing future syncs if the data changes)
Here's the error in the console:
2016-12-27 17:46:42.991 Banjo[861:11053] Sync: Connection[1]: Connection closed due to error reported by server: Permission denied (BIND, REFRESH) (206)

Sorry to hear that. I've asked our engineers who are more familiar with the sync server product to comment. If I hear anything from them I'll pass it along immediately.

@austinzheng i took a closer look at the logs and found this (notice the ** marked line **):
2016-12-27T23:43:14.575Z - info: sync-server: Connection[4]: Connection from <IP_ADDRESS>:38290
2016-12-27T23:43:14.613Z - info: sync-server: Connection[4]: Received: CLIENT(protocol_version=15, client_info_size=2, client_info='{}')
2016-12-27T23:43:14.689Z - info: sync-server: Connection[4]: Session[1]: Session initiated (session_ident=1).
2016-12-27T23:43:14.689Z - info: sync-server: Connection[4]: Session[1]: Received: BIND(server_path=/19ebf526e022f8aec47c6c30eb8149c6/banjo, signed_user_token='...kmPr0TXMjZ4HAu0OhpzLUd3QQpdg==', need_file_ident_pair=1)
2016-12-27T23:43:14.690Z - info: sync-server: Connection[4]: Session[1]: Sending: ALLOC(server_file_ident=6699694228862964712, client_file_ident=4, client_file_ident_secret=3634658392737338373)
2016-12-27T23:43:14.727Z - info: sync-server: Connection[4]: Session[1]: Received: IDENT(server_file_ident=6699694228862964712, client_file_ident=4, client_file_ident_secret=3634658392737338373, scan_server_version=0, scan_client_version=0, latest_server_version=0, latest_server_session_ident=0)
** 2016-12-27T23:43:14.763Z - error: sync-server: Connection[4]: Session[1]: Permission denied (message_type='upload', path='/19ebf526e022f8aec47c6c30eb8149c6/banjo'). **
2016-12-27T23:43:14.763Z - info: sync-server: Connection[4]: Session[1]: Session terminated (session_ident=1).
2016-12-27T23:43:14.763Z - info: sync-server: Connection[4]: Sending: ERROR(error_code=206, message_size=33, try_again=0, session_ident=1)
2016-12-27T23:43:14.765Z - info: sync-server: Connection[4]: Connection closed by client: End of input

The upload being denied made me assume that, for whatever reason, my app was attempting to write something. So, I went ahead and gave the user mayWrite permissions for the Realm and now the connection isn't being closed — and "it works".
However, this seems to circumvent the goal (a "readonly" Realm that is synced locally to a client iOS app), and it makes me curious whether I'm trying to do something Realm wasn't designed to do?

@austinzheng I've looked more into the project's single view controller — the only place where Realm is mentioned, and I'm not finding any evidence of code that results in an upload/write. So, if it is happening, then it must be happening behind the scenes unbeknownst to me.
import UIKit
import RealmSwift

// MARK: - RealmTestVC: UITableViewController

class RealmTestVC: UITableViewController {

    // MARK: Property

    var games = List<Game>()
    var notificationToken: NotificationToken!
    var realm: Realm!

    // MARK: Life Cycle

    override func viewDidLoad() {
        super.viewDidLoad()
        setupUI()
        setupRealm()
    }

    // MARK: Setup

    func setupUI() {
        title = "Games"
        tableView.register(UITableViewCell.self, forCellReuseIdentifier: "gameCell")
    }

    func setupRealm() {
        let username =<EMAIL_ADDRESS>        let password = "readonly"

        SyncUser.logIn(with: .usernamePassword(username: username, password: password, register: false), server: URL(string: "http://<IP_ADDRESS>:9080")!) { user, error in
            guard let user = user else {
                fatalError(String(describing: error))
            }

            DispatchQueue.main.async {
                // Open Realm
                var configuration = Realm.Configuration(
                    syncConfiguration: SyncConfiguration(user: user, realmURL: URL(string: "realm://<IP_ADDRESS>:9080/19ebf526e022f8aec47c6c30eb8149c6/banjo")!)
                )
                self.realm = try! Realm(configuration: configuration)

                // Show initial tasks
                func updateGames() {
                    if self.games.realm == nil, let platform = self.realm.objects(Platform.self).first {
                        self.games = platform.games
                    }
                    self.tableView.reloadData()
                }
                updateGames()

                // Notify us when Realm changes
                self.notificationToken = self.realm.addNotificationBlock { _ in
                    updateGames()
                }
            }
        }
    }

    deinit {
        notificationToken.stop()
    }

    // MARK: UITableViewDataSource

    override func tableView(_ tableView: UITableView?, numberOfRowsInSection section: Int) -> Int {
        return games.count
    }

    override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        let cell = tableView.dequeueReusableCell(withIdentifier: "gameCell", for: indexPath)
        let game = games[indexPath.row]
        cell.textLabel?.text = game.title
        return cell
    }
}

UPDATE: Speaking with @TimOliver on Slack, he said part of the issue could be the sync URL. He recommended using something like realm://localhost:9080/MyPublicRealm, so I did.
Currently, my sync URL looks like this realm://<IP_ADDRESS>:9080/banjo27, but im still getting the following output in the console:
2017-01-04 06:27:20.719 Banjo[3293:30756] Sync: Connection[1]: Connecting to endpoint '<IP_ADDRESS>:9080' (1/1)
2017-01-04 06:27:20.719 Banjo[3293:30756] Sync: Connection[1]: Connected to endpoint '<IP_ADDRESS>:9080' (from '<IP_ADDRESS>:51987')
2017-01-04 06:27:20.721 Banjo[3293:30756] Sync: Connection[1]: Sending: CLIENT(protocol_version=15, client_info_size=2)
2017-01-04 06:27:20.722 Banjo[3293:30756] Sync: Connection[1]: Received: ERROR(error_code=206, message_size=33, try_again=0, session_ident=1)
2017-01-04 06:27:20.722 Banjo[3293:30756] Sync: Connection[1]: Connection closed due to error reported by server: Permission denied (BIND, REFRESH) (206)

^ it just keeps repeating over and over as the app continues to execute. it also appears that the initial data sync happens, b/c i can access the Realm objects, but I'm unsure if any subsequent notifications are coming through without error b/c of the output I'm seeing.

Looks like this issue/bug has been reported before -- #4296

I got the same issue when I run the demo app following this posting : https://realm.io/news/track-santa-with-realm-swift-database-platform-part-3/.  The demo app generates the following message continuously:

2017-01-10 09:10:37.601744 Santa Tracker[1679:603379] Sync: Connection[1]: Resolving '<IP_ADDRESS>:9080'
2017-01-10 09:10:37.603943 Santa Tracker[1679:603379] Sync: Connection[1]: Connecting to endpoint '<IP_ADDRESS>:9080' (1/1)
2017-01-10 09:10:37.895627 Santa Tracker[1679:603379] Sync: Connection[1]: Connected to endpoint '<IP_ADDRESS>:9080' (from '<IP_ADDRESS>:55752')
2017-01-10 09:10:38.101107 Santa Tracker[1679:603379] Sync: Connection[1]: Sending: CLIENT(protocol_version=15, client_info_size=2)
2017-01-10 09:10:38.101582 Santa Tracker[1679:603379] Sync: Connection[1]: Received: ERROR(error_code=206, message_size=33, try_again=0, session_ident=1)
2017-01-10 09:10:38.102489 Santa Tracker[1679:603379] Sync: Connection[1]: Connection closed due to error reported by server: Permission denied (BIND, REFRESH) (206)

The demo app normally shows santa's route and the number of presents with initial sync but I can not certain that it will work in the future. (@jarrodparkes pointed out the same concern in the above.)

it also appears that the initial data sync happens, b/c i can access the Realm objects, but I'm unsure if any subsequent notifications are coming through without error b/c of the output I'm seeing.

Same as dakeshi here... Any news?

Same as dakeshi here... Any news?

@austinzheng not sure if you can raise the priority of this higher. this is actually blocking me from my first app release — if i cannot have a "readonly" sync'ed realm, and must resort to giving users mayWrite privileges (my current workaround), then it would be possible for a savvy user to complete wreak the Realm 😢
unless there is something I'm missing?

Hi @jarrodparkes, apologies for the delayed response. I'm trying to get in touch with our engineers who'd know how to answer your question, and will post something as soon as I hear from them.

@austinzheng sounds good — i'm doing my best to find a workaround at this time, but I've struggled to find anything that "feels right".

I am now also coming up against this issue - and my app logs look nearly identical to the examples already posted here.
2017-01-21 06:43:51.469 Realm_Owner[14612:2381284] Sync: Connection[1]: Connection closed due to error
I only noticed this yesterday, once I had upgraded both the client and server software to the latest "v1" (Swift / client 2.3.0 and server Ubuntu 16.04 / 1.0.0-BETA-4.11).  Previously the server was running a fairly old (nearly 2 months) release.
As I am only "playing" I am tempted to burn the server and start over.  Unless anyone has found a workaround/solution.

@austinzheng has there been any updates on this since the new release?

Read-only sync permissions have not yet been fully implemented on the client-side, and may not work at all depending on your situation. We're tracking this internally as realm/product#195, and we have other related bugs that are opened that should be reviewed and consolidated into a single bug tracking the fact that read-only or write-only sync permissions aren't well supported.

This has been fixed in #4910.
Note that if a sync user ever has the possibility of only having read access to a Realm, the only safe way to access that Realm is through the asyncOpen API. This is because the synchronous API provides access to the Realm immediately (yay offline-first!), which eagerly writes some metadata information to the Realm (e.g. schema), which then fails if the server rejects the changes due to insufficient permissions.


Install the xmlwriter module in the php pipeline container. Fixes #6

fixes #6 by allowing composer to install drupal/coder 8.2.12

I think it would make sense to install php7-xmlreader as well.
We have all 3 installed in docksal/cli:php7: xml, xmlreader, xmlwriter.
I'm going to updated the PR with that change and merge.

Built and available in docksal/bitbucket-pipelines-agent:edge-php


xcode 7.0beta could not connect to development server.

Today I downloaded IOS9 and xcode7.0beta which is needed for ios9
When I try to build my existing project to both simulator and iphone. It refused to load the index.ios.bundle with msg...
'Application Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.'
How to make this 'Temporary exceptions' in info.plist file?
thank you very much

Adding the following to your Info.plist will disable ATS
NSAppTransportSecurity

NSAllowsArbitraryLoads

I think this issue shouldn't be closed, we should probably try to make this work out of the box. Or perhaps apple should allow localhost or local ips to be loaded regardless?

File a bug with Apple if you have a case for local IPs. They might already have a way to whitelist certain IPs in which case we could add localhost. I don't think weakening security for the entire app is a good default if we can avoid it.

I'd imagine they implemented this to prevent naive implementations of OTA updates. But I do think it doesn't make sense for local IPs. I'm not an expert on IP addresses and other network-y things, but there's a few select ip ranges that are reserved for local networks right? Perhaps that could be automatically added to the whitelist(or atleast referenced somewhere)

It has nothing to do with OTA updates. This is blocking HTTP and requiring HTTPS. An alternative solution would be for the packager to serve a self-signed certificate though I'm not sure what it would take to get the client to accept it.

The info.plist entry above solves the problem inside the simulator for me, however on the actual device I still get 'could not connect to development server'. Does anyone have a similar problem?

I've added the plist entry but it's not clearing up the error.  I'm using the latest Xcode Beta released this week  - Version 7.0 beta 3 (7A152u)

Works for me  for Version 7.0 beta 3 (7A152u)

This is fixed in master (create a new project to get the changes).

So is there any way to update an existing project? (other than create a new
one and copy files)

You could look at the SampleApp's xcodeproj and manually port over the plist entry that's mentioned earlier in this thread.

The above .plist entry worked immediately for me (on an old project ported to Swift 2).

I've added the plist entry but it's not clearing up the error. I'm using the latest Xcode Beta released this week - Version 7.1 beta (7B75)

I am in the same situation, which is quite annoying since I have been working on this project for the last three months. However I am not sure if the simulator doesn't pick up the new updated info.plst or that is not working.

I am sorted, I was trying to change the info from xcode, but opening the file clearly showed my xml was wrong.

In my case, i can fixed it.

using xcode 7.1 beta 3. None of the solutions are working for me. Did any one solved for xcode 7.1 beta 3?

tried, the above solutions not working for me either. Any suggestion?

Yes I can

Am using Xcode Version 7.1 beta (7B75)

What's the solution here?  I read the app faces rejection possibility if this is in your plist:

https://github.com/mjohnston/react-native-webpack-server/pull/61

Looks like the proper fix is:
    <key>NSAppTransportSecurity</key>
    <dict>
        <key>NSExceptionDomains</key>
        <dict>
            <key>localhost</key>
            <dict>
                <key>NSTemporaryExceptionAllowsInsecureHTTPSLoads</key>
                <false/>
                <key>NSIncludesSubdomains</key>
                <true/>
                <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
                <true/>
                <key>NSTemporaryExceptionMinimumTLSVersion</key>
                <string>1.0</string>
                <key>NSTemporaryExceptionRequiresForwardSecrecy</key>
                <false/>
            </dict>
        </dict>
    </dict>

Hi,
Definitely  apple reject this this is because. http request does not accept apple we need to change https request,
in My case also rejected :)
DIJO JOSEPH
<EMAIL_ADDRESS><EMAIL_ADDRESS>0452505282
"If you want to shine like a sun. First burn like a sun.” - A.P.J Abdul Kalam

On 8 Dec 2015, at 12:05 pm, niftylettuce<EMAIL_ADDRESS>wrote:
What's the solution here? I read the app faces rejection possibility if this is in your plist:
—
Reply to this email directly or view it on GitHub https://github.com/facebook/react-native/issues/1563#issuecomment-162720485.

According to https://forums.developer.apple.com/thread/22710 it ignores port number too, so that won't work either (affixing :12345) to your plist definition.

Aha, I fixed it, for anyone else having this issue, make sure you don't have more than one key for NSAppTransportSecurity.

I fixed it in Xcode 7.2, App Transport Security Settings as Dictionary and Allow Arbitrary Loads as YES.
it's working absolutely.

If you're using React Native, niftylettuce has the correct fix.


Refactor Cluster-Proxy with addon-template

The addon-template doc link: https://open-cluster-management.io/developer-guides/addon/#build-an-addon-with-addon-template

Hi, @zhujian7  after the early spike of move agent manifests to addon-template manifests, there are some questions we need to discuss and address before the refactoring:
#1 ManagedProxyConfiguration & ManagedProxyServiceResolver
The CRs are used in the process of rendering agent manifests:

https://github.com/open-cluster-management-io/cluster-proxy/blob/03b52f315fbcf5479a2da0da95b9a1229953200b/pkg/proxyagent/agent/agent.go#L174C33-L174C58
https://github.com/open-cluster-management-io/cluster-proxy/blob/03b52f315fbcf5479a2da0da95b9a1229953200b/pkg/proxyagent/agent/agent.go#L262

If we make changes on these CRs at runtime, we expect to see manifests on the agent.
#2 self-sign certificates
The secret content we want to deploy on the agent contains the self-sign certificates: https://github.com/open-cluster-management-io/cluster-proxy/blob/03b52f315fbcf5479a2da0da95b9a1229953200b/cmd/addon-manager/main.go#L193
That also means in the process of rendering, we want to copy from one hub secret and paste to an agent secret, do we have any short-cut way to do it with addon-template?

After discussing with @zhujian7, the current conclusion is that cluster-proxy is not suitable for add-on template.


WindIO version converter

To make it easier to do braking changes of the schema's it would be beneficial to have converters between versions, especially if the conversion can be done both way old <-> new.

I think it could help us to differentiate between breaking changes and backwards-compatible changes. In principle, we should be able to add many options while still being backwards compatible. So far, almost all of the changes in motion (e.g., breaking the turbine ontology into a more modular set of files) are backwards-compatible. It would be simple to create a converter from these modular files to a single schema.
There are some instances in the plant where we have squashed ambiguity by using a restricted vocabulary or adopting a more restrictive syntax. Such a breaking change will ideally be reflected by updating the python package version string, where we can index the version of the python API, plant, and turbine.
Writing converters is non-trivial, but I suppose we could find a manageable workflow. Maybe a new converter could be included as part of each new python package release?


[Accessibility] Signpost heading reads as clickable even though it is not

Describe the bug
Signpost heading reads as clickable even though it is not by NVDA

How to reproduce

Go to https://v2.clarity.design/signposts
Click on the info icon to open the signpost
Notice clickable  is announced by screen-reader

Expected behavior
Remove the text clickable from the heading as it is not clickable
Versions
This issue is also reproducible in latest Clarity version.
Environment details

Browser: Chrome/Firefox
Screen-reader: NVDA

Clarity cares deeply about accessibility, and we work with our accessibility team to identify and triage issues. We have an internal tracking system to identify and verify accessibility issues, which has captured this already. Some issues with Clarity Angular are difficult to solve without causing side effects or breaking changes, and we have to balance concerns with fixing issues and breaking changes. As we build out Clarity Core, we are able to address these root cause accessibility issues and recommend adopting the Clarity Core implementations as they become available. We are closing this issue as we have the issues tracked internally. Please follow our development and releases to see when we release relevant Clarity Core components to make this possible.


Unexpected alt attribute added to amp-video

Bug Description
I added a video to an story page and it resulted in this markup:
<amp-video
    autoplay="autoplay" poster="https://wordpressdev.lndo.site/content/uploads/2020/09/image.jpeg"
    artwork="https://wordpressdev.lndo.site/content/uploads/2020/09/image.jpeg"
    title="Title text"
    alt="Alt text"
    layout="fill"
    loop="loop"
    id="el-b8f30411-37f5-4e4e-ace6-8b2666470bd2-media"
>
    <source type="video/mp4" src="https://wordpressdev.lndo.site/content/uploads/2020/09/PXL_20200907_180100-trimmed.mp4"></source>
</amp-video>

Note the amp-video here has both a title and an alt attribute.
In the documentation for amp-video, there is no reference to alt.
The alt attribute is likewise not copied onto the video child element by the amp-video extension:
<video class="i-amphtml-pool-media i-amphtml-pool-video i-amphtml-fill-content i-amphtml-replaced-content" id="i-amphtml-pool-media-5" playsinline="" webkit-playsinline="" preload="auto" poster="https://wordpressdev.lndo.site/content/uploads/2020/09/image-1.jpeg" muted="">
    <source type="video/mp4" src="https://wordpressdev.lndo.site/content/uploads/2020/09/PXL_20200908_112624.mp4">
</video>

There is no mention of alt on the MDN documentation for video, nor is there any reference in the HTML spec.
So, even though the alt attribute is allowed on amp-video according to the validator spec, it appears that this attribute serves no purpose and it may have been a bug to allow it in the first place.
To this end, the "Assistive text" field should probably be omitted from the UI since it doesn't actually aide in accessibility:

Expected Behaviour
The alt attribute shouldn't be added to the amp-video element since it appears to not serve any purpose.
Steps to Reproduce
Add a video to a story page and provide assistive text.
Additional Context

Plugin Version: 1.1.0-alpha
Operating System: MacOS
Browser: Chrome

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

The alt attribute is actually supported specifically in Stories, per https://github.com/ampproject/amphtml/issues/30415#issuecomment-699627830. However to me it seems aria-label would be the better attribute to use.

Let's wait to see what the outcome of https://github.com/ampproject/amphtml/issues/30415 is on this one

There should only be one text field that sets both alt and title.

Got it, thanks for clarifying, will pick it up!

One more thing to clarify from this story, should we drop the UI text input 'Assistive text'?

I think so yeah, from reading through this issue and the upstream one it sounds like we'd want to keep only the "Title" field

Added video, previewed, and seeing this:
<amp-video autoplay="autoplay" poster="https://stories-qa-wordpress-amp.pantheonsite.io/wp-content/uploads/2020/11/image-4.jpeg" artwork="https://stories-qa-wordpress-amp.pantheonsite.io/wp-content/uploads/2020/11/image-4.jpeg" title="mall crowd" alt="mp4 sample" layout="fill" id="el-f9c4c293-d2e3-4056-bd7f-5ed88d29cdfd-media" class="i-amphtml-layout-fill i-amphtml-layout-size-defined i-amphtml-element i-amphtml-disable-mediasession i-amphtml-poolbound i-amphtml-media-component i-amphtml-video-interface i-amphtml-built i-amphtml-layout" i-amphtml-layout="fill" preload="auto">
According to instructions in 5332, should be the same value
Editor:

But when I choose "edit" from the three-dot icon for the video, I'm seeing this:

Thanks for flagging @csossi! While you just discovered an issue, I want to clarify one thing:
When you choose "edit" from the three-dot icon for the video to update a video's description, this will actually update the video description on the server for any future use. However, it will not update the video you already inserted on the page. For existing videos in the story you'll need to go through the design panel.

Verified in QA

This has been fixed. Closing the ticket. @tmagalhaes-huge


Foundation options do not show when this addon is enabled unless recycle panel is toggled

Describe the bug
When I click on foundation I do not see the bar that allows me to change the colour etc. If I disable the recycle panel in the inventory and/or enable it again then click foundation again, the options show correctly. I have to do this every time.
To Reproduce
Steps to reproduce the behavior:

Click foundation in inventory
No foundation options are visible
Open inventory
Disable and re-enable recycle panel
Click foundation again
Foundation options now visible

Expected behavior
Foundation options should always be visible.
Mods installed

SuperNightLight
CruiseAssist
PlanetMiner
LSTM
Bottleneck

Ok, I can repro this, I'll see if I can fix it.