Webview not showing HTMLs from documents directory on ios 12.5.1

WebView not showing HTMLs from documents directory on iOS 12.5.1 this has to be handled on native level allowing the access to url
Assets HTMLS files are loaded but not from the documents directory.
This does not work on iOS 12.5.1 and most of the iPad Air are upgradable upto iOS 12.5.1
This is very critical issue for our apps.

@googlebot I fixed it.


feat: add basic health check route on restApiRoot

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


CreatedAtRoute mistakes path parameter for query parameter

Is this a Bug or Feature request?:
Bug
Steps to reproduce (preferably a link to a GitHub repo with a repro project):
Given a Get method in a Controller:
    [HttpGet(Name = "GetInstrumentView")]
    [Route("{id:int}")]
    public InstrumentView GetInstrumentView([FromRoute] int id, ...)

Then this
return CreatedAtRoute("GetInstrumentView", new {id}, createdView);
call at the end of a HttpPost method ->
Description of the problem:
Leads to a location header:
http://localhost:8081/instruments?id=155
whereas I expected
http://localhost:8081/instruments/155
I cannot find detailed information about this method in documentation, it just says this which is not very helpful.
Version of Microsoft.AspNetCore.Mvc or Microsoft.AspNetCore.App or Microsoft.AspNetCore.All:
<IP_ADDRESS>

Try using [HttpGet("{id:int}", Name = "GetInstrumentView")]. The code above is adding two separate routes - the HttpGet with an empty template and one with "{id:int}" which is not what you want here.

Thank you very much. I was unaware I created two different routes! Sorry for mistakenly creating this issue.


<stdint.h> is available only in C99 or later

I believe there's no way to define a 64-bit integer in C89, at least not in a portable way.
In the same way, INT64_MAX is not defined in <limits.h> in C89. But that issue is not on me.

Yes, I was aware of that. I think people on systems that only support C89 won't really be able to use a 64-bit integer much anyway, or they can define json_int_t themselves, so using just long by default under C89 should suffice. Some systems/compilers actually make long 64-bit anyway. We may also be able to convert the macro from #102 to work with a passed in type as a parameter so it can be used in more places.

Actually, #102 is not ANSI C either, because of 1UL. It may well be impossible to find the size of json_int_t in pure C89. But then it's usually already defined elsewhere, so let's not reinvent the wheel.

This change is a bit invasive for a patch release such as 1.1.1: a new JSON_INT_MAX macro is defined in json.h. But then there's no good way to fix this in a simpler way. Perhaps leave this for 1.2.0? Perhaps release 1.2.0?

What was wrong with the previous definition of JSON_INT_MAX changed by fcfa748? It's not clear to me.
static const json_int_t JSON_INT_MAX = (((unsigned json_int_t)0 - (unsigned json_int_t)1) / (unsigned json_int_t)2);

Perhaps casting back to signed?
static const json_int_t JSON_INT_MAX = (json_int_t)(((unsigned json_int_t)0 - (unsigned json_int_t)1) / (unsigned json_int_t)2);

Also, I would keep int64_t for 1.1.1, and switch to int_fast64_t in 1.2.0.

What was wrong with the previous definition [...]?

It's unclear to me too. I think for simple usage we can keep the automatic calculation with the new version you propose, and just have the documentation stipulate that json_int_t must be defined as a primitive integer type without signed or unsigned included, and otherwise the user must additionally define JSON_INT_MAX. I'm not sure how useful it is to have in the header as opposed to the source file though. These changes look good so far though, I just think we should keep the automatic calculation for simple usage scenarios.

Everything happens in the header because I need to know whether:

json_int_t has been defined explicitly by the programmer, in which case I have no knowledge of its exact type and if JSON_INT_MAX has not been defined, I can either #error out or attempt the automatic calculation of JSON_INT_MAX,
or json_int_t has been defined automatically by the header, in which case JSON_INT_MAX must have been defined automatically too.

To move the above logic to json.c, I would need a two-step process and two macro variables, such as json_int_t (a macro) / internal_json_int_t (a typedef ?), just like JSON_INT_MAX  /TYPED_JSON_INT_MAX.
Anyway, I'll switch to the automatic calculation if JSON_INT_MAX has not been defined.

Note that we need additional information on how to print `json_int_t:

"%I64d" for __int64 on Windows (Format specification syntax: printf and wprintf functions)
"%" PRId64 for int64_t
"%l" for long

I suggest we leave that for 1.2.0...

I could also define a private JSON__JSON_INT_T_USER_DEFINED macro in json.h:
#ifndef json_int_t
   #if defined(_MSC_VER)
      #define json_int_t __int64
   #elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
      /* C99 */
      #include <stdint.h>
      #define json_int_t int64_t
   #else
      /* C89 */
      #define json_int_t long
   #endif
#else
      #define JSON__JSON_INT_T_USER_DEFINED 1
#endif

and do the rest in json.c:
#ifndef JSON__JSON_INT_T_USER_DEFINED
   #if defined(_MSC_VER)
      /* https://docs.microsoft.com/en-us/cpp/cpp/data-type-ranges */
      #define JSON_INT_MAX<PHONE_NUMBER>854775807LL
   #elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
      /* C99 */
      #define JSON_INT_MAX INT64_MAX
   #else
      /* C89 */
      #include <limits.h>
      #define JSON_INT_MAX LONG_MAX
   #endif
#endif
[...]
#ifndef JSON_INT_MAX
static const json_int_t TYPED_JSON_INT_MAX = (json_int_t)(((unsigned json_int_t)0 - (unsigned json_int_t)1) / (unsigned json_int_t)2);
#else
static const json_int_t TYPED_JSON_INT_MAX = JSON_INT_MAX;
#endif

I have added a new version, as explained above:

Macro JSON__USER_DEFINED_JSON_INT_T is set when the end-user defines json_int_t explicitly.
Use int_fast64_t instead of int64_t, that's the right thing to do and doesn't break the API.
If JSON__USER_DEFINED_JSON_INT_T is defined, hope that the end-user has defined JSON_INT_MAX too, and if not attempt to calculate JSON_INT_MAX.

I have added a new version, as explained above:

Macro JSON__USER_DEFINED_JSON_INT_T is set when the end-user defines json_int_t explicitly.
Use int_fast64_t instead of int64_t, that's the right thing to do and doesn't break the API.
If JSON__USER_DEFINED_JSON_INT_T is defined, hope that the end-user has defined JSON_INT_MAX too, and if not, attempt to calculate JSON_INT_MAX.

Identifiers should not begin with underscores, but double underscores within the identifier are OK in C. Only in C++ are consecutive underscores reserved for the implementation. Technically, this is a C program. It could be compiled by a C++ compiler, but it's still C, so I feel the double underscores are OK.
That said, I had added the double underscore because  JSON__USER_DEFINED_JSON_INT_T was indeed long and complex. Your suggestion to switch to JSON_INT_T_OVERRIDDEN removes the need for it.


No highlights when looking at fzf results

Info

Operating System: Ubuntu, via WSL.
Shell: Fish
Terminal: Alacritty for Windows
nvim --version: NVIM v0.9.0-dev-1230+gd1e0f7454
fzf --version: 0.38.0 (352ea07)

fzf-lua configuration

require("fzf-lua").setup({
  keymap = {
    fzf = {
      ["ctrl-q"] = "select-all+accept",
    },
  },
  winopts = {
    height = 0.2,
    preview = {
      hidden = "hidden",
    },
  },
  oldfiles = {
    cwd_only = true,
  },
})

Description
I have this odd issue where colours do not get applied when looking at fzf results.
However, if I run FzfLua highlights, it all looks fine:

But if I look at document symbols I do not get any highlighting:

I am wondering if you have seen this before or have anything I could try to rectify the issue? Thanks!

Going to attempt to track down a possible commit - I pinned my fzf-lua version to https://github.com/ibhagwan/fzf-lua/commit/5147c4d8b99a0a5821b8bd5f918a17e83cb113e9 and the colours now work fine. Will report back if I can get more specific!

As of https://github.com/ibhagwan/fzf-lua/commit/27550b6d44b57e069705901169e5d021e264ef2f  (March 9th) the colours worked.

That’s “by design”, since PR #682 the highlights changed and now match the treesitter highlights, if you wish to have Variable highlighted you’d need to modify or link your current colorscheme @variable highlight group.

@ibhagwan sorry for the silly question, do you have an example of how I would customise the color of @variable, for example? I am struggling to understand it.

Turns out that this was not an issue with my theme, but I needed to explicitly turn symbols off: https://github.com/jackfranklin/dotfiles/commit/1bc564acc86a95339f32cc46caaa72a971f019d0
Once I did that, I got the colours back:

Turns out that this was not an issue with my theme, but I needed to explicitly turn symbols off:
Once I did that, I got the colours back:

I’m not sure why this happens, what font are you using?

Closing, feel free to reopen if you need more help.


Tolerance for moving alerts

I think it will be usefull if you create a parameter to adjust the tolerance within the movement event notification. When the sky is not clean or when the device is under a building for example, the gps singal became unstable and get many changes in a minute. And if there is no tolerance to deal with all this "position changes" the server is going to notify all of them, even if the car is phisicaly in the same place, but sufferring with gps unstable signal. So we'll have fake move events notifications...

You can adjust speed using event.motion.speedThreshold parameter.


Running N instances of rihanna on different tables

Is it possible to run multiple rihanna (supervisors) each pointing to a different configured table? Not sure how enqueue would work. This would let us have N "queues", effectively.

It seems like a lot of things might break on Rihanna.Config.jobs_table_name() since Rihanna.Config is basically global/singleton.

@tpitale Do you have a legitimate use case for multiple tables? If so, we can consider adding it.


General instability of moving ships

First, a disclaimer: these could very well be MovingWorld bugs. Furthermore, it's possible that these bugs no longer exists in production code; I'm only testing the official 1.8.9 releases.
Secondly, I've only tested with airships. I do not know if these issues are reproducible with sea-faring or submersible ships.
It seems that there is some general instability when moving ships of a modestly large size. I'm not talking gigantic cruisers; I'm talking closer to 500 blocks, if not a little fewer. Some less-than-desirable behaviors I've noticed:
Jittering: moving at any speed, the ship seems to briefly lurch in a random direction for a frame or two. The player operating the ship does not move, causing the illusion of the player's position within the ship to change briefly. Basically a "stuttering."
Choppy turning at "full" speed: when a large ship is moving at "full" speed (see: zero active steam engines, so it's hardly "fast"), turning the ship will appear choppy, with the ship's rotational movement seeming to stutter even though the physical movements of the ship do not. To reproduce, you may need to turn the ship for a little while (~10 seconds) after moving at full speed to see this effect; turning in place with no velocity does not seem to cause this problem.
Similarly, large ships ascending and descending may experience the same kind of choppiness while descending and ascending for more than a few seconds at a time.
Rapid teleporting: I've occasionally noticed the mounted ship, even when not moving, appear to rapidly jitter in space; that is, it seems to be somewhere, then rapidly teleports to another point close nearby, then back, then to another point, so on and so forth. Unfortunately, I've not been able to replicate this since my first encounter with this bug. Maybe it's memory related...
Finally, ALL airships experience this one:
If the bottom of a ship is resting on a surface while in flight, and the ship moves off the surface, it immediately plummets straight down! I s'pose it's possible this is an intended feature? But it would seem odd that an airship would just plummet like that. It's very jarring.

The first few are all essentially the same bug, from my understanding it's
related to chunk loading and render code, when debugging all the ship
motion and position variables are as smooth as ever but the render code
seems to get called less. I'm experimenting with a few things one of which
is just rewriting the render code from scratch.
I have never experienced the second last issue so I can't debug it.
If you can put the last thing you noticed in a second issue and strike out
the info in your this issue that would be great.
And yes the first few are in fact MovingWorld bugs. Keep them here for now
I'm going to unify both issue trackers in the coming days.
On Aug 29, 2016 10:13 PM, "ikarlovsky"<EMAIL_ADDRESS>wrote:

First, a disclaimer: these could very well be MovingWorld bugs.
Furthermore, it's possible that these bugs no longer exists in production
code; I'm only testing the official 1.8.9 releases.
Secondly, I've only tested with airships. I do not know if these issues
are reproducible with sea-faring or submersible ships.
It seems that there is some general instability when moving ships of a
modestly large size. I'm not talking gigantic cruisers; I'm talking closer
to 500 blocks, if not a little fewer. Some less-than-desirable behaviors
I've noticed:
Jittering: moving at any speed, the ship seems to briefly lurch in a
random direction for a frame or two. The player operating the ship does not
move, causing the illusion of the player's position within the ship to
change briefly. Basically a "stuttering."
Choppy turning at "full" speed: when a large ship is moving at "full"
speed (see: zero active steam engines, so it's hardly "fast"), turning the
ship will appear choppy, with the ship's rotational movement seeming to
stutter even though the physical movements of the ship do not. To
reproduce, you may need to turn the ship for a little while (~10 seconds)
after moving at full speed to see this effect; turning in place with no
velocity does not seem to cause this problem.
Similarly, large ships ascending and descending may experience the same
kind of choppiness while descending and ascending for more than a few
seconds at a time.
Rapid teleporting: I've occasionally noticed the mounted ship, even when
not moving, appear to rapidly jitter in space; that is, it seems to be
somewhere, then rapidly teleports to another point close nearby, then back,
then to another point, so on and so forth. Unfortunately, I've not been
able to replicate this since my first encounter with this bug. Maybe it's
memory related...
Finally, ALL airships experience this one:
If the bottom of a ship is resting on a surface while in flight, and the
ship moves off the surface, it immediately plummets straight down! I s'pose
it's possible this is an intended feature? But it would seem odd that an
airship would just plummet like that. It's very jarring.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/elytra/archimedes-ships-plus/issues/94, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABusJL6ZqN-QvjaYCMlaf3Dyn934svsxks5qk7v-gaJpZM4JwJuT
.

Please confirm these issues persist on 1.10.2

Closing due to inactivity.


feat: support more extended use cases for the comment syntax

Added support for all use cases in the webcontainer repo.

option for words to be ignored
support for jsdoc
support for #region end #endregion
ignores single line block comments so this is allowed foo(bar /** explainer what this is*/)
maybe some other stuff.

Also added to the recommended rules.
Actually tested against webcontainer to be sure this time.

Btw, again, still tried to avoid using a regex but it's getting to the point where, if more is added, I'd prolly switch...
Would simplify the code but I think it's manageable for now.


unexpected EOF, launch headless chromium with go

Hello,
I try to use chrome headless on lambda via go but always have this error on Cloudwatch,
Does someone have an idea ?

 By sticking to the options suggest here this seems to get better.
I work on a second problem, I would share my code as soon as it is ok.

no solution found, I switched to cloud run, with  docker & live chrome installation on a container controlled and chosen


enhancement: Authentication profile/sequance

Description
I added below objects.

AuthenticationProfile
AuthenticationSequance

Motivation and Context
I noticed there's no objects for AuthenticationProfile and AuthenticationSequance.
I added two objects to handle the authentication objects.
How Has This Been Tested?
I've tested my environment, and it parsed all profiles on objects.
Types of changes

New feature (non-breaking change which adds functionality)

Checklist

[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes if appropriate.
[ ] All new and existing tests passed.

hello @shinmog
can you review this pull request, i'm interested by this new featured.
thanks a lots.

hello @shinmog
can you review this pull request, i'm interested by this new featured.
thanks a lots.

Super nice job on this!  You had condensed params (aka - server_profile), you had good docs, very good use of condition...  I saw a lot that I liked.  Here's the stuff that I changed:

reorganized the params so it mirrors the GUI presentation
some param name changes, such as expanding the names (the shortened names we are not doing anymore, those saved keystrokes makes things less clear for users)
added kerberos_realm missed param
docstring updates (you forgot to put the name param as the first param for the classes)
added your new classes to the Firewall and Vsys child types (Panorama still needs this)

Again, thanks a bunch for your work on this!


Environment parameters module port

When merged this pull request will:

Port the environment parameters module to the new format.

very nice idea with the timelimit addition, just needs the private _var changes and should be good to go

I can't take credit for it sadly, this originally came from an unmerged PR to the original Olsen Framework and I had incorporated it into mine.


how to catch wrong username/password?

hi again :)
sorry for a dumb question, i would like to know how to catch event like wrong user/password during mqtt negotiation, to display some sort of popup or alert.
Also, at the moment, the library try to connect forever even if user/pwd are wrong?
tnx

Yes, you're right, currently it tries to reconnect, if you configured autoReconnect.
I think the service should emit proper events for this and some other cases so you can subscribe on them.

The new version 1.7.1 implements this feature. I hope, this suits your needs.
Feel free to open another issue, if you've got any issues or questions.

tnx, i'll try in the next few days!

@sclausen  sorry to ping on a closed ticket, but do u have a sample for that?
i can't really understand how it work

i have try with
    this.mqtt.onReconnect.subscribe(() => {
      console.log("onReconnect");
    });

    this.mqtt.onClose.subscribe(() => {
      console.log("onClose");
    });

    this.mqtt.onConnect.subscribe(() => {
      console.log("onConnect");
    });

    this.mqtt.onError.subscribe(() => {
      console.log("onError");
    });

and if i connect with wrong user/password
i see only onClose & onReconnect event, not the onConnect nor the onError

I don't know which broker you use, so I provoked an error with bad credentials in hummingbird and got this onError event:
Error: Connection refused: Not authorized
    at u._handleConnack (ngx-mqtt.min.js:7)
    at u._handlePacket (ngx-mqtt.min.js:7)
    at t (ngx-mqtt.min.js:7)
    at a.n._write (ngx-mqtt.min.js:7)
    at l (ngx-mqtt.min.js:7)
    at f (ngx-mqtt.min.js:7)
    at a.write (ngx-mqtt.min.js:7)
    at p.a (ngx-mqtt.min.js:7)
    at p.r.emit (ngx-mqtt.min.js:7)
    at s (ngx-mqtt.min.js:7)

I also tried mosquitto and you're totally right, with this broker, just the connection closes without an error!
I tried mosquitto with nodejs too. I used the plain library MQTT.js, which ngx-translate is based upon, and if the credentials are wrong, I get an error…So I researched a little and found, that this is a known bug in mosquittos websockets eclipse/mosquitto/issues/18


Create migrations for the SQL library

This will be handled via EnsureCreatedAsync method on the Entity Framework side.


Boot process and BCD store related documentation lacking

Is your feature request related to a problem? Please describe.
I recently had OS failing to boot after recovery from partition backup. Automatic startup repair failed and ended up using bootrec and bcdedit commands. When trying to learn more about how Window bootloader works and what is BCD is if found linked documentation lacking.
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/bcd-system-store-settings-for-uefi
Describe the solution you'd like

Describe what is BCD and where it is located. Or add link to that. Quick search online doesn't provide any reasonable hits. What does it stand for?
Explain ALL entries within BCD such as isolatedcontext, nx, bootmenupolicy, etc
Differentiate more explicitly between EFI system partition and Windows system partition. Don't just say "system partition". Ideally two different terms be better, e.g. EFI partition and OS partition would be much clearer.
Also I am not quite sure how is how Windows Boot Manager is aware of letter assignments for partitions. I guess it's part of NTFS, but again can't find clear answer online after quick search. Defining it BCD page of course if out of scope but some footnote could be nice.

Describe alternatives you've considered
Linux :)

@GrantMeStrength Can you please take at this issue?

Thanks, @voldemarz for the feedback. I've added these two notes near the top of the page (will build overnight and be in the public docs tomorrow). These references contain the info you're looking for:
For general info about BCDEdit, including location and command-line option definitions, see BCDEdit Command-Line Options.
To understand how BitLocker verifies that the security sensitive boot configuration data (BCD) settings have not changed since BitLocker was last enabled, resumed, or recovered, see BCD settings and BitLocker.
As to differentiating between EFI and Windows partitions and how Windows Boot Manager is aware of letter assignments for partitions, I am unable to get to those at this time.
Thanks,
Eliot

@ryanmajidi please close.

IsolatedContext is not explained.

Assign to @tedhudek, please

From my recall: isolatedcontext = Virtualization Based Security - it's based on shielded VMs and removes access to some of the host to the guest.  The hypervisor host will refuse to provide un-restricted access to the guest shielding it from a compromised host (this was project drawbridge that created a minimal hypervisor that could isolate guest VMs from a malicious Dom0 or host)
nx = No Execute = DEP = Data eXecute Protection -  Because Windows is not sure of the hardware on which it will boot this is usually "OptIn" which means if the hardware supports it... "AlwasysOn" is a more secure setting, but will not boot successfully if DEP/NX is not supported.  I think windows should use "AlwaysOn" as this is IIRC required for all x64 cores

Thanks for the overview of what the setting does.


Hitting << on first track in stream does nothing

When I am looking at my 'Likes' stream, sometimes I want to go back to the very beginning of the stream.
It's small, but hitting the << key on my mac's keyboard doesn't restart the song (try out Spotify and you'll see what I mean). If there is no track before the one playing, pressing the button does nothing.

This is not a bug in SoundCleod, sounds more like a feature request for soundcloud.com. Check this out:
https://www.soundcloudcommunity.com/soundcloud/topics/about-feature-requests


Determine state of instance/version to decide public/private

What

Determine the state of the instance/version to decide whether the storer should put in private/public bucket

How to review

Run unit tests

Who can review
Anyone

govendor update github.com/kelseyhightower/envconfig
also there are some external govendor list +outside dependencies


Fix navigationlink href value always being #

NavigationLinkItemRender reads the href value of the link out of it's data object .href property.
Expected:
NavigationLinkItemRenderer gets compiled into an anchor tag with the specified href value.
Actual:
NavigationLinkItemRenderer gets compiled into an anchor tag with href="#".
This is due to the internal logic of processing the href value, which seems to have broken due to indirect changes in (parent?) components. Href is only considered if an internal textNode is present, but in reality, the anchor tag and the child textNode should be handled independently.

Hi this PR seems to be mixed and with duplicates. Can you please redo it so I can review it.
Thanks!

@mrvx23 Did you build TourDeJewel and check whether there is no changes in UI due to those changes ?

@piotrzarzycki21 you're right, after checking I see that this breaks the navigation drawer in TourDeJewel.
The problem is that the 'href' property can possibly be used for two purposes:

To identify the navigation section for the change handler, so that the correct section can be made visible (= "internal link"), and
To act as a standard link/anchor reference, to support deep linking with URL in a Royale application.

Obviously 2) is currently not functional in develop branch, but at some point it used to be supported, as there is (dead) logic there to set the a.href to another value than '#'.
Solution proposal:
Inspect the incoming href value. Determine if it's an absolute or relative link. If it starts with http:// or https://, treat it as an absolute link and pass it through to the anchor tag.
Otherwise, treat it as a relative link, and inspect if it starts with prefix '#'. If it does not start, add the prefix '#'. This creates backwards compatibility for existing code (like TourDeJewel) that rely on href as an internal link.

I committed also the proposed fix for backwards compatibility. Note that browser URL will still reflect the new fragment, but this will not break standard Navigation usage.
Please see the change under Files changed tab. The commit history got a little mixed up, but you will see it's only the single file that's changed. If you prefer, I can try creating a new pull request with a single commit.

@mrvx23 Well I'm not a fun of checking whether some string has searched value or not. Maybe in that case this is the only solution. How my link should behave if user put's there "ftp://" ?

Hi this PR seems to be mixed and with duplicates. Can you please redo it so I can review it.
Thanks!

What commits are mixed ? I see that this PR contains stuff which is not accepted yet from other PR (https://github.com/apache/royale-asjs/pull/576) - is this what you are referring to ?

Right, and also case differences could through it off (e.g. HTTP://). Perhaps the most generic solution is a regex like https://stackoverflow.com/questions/10687099/how-to-test-if-a-url-string-is-absolute-or-relative/19709846#19709846


Test for compiler flag -march=native

Added a test in the CMakeLists.txt before adding the -march=native flag
The latest clang (clang-13<IP_ADDRESS>) on Apple M1 does not support it (yet?)

Hey,
thanks for this PR. Some info on this issue is available at https://stackoverflow.com/questions/65966969/why-does-march-native-not-work-on-apple-m1.
Starting from Clang 13.0 it seems to be possible to specify -mcpu=apple-m1 to achieve similar behaviour than -march=native. Would it make sense to check if the project is being built on an M1 Mac and specify that flag instead?

Hey,
thanks for this PR. Some info on this issue is available at https://stackoverflow.com/questions/65966969/why-does-march-native-not-work-on-apple-m1.
Starting from Clang 13.0 it seems to be possible to specify -mcpu=apple-m1 to achieve similar behaviour than -march=native. Would it make sense to check if the project is being built on an M1 Mac and specify that flag instead?

I've seen the post earlier and it is indeed possible but from what i see "-target-cpu" "apple-m1" is already part of the default compiler flags - so it should not be necessary to specify it; unless you would override it somewhere else in the project ...
See in pastebin a result of running clang -E - -### https://pastebin.com/7GBFdapa vs clang -E -mcpu=apple-m1 - -### https://pastebin.com/Ne9SJ882 on my machine

I see. Thanks for looking that up! 👍🏼
Then this is good to go. (I'll merge it once GitHub Actions is working properly again. Usually they fix things rather quickly)


test.bat fails to run due to unreferenced xunit.runner.console nuget package

On a fresh clone of the repository, if you attempt to run the test.bat file after building the project and you have not used the xunit.runner.console nuget package version 2.2.0 in any other projects, you will get an error.
The project itself refers to the runner.visualstudio version which allows for it to be run from the VS IDE but it does not make the batch file work.

The batches are for AppVeyor only. Maybe I should move them to appveyor.yml.


How to correctly change skin_url?

What would be the best way to include new skin (generated with TinyMCE Skin Creator)?. Could you provide an example how to do it?
I tried to put another folder (with my skin) next to yours in ~/.meteor/packages/teamon_tinymce/skins and then change the skin_url on tinymce.init but I got an error:
Did not parse stylesheet at 'http://localhost:3000/packages/tinymce/skins/custom/skin.min.css' because non CSS MIME types are not allowed in strict mode.
Meteor version <IP_ADDRESS>
Thanks!

@leeloo23 You can put your skin folder to the /public directory of your meteor project. (e.g: /public/tinymce_custom_skin). Then your init function must be like below:
tinymce.init({
  selector: 'textarea',
  skin_url: '/tinymce_custom_skin',
});

@boldkhuu Thank for your reply. I tried that before as well and got the same thing.
Never the less I tried it one more time and this is the exact thing I got from Chrome Dev Tools:

@leeloo23 It looks like you include /public in your path. Your path must be /tinymce/custom.

@boldkhuu works like a charm! Thanks so much! Easy oversight from my side. 👍

@leeloo23 You are welcome.


Update README.md

Closes #
✅ Checklist

[x] I have followed every step in the contributing guide
[x] The PR title follows the convention.
[x] I ran and tested the code works

Testing
[Describe the steps you took to test this change]

Changelog
[Short description of what has changed]
fixed grammatical error in README
Screenshots
[Screenshots]
💯

Hi @aditya7302 and thanks for your contribution! Sadly, we won't be accepting any unrequested changes to the README file for the time being.


Thread safety.

[ ] malloc and printf are not thread-safe, but we are using it in threads. We should address this before this problem bites us. See Using FreeRTOS with Newlib.
[x] We should make sure that we have stack overflow checks in place.

Is malloc/printf still an issue?  The only malloc reference I can find in the threads is when we initialize anticogging, which we can just wrap a critical section around if we desire.

We don't really use printf anymore (nobody uses the stdout serial feature really).


can't get terraform gce code to work

This is with terraform 0.10.6 on a mac.
If I try the example as given, I get:
bash-3.2$ terraform get --update
Get: git::https://github.com/poseidon/typhoon//google-cloud/container-linux/kubernetes (update)
Get: git::https://github.com/poseidon/bootkube-terraform.git?ref=dbfb11c6eafa08f839eac2834ca1aca35dafe965 (update)
Error loading modules: module controllers: invalid source string: ../controllers

If I clone the repo so it sits alongside my other terraform code and use a relative path instead, I get a little further:
bash-3.2$ terraform plan
Plugin reinitialization required. Please run "terraform init".
Reason: Could not satisfy plugin requirements.

Plugins are external binaries that Terraform uses to access and manipulate
resources. The configuration provided requires plugins which can't be located,
don't satisfy the version constraints, or are otherwise incompatible.

6 error(s) occurred:

* provider.google: no suitable version installed
  version requirements: "(any version)"
  versions installed: none
* provider.local: no suitable version installed
  version requirements: "(any version)"
  versions installed: none
* provider.tls: no suitable version installed
  version requirements: "(any version)"
  versions installed: none
* provider.template: no suitable version installed
  version requirements: "(any version)"
  versions installed: none
* provider.ct: no suitable version installed
  version requirements: "(any version)"
  versions installed: none
* provider.null: no suitable version installed
  version requirements: "(any version)"
  versions installed: none

Terraform automatically discovers provider requirements from your
configuration, including providers used in child modules. To see the
requirements and constraints from each module, run "terraform providers".

error satisfying plugin requirements
bash-3.2$ terraform init
Downloading modules...
Get: file:///Users/joshua/go/src/github.com/poseidon/typhoon/google-cloud/container-linux/kubernetes
Get: git::https://github.com/poseidon/bootkube-terraform.git?ref=dbfb11c6eafa08f839eac2834ca1aca35dafe965
Get: file:///Users/joshua/go/src/github.com/poseidon/typhoon/google-cloud/container-linux/controllers
Get: file:///Users/joshua/go/src/github.com/poseidon/typhoon/google-cloud/container-linux/workers

Initializing provider plugins...
- Checking for available provider plugins on https://releases.hashicorp.com...
- Downloading plugin for provider "local" (1.0.0)...
- Downloading plugin for provider "tls" (1.0.0)...

Provider "ct" not available for installation.

A provider named "ct" could not be found in the official repository.

This may result from mistyping the provider name, or the given provider may
be a third-party provider that cannot be installed automatically.

In the latter case, the plugin must be installed manually by locating and
downloading a suitable distribution package and placing the plugin's executable
file in the following directory:
    terraform.d/plugins/darwin_amd64

Terraform detects necessary plugins by inspecting the configuration and state.
To view the provider versions requested by each module, run
"terraform providers".

- Downloading plugin for provider "null" (0.1.0)...
- Downloading plugin for provider "google" (0.1.3)...
- Downloading plugin for provider "template" (0.1.1)...

The first time you have to run terraform init so Terraform can download official plugins (repos in their organization). Then you also need the 3rd party plugin ct installed and referenced in a ~/.terraformrc.

Provider "ct" not available for installation.

Based on your question, I'm wondering if you saw the docs which walk through this?
I'm not sure which "example as give" you're referring to and you should not need to clone the project or use relative paths or things of that nature.

Just type
terraform init

I ran into the same issue, I've made terraform init already, and everything was working fine until i needed to use local_file data, i did init again, and local plugin got installed. I wonder why it had't been installed?


'num_points' argument not really work when loading dataset

Hi, thank you for your nice work!
However, I think there is a tiny bug in the file "ModelNet40Loader.py". In the paper you mentioned for the dataset ModelNet40, 1024 points are randomly sampled from each sample. But in the codes, the argument 'num_points' has not really been used to sample points. So actually all the total 2048 points are used in the main loop for training.
https://github.com/Yochengliu/Relation-Shape-CNN/blob/6464eb8bb4efc686adec9da437112ef888e55684/data/ModelNet40Loader.py#L49-L60
I guess a little fix will work, e.g.

current_points = current_points[:self.num_points]

Thank you :)

Sorry I was wrong about this issue. In the main loop the sampling is correctly handled.
https://github.com/Yochengliu/Relation-Shape-CNN/blob/6464eb8bb4efc686adec9da437112ef888e55684/train_cls.py#L112


App Store Connect: ITMS-90809: Deprecated API Usage

App Store Connect has now began to flag the package as deprecated.
"ITMS-90809: Deprecated API Usage - Apple will no longer accept submissions of new apps that use UIWebView as of April 30, 2020 and app updates that use UIWebView as of December 2020. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview)."

Any feedback?

@willladislaw This plugin is not in active development. I suggest switching to the community supported plugin: https://pub.dev/packages/flutter_webview_plugin

Thanks.


Default to sig v4

Signature Version 2 will be retired on March 27th, 2021. Let's default to v4, so users wont have to explicitly force this version.

@sleg-aws by when can you merge this PR?

@girisha-g I don't own this repo. This is not a AWS-owned repository.

@drewblas can you merge and release this  PR?
I am using this gem in my RoR application and I am getting warnings


Enum generation can make code that causes new Swift 5.1 error message

A .proto file with an enum with a lot of cases ends up needing to generate switch statements with a lot of cases. As of Swift 5.1 this can cause the compiler to actually error out.
SwiftProtobuf sees this itself with one of the generated_swift_names_*.swift files:
Tests/SwiftProtobufTests/generated_swift_names_enum_cases.pb.swift:1749:5: error: the compiler is unable to check that this switch is exhaustive in reasonable time
    switch self {
    ^
Tests/SwiftProtobufTests/generated_swift_names_enum_cases.pb.swift:1749:5: note: do you want to add a default clause?
    switch self {
    ^

On the near/short term, we need to do something to tweak what the validation generates to work around this, but…
Longer term, we likely need to see if something can be generated differently/annotate the source in some way to avoid this problem.

https://bugs.swift.org/browse/SR-7907 appears to be the upstream bug for this.  @allevato is likely going to ping that also.

Capturing it since we've been discussing it locally -

If we add a default all the time, then the compiler does kick out a warning when it is able to safely check the switch in time.
Adding a default also means some degree of code bloat because if the compiler can't tell everything was covered, it won't realized whatever code we put into the default is never hit and thus won't dead strip it.

Also, just switching this test file to proto2 syntax doesn't make it work, there are enough cases even without the one having an associated value to still cause a the issue.

Jordan Rose recommended filing a new bug since the original one was resolved, so let's track https://bugs.swift.org/browse/SR-11533 now.

So about the only thing we seem to be able to come up with is do something like:
  var rawValue: Int {
    switch self {
    case .case0: return 0
    case .case1: return 1
    case .case2: return 2
    case .case3: return 3
    case .case4: return 4
    case .case5: return 5
    // ...
    case .caseN: return N
    default: // nothing
  }
    switch self {
    case .caseN_1: return N+1
    case .caseN_2: return N+2
    case .caseN_3: return N+3
    case .caseN_4: return N+4
    case .caseN_5: return N+5
    // ...
    case .case2N: return 2*N
    default: // nothing
  }
  // ...
  if case let .UNRECOGNIZED(i) == self { return i }

  // Can't get here, all the cases are listed above.
  // See https://github.com/apple/swift-protobuf/issues/904 for more.
  fatalError()
}

The UNRECOGNIZED only being there for proto3 syntax, and the hard part being we have to pick some N that will work to avoid this across compiler versions.
The downsides being, this likely generates extra code because it isn't a single switch, the fatalError is going to be generated since this is all because the compiler wasn't able to figure out things were complete in the first case.  So anything that goes over the N we pick likely suffers in codegen and maybe performance.

So anything that goes over the N we pick likely suffers in codegen and maybe performance.

On the other hand, that N is likely to be 100 or more.  Such large enums are unusual, and when they do occur, a few additional cases should add no more than a few percent to either size or time.

And even that logic was overly complex.
All we need is if over the limit, append a default and then throw the fatalError after it.  done.  The presence of the default avoid the compiler issue, no reason to use multiple switches, etc.

And that doesn't work, if you add the default then you get passed the compiler error, but then the compiler ends up being able to check it and issues a warning about the default not being needed.


EmitterOpOnEmitCallback update

Changed the parameters to be optional since not all the onEmit calls actually pass parameters to the function, so there should be a warning about that.

👍


i am not able to install git file

when i try to install this command: it failed:
pip install git+git://github.com/MichalCab/har2python.git
Here is the error message:
ERROR: Command errored out with exit status 1: git clone -q git://github.com/MichalCab/har2python.git /private/var/folders/4y/vkd10n2123d4ntnwgpk51cdh0000gn/T/pip-req-build-hohulwjm Check the logs for full command output.

@MichalCab can you pls check when u get chance; thanks so much


Option to use hex string as secret key

I have added an option (checkbox + msg.isSecretKeyHex (bool)) to interpret the secret key as a hex string.
This allows to use byte arrays to be used as a key (byte array as hex string).
This also contains the pull request by @kongkrit.

This is an old request, but I am using those changes frequently.
Will you ever merge the pull request?

Hey @ZTHawk, sorry for the delayed response. I hadn't reviewed this PR earlier. I initially created this package for personal use when I was working with NodeRED a while ago. The original package lacked a feature I needed, so I forked it and added that functionality when the original creator was inactive. Recently, I noticed on the npmjs website that thousands of users are downloading this package, so I came to check and saw this PR. I didn't realize so many people were using it. Will the changes you're proposing break any existing functionality of this package? I haven't worked on NodeRED for almost 2 years now, so I'm unsure of the recent changes.

Hi, There is a breaking change from the merge 94b51bc ("secrectkey" to "secretkey").
This should affect users that are passing the secret key with msg. I am not sure what happens if key is written in the UI and then the module is updated.
Other than that, it is behaving the same way.
You can also decide to implement it your way. All I need is the feature to have the key to be interpreted as a hex (binary) key.


Page not found ui improvement

Is your feature request related to a problem? Please describe.
UI Improvement
Describe the solution you'd like
UI Improvement
Describe alternatives you've considered
UI Improvement
Additional context

I would like to work on this issue. Please assign it to me.


I want to contribute!

I am Vaibhav Kashera, studying at the International Institute of Information Technology, Hyderabad(IIIT-H).
My past experiences include creating an android application in a team in Flutter and Firebase, which can be viewed here.
I am comfortable working in C, C++, JS, Python3, Django, and Dart. I also have a fair amount of exposure to web development(bootstrap, js, Django). I would like to contribute to this repository to kick off my work in open source.

Hey, can I please get some response? It's been 9 days!

Hi @kasheravaibhav14 ! I'm so sorry for the late response...
As you have some experience with backend technologies, maybe you could take a look at https://github.com/bancodobrasil/stop-analyzing-api/issues/26 and check if you could contribute with that?
If so, please comment  on the issue and then I'll assign that to you.
What do you think?
Thanks!!

Yeah sure, I'll take it!


Fixes update and dependencies for libraries in VCS subdirectories

The main change is fixing the inconsistent use of .dev and .current that caused updates to fail when subdirectories are used.
The issue could be observed with mikestead's hx-yaml:
> haxelib --never git yaml https://github.com/mikestead/hx-yaml master src
Installing yaml from https://github.com/mikestead/hx-yaml branch: master
Development directory set to /tmp/foobar/.haxelib/yaml/git/src

> haxelib --never git yaml https://github.com/mikestead/hx-yaml master src
You already have yaml version git installed.
Updating yaml version git ...
Error: [file_contents,/tmp/foobar/.haxelib/yaml/.current]

Called from /home/jonas/Code/haxe/std/neko/_std/sys/io/File.hx line 30
Called from haxelib/client/Main.hx line 1307
Called from haxelib/client/Main.hx line 1476
Called from a C function
Called from haxelib/client/Main.hx line 1446
Called from haxelib/client/Main.hx line 188
Called from haxelib/client/Main.hx line 422

Additionally, dependencies were being silently ignored if subDir was not null, as the computation of the path to haxelib.json had been moved too far up.

So many failures :open_mouth:
...though none seem related these changes.

The legacy server seems to be broken on haxe development for a while.
hscript v2.3.0 causes the normal server to fail on Haxe v3.2.1 with:
[...]/hscript/2,3,0/hscript/Parser.hx:758: characters 28-48 : Extractors in or patterns are not allowed

Haxe v3.1.3 started to fail in 0fe5e06 ("Get rid of macro-in-macro calls.") with:
src/haxelib/SemVer.hx:157: characters 4-9 : null is not a valid version string

And on other cases the Mercurial tests most times fail with CantCloneRepo.  Maybe a network issue, or rate limiting?

@Simn , can you please review/merge this fix?
(the failures on Travis are unrelated)

I don't really know what's going on here but I trust you!

Apparently, neither did I : (
Just noticed that this broke git library updates when branch != null.  I mistakenly though the existing tests already had that case covered...
@Simn, can you please revert the changes?  I rework the fix for subDir != null later.


Documentation on configuring setup using setup.cfg incomplete

The documentation on the options to be used in setup.cfg is quite clear. However instruction seem to be missing on how to create a package by using just a setup.cfg en no setup.py.
https://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files

@rudolphfroger: I think you still have to use setup.py but you can omit many (all?) of the parameters. Also, since the feature was only added in 30.3.0, and if you were to rely on the feature entirely, your package would only be installable with those later releases of setuptools.
@idlesign Do you have anything to add or recommend?

Yes setup.py is still required as the entry point. Bare minimum is to call setup().
If you init venv, pip ensures you have latest setuptools, so you packages will install there.
In other cases you'll propably need  ez_setup.py to update setuptools.
@jaraco I wonder whether there's already some magic to make the following line to do the trick ez_setup.py does:
setup(setup_requires=['setuptools>=30.4.0'])

Don't try setup_requires for setuptools itself. Especially since setuptools 34, it doesn't support installing itself, so isn't a solution. Also ez_setup.py is deprecated as well. Best just to require that setuptools meets the minimum version (perhaps with assert setuptools.__version__ > '30.3') thus forcing the user to upgrade before installing your package, or wait for PEP 518 support to land in pip (at which point you can declare a minimum dependency on setuptools).

Thanks for your answers. Would be a good idea to document that setup.py is still required with at least an empty setup() call. I had to find out by reading setuptools source code.

Seems reasonable. Feel free to provide a pull request.

A note on version date and number when this feature has been added should be useful too.
@rudolphfroger I'd be able to improve docs in a few days, or you can do it yourself.


GEODE-9108: Reenable tests that fail due to no-ack region

There's 22 tests that were made to pass by simply by changing the region scope to no-ack in the server xml files. This PR reenables removes the no-ack components of the test and removes all no-ack regions from the server xml files.

Looks like you have a few unused local variables to delete.  Also, apparently nobody likes the testThinClientPoolRedundancy test, probably best to leave that one disabled.


porting cfncluster config file to parallelcluster

I am trying out parallelcluster, trying to port my config file settings from cfncluster.  I get an error message about "Volume1" failing to create:
$ )pcluster create myfirstcluster
Beginning cluster creation for cluster: myfirstcluster
Creating stack named: parallelcluster-myfirstcluster
Status: parallelcluster-myfirstcluster - ROLLBACK_IN_PROGRESS
Cluster creation failed.  Failed events:
  - AWS::EC2::SecurityGroup ComputeSecurityGroup Resource creation cancelled
  - AWS::DynamoDB::Table DynamoDBTable Resource creation cancelled
  - AWS::EC2::NetworkInterface MasterENI Resource creation cancelled
  - AWS::SNS::Topic SNS Resource creation cancelled
  - AWS::EC2::EIP MasterEIP Resource creation cancelled
  - AWS::CloudFormation::Stack EBSCfnStack Embedded stack arn:aws:cloudformation:us-east-1:684353139040:stack/parallelcluster-myfirstcluster-EBSCfnStack-1LTBR9JJBE6CS/b3204e50-e757-11e8-8b5e-500c2854b699 was not successfully created: The following resource(s) failed to create: [Volume1].

I've attached my old cfncluster config file and my newly created pcluster config file for comparison.  I am using pcluster version 2.0.0
pcluster_config.txt
cfncluster_config.txt

Hi, unfortunately I was not able to reproduce your error with a similar config file. If you have not deleted this failed stack, could you log into the CloudFormation Console, look at the Events tab for the parallelcluster-myfirstcluster-EBSCfnStack-... nested stack, and send a screenshot of the error when Volume1 failed to create? If the failed stack is deleted, please try creating it again with the --norollback option, do the same procedure, and send a screenshot of the error when Volume1 failed to create.

Looks like my snapshot is still "pending"

Once the snapshot finished being created then the cluster was created with no problem.  Thanks for your help!


Cache path

Hi, is there a way to configure the cache path?

Good idea. Will add that to my todo list 👍
It will be an extra property to the configuration passed through to CFCurl and CFStreamContext.
I'll update this ticket once this has been added and tested.

Merged.


Make sure that onHideAfterConfirm is only called when the confirm button is pressed

That's great, thank you (again) @mars-lan


Implement logpdf using Distributions.jl when possible

logpdf for a few distributions is implemented from scratch in Gen, and should use Distributions.jl implementations.

On a related note, what is the rationale behind not using Distributions.jl? That would make Gen a bit more interoperable in the ecosystem and allow for using some convenient interface methods they have.

Good question.
There are tradeoffs involved in making a decision to integrate tightly with an existing library by using the types of the library directly as part of Gen's interfaces (e.g. inheritance) instead of simply calling the existing library (composition). The benefit is the potential for less glue code, but the downsides is that it makes Gen less easy to evolve over time. This is related to https://en.wikipedia.org/wiki/Composition_over_inheritance. Gen started out as a risky and exploratory research project, and we wanted the ability to keep things flexible and not couple too tightly with existing libraries.
Note that we are definitely using Distribution.jl code, but just not the the types at the moment. In principle users of Gen should not need to interact with Distributions themselves, so the only methods of a Distribution that are needed are the ones that Gen already uses. @alex-lew has a one-liner that wraps a Distributions.jl Distribution in a Gen Distribution, using https://github.com/TuringLang/DistributionsAD.jl for gradients, which fits with this "composition not inheritance" approach.
But I think it is worth discussing this more. Have you found a need for particular interface methods when using Gen?

So there are a few considerations:

Distributions.jl implements a whole slew of statistics methods that can be used when needed like insupport, kurtosis or entropy.
When writing probabilistic code I would often use plain Julia + Distributions.jl to prototype and then want to transform it into a probabilistic program, switching to Gen requires rewriting some code (especially for distributions where Gen does not offer a distribution object, but samples straight away). Programs with probabilistic choices are more primitive than Gen programs, so I prefer them to be the basis of my implementation.
There are always some tweaks / optimisations / additions to distributions that one may want to contribute upstream, but it feels wrong to contribute these to Gen rather than a more widely used Distributions.

I understand the need for Gen to evolve freely and would not want to hamper it, but I think if there is a good practice floating around then its worth considering.
(would be keen to see that one liner @alex-lew)


[main-dl to main] update sample to use penguins.parquet

update sample to use penguins.parquet

We love penguins!


Error in Pin Naming

On Bank B of the Alchitry Au KiCAD-symbol pin number 6 (B_6) is named E2 and should instead be named B2, which is documented in the original Alchitry Au schematic.

Thank you for noticing I will update this asap

I have fixed the pin name in commit 9bcf330.
Thank you very much for bringing this to my attention.


"Smart Phone" Problem of Codechef

Aim
I want to add the code for "Smart Phone" problem in codechef (DSA Learning Series)
Details
Problem name : Smart Phone
Problem Code : ZCO14003
Problem link : https://www.codechef.com/LRNDSA01/problems/ZCO14003
Please assign me this issue
LGM-SOC Participant
Programming language
C++

[ ] C
[ ] C++
[ ] Java
[ ] Python

I would like to solve this in python

Problem name : Smart Phone
Problem Code : ZCO14003
Problem link : https://www.codechef.com/LRNDSA01/problems/ZCO14003
Please assign me this issue
LGM-SOC Participant
Programming language
Python3

@manuvarghese0603 @suy1968 go ahead

@manuvarghese0603 @suy1968 go ahead

Sir, already send PR

@manuvarghese0603 @suy1968 go ahead

Sir,  C++ code also added


Using service.verify() on the same picture will result in different distances

I want to handle multiple photos in the same http request。For example, upload 5 photos (img1, img2, img3, img4, img5) and compare img2, img3, img4, img5 with img1 respectively. I modified the routes.py code so that it can do this in the thread pool.
However, using multi-threading will cause the distance of some pictures to be unstable.
For example, I tested the two pictures in the picture twice, but the results were inconsistent. The results of the other four and three pictures were consistent.

Below is my modified code.
import json
from flask import Blueprint, request
import service
from concurrent.futures import ThreadPoolExecutor
import logging
from logging.handlers import TimedRotatingFileHandler
log_path = "/home/shared/log/deepface_verify.log"
logger = logging.getLogger(name)
handler = TimedRotatingFileHandler(log_path, when='midnight', interval=1, backupCount=14)
handler.setFormatter(logging.Formatter('%(asctime)s %(name)s %(levelname)s %(message)s', datefmt='%Y-%m-%d %H:%M:%S'))
logger.addHandler(handler)
logger.setLevel(logging.DEBUG)
blueprint = Blueprint("routes", name)
pool = ThreadPoolExecutor(max_workers=2)
ret_format = '{"code": %d, "message": "%s", "data": %s}'
@blueprint.route("/")
def home():
return "Welcome to DeepFace API!"
@blueprint.route("/represent", methods=["POST"])
def represent():
input_args = request.get_json()
if input_args is None:
    return {"message": "empty input set passed"}

img_path = input_args.get("img")
if img_path is None:
    return {"message": "you must pass img_path input"}

model_name = input_args.get("model_name", "VGG-Face")
detector_backend = input_args.get("detector_backend", "opencv")
enforce_detection = input_args.get("enforce_detection", True)
align = input_args.get("align", True)

obj = service.represent(
    img_path=img_path,
    model_name=model_name,
    detector_backend=detector_backend,
    enforce_detection=enforce_detection,
    align=align,
)

return obj

def verify_single_image(img1_path, img2_path, model_name, detector_backend, distance_metric, enforce_detection, align,
threshold):
result = 0
try:
res = service.verify(
img1_path=img1_path,
img2_path=img2_path,
model_name=model_name,
detector_backend=detector_backend,
distance_metric=distance_metric,
align=align,
enforce_detection=enforce_detection,
)
distance = res['distance']
logger.info(f'verify res:{res}')
logger.info(f'{img2_path} distance={distance}')
result = 1 if distance < threshold else 0
except Exception:
logger.error(f"exception raised.{img2_path}")
return result
@blueprint.route("/verify", methods=["POST"])
def verify():
input_args = request.get_json()
if input_args is None:
    return {"message": "empty input set passed"}

img1_path = input_args.get("img1_path")
img2_paths = input_args.get("img2_paths")

if img1_path is None:
    return {"message": "you must pass img1_path input"}

if img2_paths is None:
    return {"message": "you must pass img2_path input"}

model_name = input_args.get("model_name", "ArcFace")
detector_backend = input_args.get("detector_backend", "yolov8")
enforce_detection = input_args.get("enforce_detection", True)
distance_metric = input_args.get("distance_metric", "euclidean_l2")
align = input_args.get("align", True)
threshold = input_args.get("threshold", 1.2)
image_result = {}
image_future = {}
for img in img2_paths:
    image_future[img] = pool.submit(verify_single_image,
                                    img1_path=img1_path,
                                    img2_path=img,
                                    model_name=model_name,
                                    detector_backend=detector_backend,
                                    distance_metric=distance_metric,
                                    align=align,
                                    enforce_detection=enforce_detection,
                                    threshold=threshold
                                    )

for key, value in image_future.items():
    image_result[key] = value.result()

img_res_json = json.dumps(image_result)
logger.error(f'result: {img_res_json}')
return ret_format % (0, 'success', img_res_json)

@blueprint.route("/analyze", methods=["POST"])
def analyze():
input_args = request.get_json()
if input_args is None:
    return {"message": "empty input set passed"}

img_path = input_args.get("img_path")
if img_path is None:
    return {"message": "you must pass img_path input"}

detector_backend = input_args.get("detector_backend", "opencv")
enforce_detection = input_args.get("enforce_detection", True)
align = input_args.get("align", True)
actions = input_args.get("actions", ["age", "gender", "emotion", "race"])

demographies = service.analyze(
    img_path=img_path,
    actions=actions,
    detector_backend=detector_backend,
    enforce_detection=enforce_detection,
    align=align,
)

return demographies

Can you get same results if you run this service many times with the original version of routes.py?

Can you get same results if you run this service many times with the original version of routes.py?

This problem will not occur if you use the original routes.py.

would you please test this for detector_backend="skip"
if results become same in this experiment, then issue is coming from opencv
otherwise, it is coming from tensorflow.

Closed due to inactivity


Full reload

In some cases it is not possible to do hot update, how to execute script reload like close previous process and create clearly new one?

Adding code to entry file (where you starting server) may help:
  if (module.hot) {
    // For reload main module (self). It will restart server.
    module.hot.accept((err: Error) => console.error('Hot accept error:', err));
    module.hot.dispose(() => {
      console.log('Disposing entry module...');
      // ... other stuff
    });
  }

But if webpack HMR state is broken you should restart process manually at the moment.

The problem is that in case 'module.hot.dispose' the global object is the same, i need full reload, how to indicate it?

It's just disposer callback: clear resources, close connections, etc. In 'module.hot.dispose' you steel have old state of all objects in current module. The global var is the same may be because a node process is not restarted (just hot reloaded some modules, but global scope is not changed). It seems to be how the webpack does its job.

Yes, and i am looking for a way how to tell node-hot-loader to do full reload instead of manually i.e. close terminal and open once again

There is no such feature. May be you don't need hor reload If you need new global scope? May be nodemon it's your choise. Or you should restore global scope manually in dispose callback.

In general HMR works for me, except updating several files because they are depended on global object.

You may add dispose to these files and restore global object as you need.

It's difficult to discuss without concrete example.

There is a third party library which provides decorators and this library uses global object to store decorators' data. This library is in node_modules so hmr doesn't affect it, change or reset global object i can't because the behavior becomes unpredictable, it would be good to have fallback option to reload the whole bundle

Try to add a whatcher (nodemod, webpack plugin or something else) for these files and restart whole process.

Ok, could you tell how to restart the process from bundle script?

process.exit and the same way you start it.
Stack overflow can help you.

Why not to add this feature to 'node-hot-loader' as i remember i.e. hmr will reload browser page in case of emergency

PR welcome! )

@aspirisen, take a look at autoRestart. Maybe it will usefull for you.
While I close the issue.


Extend select_columns to groupby objects

Brief Description
Allow column selection on pandas dataframe groupby objects with select_columns
Example API
mtcars.groupby('cyl').select_columns('*p')

Mmm! This would need an extension to the pandas groupby API.
In exploring through the idea, would this suggestion be equivalent to mtcars.select_columns("*p").groupby("cyl")?
Actually, on reading that line above, the answer is "no" - we'd miss out on the "cyl" column if we selected "*p" first.

implementing this would be slower than preselecting. the user can easily achieve this preselection:
mtcars.select_columns("*p", 'cyl').groupby("cyl")

I think it is safe to close this; it looks nice, but I dont think it offers any performance/shortcut improvement advantages.
What would be awesome is being able to do computations within a grouped object, without resorting to transform (or hiding the transform implementation). But that looks like a lot of trouble :grin:


Add error handling

The library logs errors for now, but I need to report the errors back to the developer

Fixed by #8


Configurable error messages

The error messages generated by the VersionedControllerSelector class could be configurable.
I think the message "The API 'Version2_2.values' doesn't exist" exposes to much information. if we where able to supress this message by just showing the common Not Found or configure our messages by setting those in the web.config would be nice.

I'm going to implement the proposal mentioned in #42.

Better then my idea.
Fantastic.
Thanks

In beta3, just pushed to nuget.org, you may either implement your own global exception filter or inherit from DefaultVersioningExceptionHandler and register IVersioningExceptionHandler with your DI container.


Website is down

Hey, the main website is down and showing a GitHub pages not found.
Love this tool and missed not having it last night.

It’s back up 😁👍

Thanks for letting me know, I did a host migration yesterday from Github Pages to Vercel, which means we had to do some dns changes. I think these are still updating causing 404s for some people, should be fixed for everyone today/tomorrow.


customize chakra-ui/props-order

Hello! just have a few suggestions to leave here about how I believe this rule can be more like eslint-plugin-react's jsx-sort-props, only more specific to chakra.
I think it would be cool if like jsx-sort-props, one could sort with options like callbacksLast and shorthandFirst. for chakra-specific use case it would also be cool to have something like pseudoFirst so that one could choose if they want it at the beginning or the end.
Additionally, (this is a lot more complex) it would be cool if there was an option called something like uniqueFirst which moves unique props specific to that element to the front. For example, on a Flex element, align, justify, and direction props would show up before props that aren't specific to Flex.
Let me know what you think!

@Hexiro Thank you for the suggestion!
I totally agree with your opinion that chakra-ui/props-order should provide the same functionality as jsx-sort-props.
My idea is like wrapping jsx-sort-props. Our rule provides same option as jsx-sort-props and internally runs their rule, then override the result to optimize for Chakra UI. This approach has for optimization of performance but easy as initial implementation.
uniqueFirst also sounds cool. But it's too hard to list unique props of all components and maintain them as updated. It's awesome if we could automatically generate them from Chakra's source code or something else.

@Hexiro Thank you for the suggestion!
I totally agree with your opinion that chakra-ui/props-order should provide the same functionality as jsx-sort-props.
My idea is like wrapping jsx-sort-props. Our rule provides same option as jsx-sort-props and internally runs their rule, then override the result to optimize for Chakra UI. This approach has room for optimization of performance but easy as initial implementation.
uniqueFirst also sounds cool. But it's too hard to list unique props of all components and maintain them as updated. It's awesome if we could automatically generate them from Chakra's source code or something else.

cool, i'll take a look tomorrow and i'll let you know if i find anything.

@Hexiro Thanks!
I think you can do this in two steps:

Make compatibility with jsx-sort-props with minimum Chakra support.
Enhance the Chakra support such as adding uniqueFirst option.

That would be really great to have the same options like jsx-sort-props

@yukukotani I tried to use the same options from jsx-sort-props but it doesn't work. Can you show an example please, how we can apply the options like callbacksLast

@artnikbrothers You can't do it for now since it's still just an idea of the implementation strategy of options such as callbacksLast. Feel free to send PR by following the strategy written above.


Filter and sorting on collections

I'm just getting started with the grid and must say it's a very nice addition to all of the super bloated grid frameworks out there!
I can't however seem to figure out how to filter and sort on collections (if it's at all possible).
My datasource is the following DTO:
public string Name { get; set; }
public IEnumerable<int> Classes { get; set; }

I can easily display the values of these properties in the grid:
columns.Add(model => model.Name).Titled("Name");
columns.Add(model => model.Classes).Titled("Classes").RenderedAs(model => String.Join(",", model.Classes));

This'll give me a nice comma-separated list of the classes.
Now of course I can't filter or sort on this value because how would the IQueryable now what to do with this? I'm using EF so basically I'm just getting an "DbSortClause expressions must have a type that is order comparable."
What I'd really like to do is to make a multiselect containing the different classes in the collection and then filtering on these - and for sorting simply do a numeric sort on the values in the collection.
But I can't seem to figure out if it's at all possible to use the grid to solve my dilemma? I could of course create a database column that contains the comma-separated string-value of my classes - and then everything would work great with sorting and filtering (on a string-basis) - but I would rather examine options that will allow me to keep my data model clean.
So is it possible to create filter and sorting on collections?
I hope it's not too unclear :)

Yes, it is possible but was only included out of the box in the newer aspnet core grid.
However you can still implement your own filter for mvc5 as well.
Here's an example for list of strings.
public class ListStringContainsFilter : BaseGridFilter
{
    public override Expression Apply(Expression expression)
    {
        if (String.IsNullOrEmpty(Value))
            return null;

        Expression<Func<String, Boolean>> containsExpression = (list) => list.Contains(Value);
        MethodInfo anyMethod = typeof(Enumerable).GetMethods()
            .First(method =>
                method.Name == nameof(Enumerable.Any) &&
                method.GetParameters().Length == 2)
            .MakeGenericMethod(typeof(String));

        return Expression.Call(anyMethod, expression, containsExpression);
    }
}

and it would be registered on startup like this
MvcGrid.Filters.Register(typeof(List<String>), "contains", typeof(ListStringContainsFilter));

Thanks a lot @Muchiachio - I'll give it a go to see if I can't get it up and running. I'll be sure to leave some feedback :)

Unfortunately I didn't have much luck with this.
I've created the following model:
public string Name { get; set; }
public List<string> ClassesAsString { get; set; }

And have the following in my Razor view:
@(Html
                    .Grid(Model.Registrations)
                    .Build(columns =>
                    {
                            columns.Add(model => model.Name).Titled("Name");
                            columns.Add(model => model.ClassesAsString).Titled("Classes");
                    })
                    .Empty("No data found")
                    .Filterable()
                    .Sortable()
                    .Pageable()
 )

I've then added the following filter class:
public override Expression Apply(Expression expression)
        {
            var value = Values.FirstOrDefault();

            if (String.IsNullOrEmpty(value))
                return null;

            Expression<Func<String, Boolean>> containsExpression = (list) => list.Contains(value);
            MethodInfo anyMethod = typeof(Enumerable).GetMethods()
                .First(method =>
                    method.Name == nameof(Enumerable.Any) &&
                    method.GetParameters().Length == 2)
                .MakeGenericMethod(typeof(String));

            return Expression.Call(anyMethod, expression, containsExpression);
        }

NOTE:
I know that my var value = Values.FirstOrDefault(); might fail. But the current model doesn't have a "Value" property as per your example. Instead it has a Values array.
As per your example I also had to create an override for the abstract method with the signature:
Expression? Apply(Expression expression, string? value)
For starters I just wanted to get some kind of effect though.
I then registered the filter in my Global.asax for my web application:
MvcGrid.Filters.Register(typeof(List<String>), "contains", typeof(ListStringContainsFilter));
Unfortunately this doesn't do much. I've noticed that the filter icon in the grid completely disappears. After looking through the _Grid.cshtml file I can see that this is only rendered if the column has filters enabled.
So I'm guessing I'm doing something wrong in one of the steps?
Would you happen to be able to point me to a basic example of somewhere where the filtering and sorting of a collection is working? Or can you see what I might be doing wrong here?
Thanks a lot :)

You might have to set a filter popup provider (which doesn't exist for enumerable).
.Filterable(true).FilteredAs("text")


Editor stops respond when open a file with very long lines

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
Editor stops respond when open a file with very long lines.
Steps to Reproduce

curl -O https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js
atom --safe bootstrap.min.js
atom opens

Expected behavior:

Atom show all contents of bootstrap.min.js
Atom response user input like mouse and keyboards.

Actual behavior:

Atom show partial contents of bootstrap.min.js
Atom does not response any user input and show the follow dialog:

Reproduces how often: 100% with or without Soft Wrap turns on.
Versions
Atom    : 1.14.0
Electron: 1.3.13
Chrome  : 52.0.2743.82
Node    : 6.5.0
apm  1.15.3
npm  3.10.5
node 4.4.5 x64
python 2.7.10
git 2.10.1

Duplicate of #979

#979 is locked.
RubyMine will force soft wrap when the lines are too long.

#979 is locked.

This does not mean anything, this issue is still a duplicate of it.
Soft wrapping will not do anything in this case because it's still a single line on the disk.


bpf: fix complexity issues around recent CT changes on 4.9 kernels

The single heavy hitter in complexity in our BPF progs right now is
the slave selection based on weights in the LB. Reason is that in the
verifier pruning, a couple of assumptions cannot be made once the
kernel sees that there's one or multiple usages with dynamic map
access and thus we bump from ~30k to ~90k closely hitting limits and
for older 4.9 kernels that don't have the 98k complexity limit we
easily overrun the 68k. Now with this change the heavy hitter in
section '2/10' (IPv6 handling) reduces down to ~30k and loads fine
on my side. It also allows us to remove the relax_verifier() pseudo
helper again. Thus for the LB fall back to just use hash-based which
afaik is the default anyway in our case. We can enable this for more
recent kernels that have a smarter verifier if we want to.
Signed-off-by: Daniel Borkmann<EMAIL_ADDRESS>

test-me-please

test-me-please

test-me-please

This is a great immediate fix. Given the LB action is always performed first in the execution path, we can move it into a tail call and bypass the LB lookup on the 2nd iteration.

Agree, given we already have the v6 handling in a tail call, this should work. I can look into it as follow-up. Thanks!


Stoneblock2 version 1.3.0 (thaumcraft 6.1.BETA26) Crucible crafting completely broken

Just tried multiple things to get this to work, currently seems broken.  I tried the recipes for Magic Tallow, Alchemical Brass Ingot, even Yellow Nitor using both stuff from the world and the Essentia Phials, and it doesn't work.  I go to throw the catalyst in after putting in the stuff and it just adds to the Essentia in the crucible instead.  As it stands, It seems progress in the Alchemy section is broken since I can't craft anything from the recipes.

do you have the appropriate research unlocked?

Do you have all the appropriate essentia?

if yes to both then this is a problem with the stoneblock pack

Yellow Nitor is completely unlocked. as for Magic Tallow and Alchemical Brass, the book is requesting it as part of the entry.  As for Essentia, for example on the Nitor, I threw in one phial of Lux, fire, protentia and then waited a few sec, threw the glowstone dust.  The glowstone dust added to the pot instead of completing the recipe.

I tried this in a clean instance, the issue does appear to be with StoneBlock2.

Just got a working response from the StoneBlock2 pack github.  Thought I post it here in-case anyone comes searching.
https://github.com/FTBTeam/FTB-Presents-Stoneblock-2/issues/280


Upgrade Grafana to latest swagger spec

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.Grafana


Setting Destination

I am trying to set destination over HMI device using HMI emulator but unable to code the softbutton available on the screen neither I am able to see where the destination location is set.
Kindly help me in using the SendLocation API

Hi @heenak
Please take a look at the documentation at https://smartdevicelink.com/
If you have questions, the community on slack is the best place to ask: http://slack.smartdevicelink.com/
Thank you


atom.workspace.observeTextEditors gets fired multiple times and also for non-existent panes.

using some code that fires on a textEditor save event e.g.
    @disposable.add  atom.workspace.observeTextEditors (textEditor) =>
      @disposable.add textEditor.onDidSave (event) =>
          textEditor.setCursorBufferPosition [0,0]

On saving a a file e.g. test,js the above code fires once - correct
Now split screen to have two edit panes/tabs for test.js and save file - above code fires twice - I would expect only one firing of this code ( corresponds with https://github.com/atom/atom/issues/8853)
Now remove one of the tabs for test.js and save the test.js - above code still fires twice! but one of the calls to textEditor.setCursorBufferPosition gets a stack trace and message This TextEditor has been destroyed obviously because the pane no longer exists.

This all seems a bit flaky to me! Surely an onDidSave event should only fire once for all instances of the same file and never when a tab has been removed!!!!

The behavior you describe is the expected behavior:

The onDidSave handler fires once
The onDidSave handler fires twice because there are two TextEditor objects, one in each pane. But the underlying TextBuffer is shared between them. So when you save in one, both TextEditor objects get notified and the onDidSave fires in both.
The onDidSave handler fires twice because in your example code, you never clean up the onDidSave handler when a TextEditor is closed. A better example would be:

@disposable.add atom.workspace.observeTextEditors (editor) ->
  onSaveDisposable = editor.onDidSave ->
    editor.setCursorBufferPosition [0, 0]

  editor.onDidDestroy ->
    onSaveDisposable.dispose()

Yes I know that an I will code accordingly. At the moment  I do dispose of the subscriptions but not until the end.
I still think this is a bug as onSave events shouldn't be being sent to a non existent textEditor regardless of whether subscriptions remain. This is bad!


Roll Flutter Engine from 3b92bb6eda19 to 6a63a5b58463 (3 revisions)

https://github.com/flutter/engine/compare/3b92bb6eda19...6a63a5b58463
2023-08-24<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from vJ6oaubpqgRM2nb1e... to P8oeVw3whCGS6pCjL... (flutter/engine#45046)
2023-08-24<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from -HcyJtxGxUDcqX-jo... to XoUnFqSvX9mhbXqBJ... (flutter/engine#45044)
2023-08-24<EMAIL_ADDRESS>Manual roll Dart SDK from ab417bc74bb1 to 87a5a26b25fc (4 revisions) (flutter/engine#45043)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from -HcyJtxGxUDc to XoUnFqSvX9mh
fuchsia/sdk/core/mac-amd64 from vJ6oaubpqgRM to P8oeVw3whCGS
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jimgraham@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


en Lang apply in full screen

Lang does not change in full screen ,

In the video_viewer 1.0.6 release, I fixed that problem

In the video_viewer 1.0.6 release, I fixed that problem


Put 21 at 30% to 22

Signed-off-by: John Molakvoæ (skjnldsv<EMAIL_ADDRESS>

Wait for merge until circles has been fixed

Circles migration is good to go then.
We can merge


Quản trị oan ninh mạng quốc tế

What article on docs.github.com is affected?

What part(s) of the article would you like to see updated?

Additional information

@TuanPm86 This issue is blank and appears to have been opened accidentally. I'm going to close it now, but feel free to open a new issue or ask any questions in discussions!

International social network security administrator


Allow node-cache and node-cluster plugins to be release on download website

Issue
N/A
Description
Configure the repo to allow node-cache and node-cluster plugins to be release on download website

Gravitee.io Automatic Deployment
🚀 A prerelease version of this package has been published on Gravitee's private artifactory, you can:

use it directly by updating your project with version: 5.12.7-make-plugins-available-on-download-website-SNAPSHOT
download it from Artifactory here

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

5.12.7
GitHub release

Your semantic-release bot :package::rocket:


Initial vs Optimized Graphs Mis-match

Project Robyn
Describe issue
I have run an MMM model with 10 channels. The initial vs optimized budget shows that for a channel we should increase the budget whereas - the initial vs final mean response shows that the mean response for that channel would decrease.  Why should one increase the budget for a particular channel if the response is less than the initial response
Provide dummy data & model configuration
Trails : 5
Iterations: 200
Adstock: Geometric
Initial vs Optimized Budget

Initial vs Optimized Response

Environment & Robyn version
R version (R --version)
Please make sure you're using the latest Robyn version

Hi @roh-neenopal
Can you please update Robyn to the latest version (stable or dev)? It may be part of a known issue that was already fixed in the latest versions. Please let us know if this issue persists.

This is the version on which the model was executed

Can you try installing the dev version and re-running? It seems weird because we changed those plots theme (white background and less intense blues) in recent versions. Please, update, re-run from scratch, and retry to see if the problem continues. Thanks!

Yes, installing again and re-running from scratch resolved the issue. Thanks!


use notification level when set

All notifications were using the INFO log level instead of the level that was passed to vim.notify.
With this commit the log level is set to INFO when level is nil.

Nice catch, and thanks for the contribution !
I'll add some tests about this in the future, so that we can catch these kind of bugs.
Or do you want to handle that as we go ?

Oh right, that looks like something I can add to this PR.

I tried a few things but I can't seem to get run_tests.sh to run both files in the test directory...
Running the nvim command manually with tests/notify.lua seems to work though.

(oh wait one of them should not pass as it is)

OK the tests don't seem to work on my machine, when I change the values in tests/status.lua the tests keep passing. It might be quitting the nvim instance before running scheduled assertion.

Okay, thanks for the fix anyway.
I am going to take the PR over from here (keeping your change, obviously), to integrate the tests.


Demonstrate patching of vulnerabilities detected by Grype

Description

This PR demonstrates the patching of some vulnerabilities in the DSWx_S1 PGE image as detected by Grype. It demonstrates it is possible, though a bit tedious to work out compatibility issues. To facilitate faster checking, I added the Grype scan to the integration pipeline as well, at least temporarily.

Affected Issues

#472

Testing

Tested on the integration pipeline in the sandbox. As of commit 0c91933, all tests and qa evaluations seem to be passing and the selected vulnerabilities are removed from the report.

Due to concerns from ADT, rolling back dependency updates to just those used by PGE code so as not to impact SAS function/stability/performance.


Initial docs

I've rerranged the README into some documentation, and added a a page on serialization and a bit on the structure of license_files, as well as made many of the docstrings into doctests, which ensures they stay up-to-date (and can be auto-updated by Documenter instead of by manual copy-paste!).
I think we'll need to add a DOCUMENTER_KEY if there isn't one already.

hm https://github.com/giordano/AnalyzeRegistry.jl/pull/18/checks?check_run_id=1922995595#step:5:38

I never understood how the preview works, aren't secrets available only on master?

no, I think they're available repo-wide (but not available to forks). But idk should we just try it? We can see if the docs fail to deploy on master too or maybe it'll work

Thanks!


InternalCommandPortListeningCheck always fails for containers built without /bin/sh

Relates to #2984
I'm surprised we've not come across this earlier, but the default TCP port listening detector InternalCommandPortListeningCheck does not work for containers that do not have /bin/sh included.
This predominantly affects images built upon scratch.
The workaround/solution is to use a more application specific WaitStrategy - e.g. an HTTP wait strategy.
However the log messages don't make this easy to realise.
Given that we do both the internal and external port checks for a good reason, I don't think we can just rely on the external port check. Still perhaps we can raise a very specific error message if /bin/sh is not available inside the container.

I can take it.

@rnorth
I noticed that Testcontainers heavily uses static classes, for example:
try {             ExecResult result = ExecInContainerPattern.execInContainer(waitStrategyTarget ...
or
default Container.ExecResult execInContainer(Charset outputCharset, String... command) throws UnsupportedOperationException, IOException, InterruptedException {         return ExecInContainerPattern.execInContainer(getContainerInfo(), outputCharset, command);     }
which makes it hard to unit test/mock some things. Is it done on purpose or have there been any ideas to change that?
Asking that because fixing this issue would require to run an integration test which is heavier and I read in some issue that it's not desirable to increase build running time with heavy tests.

@vcvitaly overall, we prefer integration tests over unit tests. We do recommend avoiding unnecessary load on our CI but we don't mind it if it is needed.
Also, Testcontainers' nature is context-less, to make it easier to use in tests, hence the heavy usage of static objects.

If an error is thrown, HostPortWaitStrategy will be running Unreliables.retryUntilTrue until the timeout is reached.
I think in such cases as this it should be aborted immediately, however at the moment it's not possible with Unreliables.
I described the issue in https://github.com/rnorth/duct-tape/issues/11

Hi, I have create this PR https://github.com/testcontainers/testcontainers-java/pull/6942 pls take a look and say what do you think? Thx


fix: cnsl-redirect-uris ngModel & formGroup issue

When a users tries to create an app (Web Native, User Agent) in "pro mode" user can't input redirect url or post-logout url. The fields and plus button are disabled.
Acceptance criteria:

[X]: Redirect and Post Logout URIs inputs can be edited and plus button is enabled.

Console shows two errors related to the inputs:
Error: NG01350: ngModel cannot be used to register form controls with a parent formGroup directive.  Try using formGroup's partner directive "formControlName" instead [...]  Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions.

I've used the second option in this PR.
https://user-images.githubusercontent.com/30386061/233837097-c7798da3-73fa-4cd4-a07f-0f8b05d4e34b.mp4
Closes #5678

### Definition of Ready

- [X] I am happy with the code
- [X] Short description of the feature/issue is added in the pr description
- [X] PR is linked to the corresponding user story
- [X] Acceptance criteria are met
- [ ] All open todos and follow ups are defined in a new ticket and justified
- [ ] Deviations from the acceptance criteria and design are agreed with the PO and documented.
- [X] No debug or dead code
- [] Critical parts are tested automatically
- [ ] Where possible E2E tests are implemented
- [ ] Documentation/examples are up-to-date
- [ ] All non-functional requirements are met
- [X] Functionality of the acceptance criteria is checked manually on the dev system.

Thanks @doncicuto
We are currently finishing up the current sprint and will then have a look at it.


Why not support markdown flow?

It's  difficult to support markdown difine flowchart?If I use other  plug-in,I need to remember it's grammer,any good scheme?

Thanks for reaching out!
Because we treat our issues list as the Atom team's backlog, we close issues that are questions since they don't represent a task needing to be completed. For most questions about Atom there are a lot of options, check out:

The Atom Flight Manual
The Atom FAQ on Discuss
Discuss, the official Atom and Electron message board
Join the Atom Slack team

On Discuss and in the Atom Slack team, there are a bunch of helpful community members that should be willing to point you in the right direction.


Init Pytest action

Adding an action to run pytest for Python => v3.10
Closes #68

Seems to be working!


Add Load CSV Method to load labeld Examples from csv file

Please add the ReadCSV method with CSV Helper  library
https://joshclose.github.io/CsvHelper/

Hey,
thank you for reaching out!
There will be a first implementation of this feature in the next version. I already written the code, I just need to clean it and push it. Probably it will be available by the end of the year.
A more expanded version will hopefully come in 2023, but only after some work planned for other libraries will be completed.
NW

@sapurtcomputer30
If you look into the repository from now on, you'll find a Powershell script in the "scripts" sub-folder that does what you need (CSV files to LabeledExamples/TextSnippet JSON files).
A more integrated version of this feature may or may not come in the future.
Cheers!


[Monitor]: add api-extractor

Run api-extractor on monitor-opentelemetry-exporter

I think we can close this one, since #12594 tackled this.


create file with initial test code

Test file created + test code; please review:))

Nice looks good looks like you cover most edge cases really good coverage.

looks good!


Page of a section/group/class in Cabinet SP

as a user (Service Provider), I want to see all my information in the System concerning section/groupe/class in order to be able to check, update and correct it
Description
https://www.figma.com/file/YRYP4zAAchOyYMgdoeP782/MoE-Dev-Team?node-id=767%3A27
https://www.figma.com/file/YRYP4zAAchOyYMgdoeP782/MoE-Dev-Team?node-id=805%3A28
Preconditions:
• A user has an account in the application and data of a section/group/class entered into the system
Acceptance Criteria
1. The "Гуртки" page is a tab in a SP Cabinet
2. A tab “Гуртки” should contain  fields of output information (entered into the database by the service provider when registering in the system (US 55) or in its cabinet)
3. Users with Main logins have the ability to enter and correct all data in the Cabinet SP (including all classes / sections)
4. Users with Helper logins have the ability to add a new class / section by himself and correct all data related to the class / section entered into the system by them or associated with their access by Main login (US 89).
5. By clicking on the button “pen” or “trash”, users can edit information or delete class/section:

Tasks

[ ] sample task.

If the workshop deletes someone and at the same time another user tries to go to the page of this group: Display service message "Гурток було видалено"


Rendering of private or informal path

According to the recommendations of the Trails Working Group, highway=path + informal=yes or access=private|no best should "not shown at all", or at least "should be substantially less prominent".
I prefer to render them according to "However, sometimes showing such trails can help orientation in terrain or help in emergency situations."

Hi @pyrog , it seems both informal and access=private|no are rendered in carto and tracestrack carto/topo. What do you suggest to change?
See:
https://www.openstreetmap.org/way/1148165271#map=19/47.54958/7.66570
https://www.openstreetmap.org/way/666510714#map=19/47.53680/7.29207
https://www.openstreetmap.org/way/863751062#map=19/47.53130/7.54781


Eigen 3.3.1-p3

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.1330
https://travis-ci.org/ingenue/hunter/builds/193433163

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.1331
https://travis-ci.org/ingenue/hunter/builds/193599620


Allow RedHat family to install

Signed-off-by: Andrew Grimberg<EMAIL_ADDRESS>

Rather than fork my own, would you be so kind as to accept @tykeal pull request?

Thanks for the patch, works fine on CentOS 7.2.
+1 for a merge

@tykeal Thanks for your contribution. Please add RedHat to metadata.json, after that I will merge your patch.

@dhoppe would you like me to bump the patch version as well?

@tykeal Good thinking. That would be great.

There you go :)

Thanks.

Oh.. hmm... I think I hadn't realized you had released a v 1.0.4 in August! Need to bump up one more minor rev (and probably a CHANGELOG entry) to make this releasable

Hm. I missed that too.


Instagram pictures will not rip.

I tried every link and it will not work. Can you look into this issue please? Thank you. :)

Iconosquare (the service used to rip instagram albums) was down for a few days. Looks like it's up again, so rips should be working now.


apis: add NUMA-aware topology policies

Ⅰ. Describe what this PR does
Add NUMA-aware topology policies, defined by the doc NUMA Topology Scheduling

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
V. Checklist

[ ] I have written necessary docs and comments
[ ] I have added necessary unit tests and integration tests
[ ] All checks passed in make test

/lgtm