Fixed crash due to dataURI as src

Fixed a case where entering dataURI as src results in repeated loading of image and ultimately crashes browser.

Hi @ManpreetSingh80 thank you for PR. I made test and for me everything is working fine.
I used this image https://lukasz-galka.github.io/ngx-gallery-demo/assets/img/1-small.jpeg and https://www.base64-image.de/
small: 'data:image/jpeg;base64,/9j/4AAQSkZJ...',
medium: 'data:image/jpeg;base64,/9j/4AAQSkZJ...,
big: 'data:image/jpeg;base64,/9j/4AAQSkZJ...

I made my test on Windows/Chrome. Do you have this issue always?
I would like to reproduce this issue, thanks.

Hi @lukasz-galka .
First thanks for this awesome library. Really saved me a lot of time.
For that issue, i also tested it on windows/chrome.
Can you create a plunk of this project. It will be easier reproduce this and other future issue.

It would be great, but evry example with Angular on plunk is using SystemJS instead of Webpack and my lib at this moment doesn't have support for SystemJS ;/

Hi @ManpreetSingh80 I have created example on plunker https://github.com/lukasz-galka/ngx-gallery/#playground
Please let me know if problem still exists

I have changed files structure in version 2.0.0, so now your PR has merge conflicts ;/. I have moved your fix by my own in version 2.0.0 because another person has similar issue https://github.com/lukasz-galka/ngx-gallery/issues/49
Unfortunately I can't reproduce this issue ;/

It helps as you can see in ticket #49, thank you for this PR :)

Hi @lukasz-galka , Sorry for the late reply as i am currently on vacations.
Thanks for producing the plunkr. It will help for future issues.
I am glad it helped. I am planning to use this library in production and need more features. Eg. image scroll zoom in full screen mode. If i develop them first, i will create a pull request for it too.


use zero slot for empty arrays

Codecov Report
Base: 85.38% // Head: 99.20% // Increases project coverage by +13.81% :tada:

Coverage data is based on head (1077642) compared to base (a734b51).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##              1.2     #857       +/-   ##
===========================================
+ Coverage   85.38%   99.20%   +13.81%
===========================================
  Files          55       27       -28
  Lines        3107     1252     -1855
  Branches      414      145      -269
===========================================
- Hits         2653     1242     -1411
+ Misses        452        7      -445
- Partials        2        3        +1

Flag
Coverage Δ

foundry
?

production
99.20% <100.00%> (+0.47%)
:arrow_up:

reference
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

contracts/lib/Consideration.sol
94.44% <ø> (ø)

contracts/lib/ConsiderationDecoder.sol
99.11% <100.00%> (-0.17%)
:arrow_down:

contracts/lib/ReentrancyGuard.sol
77.77% <0.00%> (-11.12%)
:arrow_down:

contracts/lib/OrderCombiner.sol
98.71% <0.00%> (-1.29%)
:arrow_down:

contracts/lib/CounterManager.sol
100.00% <0.00%> (ø)

contracts/lib/OrderFulfiller.sol
100.00% <0.00%> (ø)

contracts/lib/ZoneInteraction.sol
100.00% <0.00%> (ø)

contracts/helpers/TransferHelper.sol
100.00% <0.00%> (ø)

contracts/lib/CriteriaResolution.sol
100.00% <0.00%> (ø)

... and 41 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


No recovery from failed PN532 communication

I’ve got a reader in a place with a wifi antenna, switching power supply and 230v wiring all nearby.
It was rock solid when I tried it for a week at my desk without these noisy neighbours.
But with all this interference it seems to loose the communication with the PN532 after a while and when it does it never recovers until i reset it.
In this state it’s reachable via Mqtt and works normally in HomeKit but no longer responds to nfc tags or homekeys.
I’ve managed to improve the wiring SPI placement so it now lasts a day instead of a few hours, but it would probably be a good idea to retry if SPI with the pn532 fails

Hi there!
Thank you for reporting this, it is on my list of things to improve, however, the issue is, unlike I2C there is no real way of detecting the presence of an SPI slave but there is some code trickery which can be done that i'll be looking into.
Side Note: It was actually supposed to be I2C but i had some issues with it so i picked SPI instead, i might actually try to make I2C work to see how it behaves.

Perhaps it's as simple as starting over with the SPI communication every now and then. That alone would make it much more robust irrespective of whether it's necessary in that moment or not

sadly i ran into the same problem. worked perfect on my desk but no it works for just some hours and than needs a "reboot".

I've managed to solve it on the hardware side here - lots of aluminium tape and moved the esp32 to a box apart from the other stuff (and some aluminium tape around the walls of the box, just in case 😆 )


fix cropped region on ios

The cropped area on iOS was not aligning with the rectangle & coordinates drawn on the screen. After merging this code, the image provided from the cropper matches what you'd expect.

Added additional fixes and re-submitted in #65


Update value of MHINT2 for v1.3.10

Update value of MHINT2 for v1.3.10

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


fixed compile error

This should fix the compile error. However, it does not completely fix the bug I was trying to fix with my initial pull request.
With this version I get the following results:
query: A=[]
result: []
query: A='[]'
result: [] <-- this should be an atom
It is not so easy to fix this properly because I couldn't find good jpl3 documentation, maybe we should just switch to jpl7 for the master branch as well?

Well as stated before [] is an atom!
In SWI Prolog, do this:
?- X = '[]'.
X = [].
The single quotes are only used to enforce atoms, but [] is an atom anyway.
Also this holds:
?- [] = '[]'.
true.
So this result is expected.

On the other hand, not sure about the design decision to make [] an atom.
Maybe (somehow) related to this behaviour is this:
?- [a] = .(a,[]).
true.

Where .(Head,Rest) is internal list representation of Prolog
(brackets are only syntax sugar again).


Add chapter 7 man pages for all of the IOGroups

estimate 3

Parent story: #1670
The goal is to provide user documentation for the signals and controls provided by PlatformIO split out into a man page per-IOGroup.  The purpose of these man pages is to describe the signals and controls can be provided by the IOGroup.  This information may be used in conjunction with any of the PlatformIO interfaces, including command line tools like geopmread(1).  Note that unlike the chapter 3 pages, these manuals are for end users, not developers.

The modification is to user documentation
The change is a addition
The reason for the change is there is no other man page that describes signals and controls available from PlatformIO
The documentation component to change is geopm service man pages

[ ] SST-IO, TimeIO, CPUInfo - Asma
[ ] CNLIO - Daniel
[ ] MSRIO - Alejandro
[ ] DCGM, LevelZero, NVML - Lowren


[Issue]: Handle PRs on GitHib with many changes

First, I love this project! It checked a few boxes I was looking for to automate the code reviews.
I'm more than willing to partner with you to enhance this project.
I've been testing this and noticed that the /improve comment does not work on PRs with many changes.
Here is an example.

just to confirm - you commented /improve and it only generated "Preparing review..." message and nothing more happened, right?

@dwertent Thanks for reporting, we are checking the issue

i am fixing it

@hussam789
https://github.com/Codium-ai/pr-agent/pull/170

p.s
@dwertent with or without PR-Agenet, a PR of 80 files is a problematic PR ...   :-)

@mrT23 I agree. I've always said my team's motto should be 'Go big or go home!' 😜 I completely agree with you – 80 files might be a tad overenthusiastic.
Thanks for fixing the issue :)


Session Handling with RoadRunnerSymfonyNyholm

Currently there is no session handling implemented in the Runner.php. Symfony itself does never write a session cookie the the Response object so the session cookie is never set.
Expected Behaviour
First I want to demonstrate the expected behaviour, my research here is based on https://sulu.rocks/admin which currently runs on a normal apache server and the symfony demo using dev php webserver.
1. Visiting the Login site
As we see the login page, and have a look at our Cookies. There are 0 cookies set. So if a route is behind a firewall but the route is anonymous available no session cookies are written by symfony.

State
Value

Request Cookie

Response Set-Cookie

2. Log into the Application with a false user
If we login to the application but no user is set also no session is started.

State
Value

Request Cookie

Response Set-Cookie

3. Log into the Application with a correct user
Log into an application with a correct user not having a session.

State
Value

Request Cookie

Response Set-Cookie
my_session_id

4. Navigating inside the application
Aslong as we are now navigating the session_id should stay the same and never again a Set-Cookie should be called aslong as the session does not expire.

State
Value

Request Cookie
my_session_id

Response Set-Cookie

5. Logout from the application
If we are logout of the application the session cookie value be set to deleted and automatically be expired so its also removed from the browser cookies.

State
Value

Request Cookie
my_session_id

Response Set-Cookie
deleted, expired 1970

6. Visiting with an expired session cookie
If we have an expired session cookie in our browser php will again add a Set-Cookie header that the browsers remove it.

State
Value

Request Cookie
my_session_id

Response Set-Cookie
deleted, expired 1970

The Problems
Problem A: Session is not written to the Response Object (solved)
Currently the Session is not written to the Response Object.
Solution A1:
I currently did workaround this by doing this in my modified Runner.php by adding something like this:
                // ...
                $sessionName = $this->sessionOptions['name'] ?? \session_name();

                // ...
                    $sessionId = \session_id();

                    // ...
                        $sfResponse->headers->setCookie(
                            Cookie::create(
                                $sessionName,
                                $sessionId,
                                $expires,
                                $this->sessionOptions['cookie_path'] ?? '/',
                                $this->sessionOptions['cookie_domain'] ?? null,
                                $this->sessionOptions['cookie_secure'] ?? null,
                                $this->sessionOptions['cookie_httponly'] ?? true,
                                false,
                                $this->sessionOptions['cookie_samesite'] ?? Cookie::SAMESITE_LAX,
                            )
                        );

Solution A2: Symfony adds an option that the AbstractSessionListener will write this cookie when the session was saved here: https://github.com/symfony/symfony/blob/bbb0a694fbbd5a527b2236636271a47122b5d47c/src/Symfony/Component/HttpKernel/EventListener/AbstractSessionListener.php#L110
Problem B: Cleanup session data at end of the request (solved)
As php is never shutdown we have the problem that we need cleanup all session based php states ourselve
Solution B1: I currently did this in the Runner.php by adding a finally block to the run method
finally {
    if (session_status() === PHP_SESSION_ACTIVE) {
         // abort the session if nobody did write it
         session_abort();
    }

    $_SESSION = []; // reset session array
    session_id(''); // else the next request would have the same session_id which would be a security problem
}

Solution B2: Something which maybe should be tackled with in PHP itself to add a function which would reset this. And so also avoid Problem C.
Problem C: SessionId is not read from new Request object (solved)
The session need also be read from the request object. As session_id will return empty string and php will not read it from the $_COOKIE variable.
Solution C1: In the Runner.php I did do this with:
$sessionName = $this->sessionOptions['name'] ?? \session_name();
$requestSessionId = $sfRequest->cookies->get($sessionName, '');
\session_id($requestSessionId);

Problem D: Use Symfony framework bundle options (solved)
As the runner is Symfony specific it should also use the Symfony Framework cookie configuration when it is set.
Solution D1: That the symfony configuration for the cookie is used, I booted once the kernel in the constructor to read the sessionOptions from it and use them to set the session cookie in the run method as seen above.
    /**
     * @var array<string, mixed>
     */
    private $sessionOptions;

    public function __construct(Kernel $kernel, ?HttpFoundationFactoryInterface $httpFoundationFactory = null, ?HttpMessageFactoryInterface $httpMessageFactory = null)
    {
        $this->kernel = $kernel;
        // ...

        $kernel->boot();
        $container = $kernel->getContainer();
        /** @var array<string, mixed> $sessionOptions */
        $this->sessionOptions = $container->getParameter('session.storage.options');
        $kernel->shutdown();
    }

Problem E: Write session only when really started or session id changed (unsolved)
Currently inside the Runner.php we don't know if a session is started or not this is because symfony does when calling session->save() inside the AbstractSessionListener, reseting the session state in its NativeSessionStorage. There would only be 1 hint that a session was started here which is the closed = true flag, sadly this variable is not exposed and so we never now in the Runner.php if a session was really started or not.
Solution E1: Symfony writes the session cookie at https://github.com/symfony/symfony/blob/bbb0a694fbbd5a527b2236636271a47122b5d47c/src/Symfony/Component/HttpKernel/EventListener/AbstractSessionListener.php#L110 when a specific option is enabled.
Problem F: Unset Session Cookie when destroyed or expired (unsolved)
Currently we know never when a session is getting destroyed or should be removed so Set-Cookie with deleted and expire 1970 is never called.
I currently have yet a solution for this, see Point 5. and 6. above when this happens

Could you confirm that this issue can be closed?

With the changes in Symfony 5.4 all cases seems to be fixed know 🎉


Add type checking in CI

We need to add a type checker to ensure that we provide type to functions parameters and returned values

Suggestions:

pyright
mypy


Initial steps for a german translation

Here are some of the first translation files for a german translation.
More to come...

wow! awesome!


Problem reading Exodus / NetCDF file generated by CUBIT 16.02.

I got the following bug report.
Hi Eric,
I saw that you did this build, maybe that's all you have to do with it, but I got an error plotting a Mesh or a mesh_quality/volume plot on a pretty simple Exodus / NetCDF file (34 quadratic tets) generated by CUBIT 16.02. Would you like the file or is this expected behavior?
The compute engine running on host rzgenie2.llnl.gov issued the following warning: Encountered netCDF error (-40, "NetCDF: Index exceeds dimension bound") after call to "nc_inq_dimid" at line 1657 in file "/usr/tmp/brugger/rztrona/visitbuild/visit3.3.1/src/databases/Exodus/avtExodusFileFormat.C"

I got the file and was able to replicate, getting the error message above when doing a Mesh plot.

What version of VisIt is the user running? If I look on develop around line 1657, I see https://github.com/visit-dav/visit/blob/c4ef565ed2d62843673db6c81371941d424077ff/src/databases/Exodus/avtExodusFileFormat.C#L1654-L1658
This is logic where the plugin is trying to get the list of times from the file. And, I note an obvious cut-n-paste bug in that code. It just called nc_get_var_double but then is doing an error check for nc_inq_dim. So, VisItNCErr is obviously in the error state but the message it is printing is not correct and misleading.


selected bubble bug

When clicking a bubble it gets selected, and the other bubbles show with lower alpha. But the effect doesn't happen until I move times-slider . It shows that clicking the bubble is doesn't trigger a re-render bubbles, after setting the state value correctly.  ( the same goes for deselecting)

done


License update

Hi, can I use this library on my commercial website without any problems?

My guess is that this question would be best aimed at Highcharts.

Yes, we're using MIT


Make some compiler types serde-serializable

Especially for checked Name it would be great if you could use it in a serde (de)serializable structure and get the name value checked during deserialization.
Const values could maybe be deserializable as well, see also https://github.com/apollographql/apollo-rs/issues/717 (for non-const values, we'd need a way to pass in variable values, so supporting serde would probably not be possible)
Other types?

I don’t think there’s a problem with non-const AST values. Value::Variable contains the name of the referenced variable, we can (de)serialize that.
(PR upcoming doing that)

Ah yes. I think what I meant was actually unrelated to this issue. It was about deriving Deserialize for custom structs and using that with a custom deserializer to parse argument Values into Rust types, which would need to handle variables, but that's doesn't need to be a problem (eg. the api could be let s: MyStruct = apollo_rs::serde::from_arguments(&arguments, &variables))


Issues with Gossip

Nodes are not discovering one another. It seems that Gossip is not propagating correctly. We added restrictions on the gossip and it seems to have cause issues with discovery and DHT peers.

This ticket was resolved with the network configuration in GCP. This is deployed.
There are other issues of interest but I will create new tickets for those.


nbconvert.preprocessors.ExecutePreprocessor() causes NoSuchKernel exception

I gather (from the successfully closed issues #1511, #1498 and #1489) that IPython and nbconvert are installed in a quite recent version on readthedocs.org, which is great!
However, when I try to use nbconvert.preprocessors.ExecutePreprocessor() (which should use a plain old IPython kernel), I get a NoSuchKernel exception.
This is one of my failed build attempts: http://readthedocs.org/projects/sfs/builds/3498275/
I have ipython[nbconvert,nbformat] in my requirements.txtand I have both "Install your project inside a virtualenv using setup.py install" and "Give the virtual environment access to the global site-packages dir" switched on. And I've kept the default CPython 2.x, if that matters.
What am I doing wrong?
Do I have to install further packages?

OK, I think I know now what's the problem:
I was running Python 2.x on readthedocs, but the notebook I was converting was using IPython 3.
Strangely, the NoSuchKernel exception didn't provide any details, in retrospect I would have expected something like NoSuchKernel: 'python3'.
Anyway, is there a way to install packages for Python 3 if Python 2.x is selected in the readthedocs settings?
Or vice versa?
For now I'm OK with manually making sure that I use only one and the same version, but probably there is a non-complicated general solution for that?

No, i don't believe that is a possibility, at least not with our configuration. We don't make any distinction during installation whether your requirements are for py2/3. We would also need to possibly create a python3 virtualenv on top of the py2 virtualenv. Are you able to just use a py3 virtualenv?

Yes, thanks, I'm totally fine with using Python 3 for both the virtualenv and the notebooks.
I just wanted to ask if there is probably a simple solution which I didn't know of.
I'm closing this ...


feat: Add example of how to use codegen without gql clients

#371  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Typed Relation + Inline Entity Form

New issue, spun off #1685, specific to making the "typed relation" field able to work with Inline Entity Forms.

This is for us to discuss our technical details for our implementation of inline entity form for typed relation fields.


refactor(test): remove duplicated repeatability header test case from traits

Problem
The test case in azure/core/traits should be removed or moved to special-headers/repetability.

test case in azure/core/traits: https://github.com/Azure/cadl-ranch/blob/535e7b7d8172b32f5c39d60265b62bdb6965cfe9/packages/cadl-ranch-specs/http/azure/core/traits/main.tsp#L102-L125
test case in special-headers/repeatability: https://github.com/Azure/cadl-ranch/blob/535e7b7d8172b32f5c39d60265b62bdb6965cfe9/packages/cadl-ranch-specs/http/special-headers/repeatability/main.tsp#L24-L39

close this issue, since the test case added in trait is for Traits testing. Actually those 2 test cases were added in one PR: https://github.com/Azure/cadl-ranch/pull/348


GPU Memory Issue in Recursor

Hello,
I encountered a strange memory issue when using Recursor to decorate non-AbstractRecurrent modules.  My test code can be found here.
I want to process a sequence of images using a recurrent network. To test the memory issue, I only use a few spatial convolution layers in the model. Because there are non-AbstractRecurrent, I decorate the module with Recursor( ). (Note: This model is only for test, so contains only simple non-AbstractRecurrent layers to simplify the problem.)
In each iteration of training, I feed the model a sequence of images. I use multiple forward pass and then multiple backward pass in the reverse order. I observe the following GPU memory usage. It seems like most of the memory (i.e., 10GB out of 12GB) is consumed in the first iteration. It is really hard for me to understand what is this big portion of memory used for.
Total Memory:<PHONE_NUMBER>0
Iteration 1:
available<PHONE_NUMBER>8 -- before forward
available<PHONE_NUMBER>  -- after the 1st backward
available<PHONE_NUMBER>  -- after the 2nd backward
available<PHONE_NUMBER>  -- after the 3rd backward
available<PHONE_NUMBER>  -- after the 4th backward
available<PHONE_NUMBER>  -- after the 5th backward
Iteration 2:
available<PHONE_NUMBER>  -- before forward
available<PHONE_NUMBER>  -- after the 1st backward
available<PHONE_NUMBER>  -- after the 2nd backward
available<PHONE_NUMBER>  -- after the 3rd backward
available<PHONE_NUMBER>  -- after the 4th backward
available<PHONE_NUMBER>  -- after the 5th backward
Iteration 3:
available<PHONE_NUMBER>  -- before forward
available<PHONE_NUMBER>  -- after the 1st backward
available<PHONE_NUMBER>  -- after the 2nd backward
available<PHONE_NUMBER>  -- after the 3rd backward
available<PHONE_NUMBER>  -- after the 4th backward
available<PHONE_NUMBER>  -- after the 5th backward
Thanks!
Jianxu

@jxchen01 I haven't been able to completely reproduce your code as I am missing cudnn and access to a 12GB GPU :) . However, looking at your model, it seems that it would make sense that it is consuming so much memory. The cnn has 1024 channels at some point, and the input image size is 180 x 180. With a sequence length of 20, you need 20 copies of the intermediate output/gradInput buffers the entire cnn. These buffers are only initialized when calling forward/backward. I think this might explain a lot of your memory consumption.
A workaround is to break your sequences into smaller sub-sequences, wrapping your Recursor into a Sequencer, and calling remember() on it. Only call forget at the end of the entire sequence.

@nicholas-leonard Thanks for your suggestion.
Another version of this test without cudnn can be found here. It is easy to change the value of imageSize (line 29) to reduce the image size in order to fit into available memory.
(1) I am only processing a small sub-sequence, say length 3, out of the whole sequence (30 images).  Due to the memory issue, I cannot increase the sub-sequence length to 6 or 8 in the full model (more complicated than the test one). That's why I want to resolve this issue.
(2) Decorating with Sequencer() is a little more efficient than Recursor(). For example, the available memory at each stage is
Using Recursor():
Iteration 1:  12GB-->3GB
Iteration 2:  3GB -->1GB
Iteration 3: 1GB --> 1GB
Using Sequencer()
Iteration 1: 12GB  --> 3.3GB
Iteration 2: 3.3GB --> 3.3GB
Iteration 3: 3.3GB --> 3.3GB
Question:
I tried forget() and recycle() after finishing each whole sequence. But, very tiny memory can be freed (less than 0.2GB). Is there any way I can free the buffers?
Thanks!
Jianxu


Bump Dependencies #21

Bumps dependencies for ${REPOSITORY}.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-is-staging seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

identity.server.api.version is already at a higher version in the master branch.


HLS search : wr 64B aligned words in DDR - HLS checksum : saving benchmark code

…code
Signed-off-by: Bruno Mesnet<EMAIL_ADDRESS>

@jsvogt One of the changes broke the software build test.

The sponge build needs now the setting SDRAM_USED=FALSE (as well as the BFS)

I changed the SDRAM_USED=FALSE parameter in jenkins but couldn't change the name DDR3 in the build name

Joerg K. and I reviewed the config of the sim test case and changed some things. Let's see if the tests will start working after doing that.


Add missing Japanese error messages

I added Japanese error messages.

Coverage remained the same at 90.947% when pulling c5a8fc679b28e601af6ff1fa65ce4d9ae82f29e6 on takahi-i:add-missing-messages into ae36ba02a63355d1d73f3dee9fa9190a475614e2 on redpen-cc:master.


allow wildcards for greylisting packages

I can see this being super handy for cases when you know that all packages within e.g. a given GitHub organisation will always be allowed.
I'm little unsure about the naming for the package I made in the test fixtures, but couldn't think of something better I'm afraid.

We never ended up using this and therefore didn't need the feature. Feel free to close this if you don't want it :goat:


Node 8.0

Hello it seems this package is not working with the new node 8.0 version ;
Error at building
'error: no member named 'GetMirror' in 'v8::Debug'
v8::Debug::GetMirror(info.GetIsolate()->GetCurrentContext(), info[0]);'

Node8 brings a big break change in the debug api which is too difficult to implement in Node Inspector.  Besides it provides a built-in DevTools-based debugger which mostly deprecates Node Inspector. So basically you can just use the built-in debugger tools. https://nodejs.org/en/docs/inspector/

It's not true that we can just use the built-in debugger tools because of the unresolved issue of VM contexts https://github.com/nodejs/node/issues/7593
There are some codebases that still require node-inspector like Ember-Fastboot

The built-in node 8 inspector fails to provide an interface for viewing the Network traffic originated by the application.
I have used that feature of node-inspector numerous times and am very sad to see that it is not available from the built-in inspector.
I would say it definitely does not deprecate Node inspector entirely, but I understand that it is a huge effort to update to the new APIs.

If I can offer a slight suggestion: maybe, just... maybe, it's good to include this info on the front page of the README.MD. So people can like, find that information and stuff. You know ehh, so they don't have to dig through issues to find out something trivial such as the most recent version of node-inspector not working with the most recent version of node. which is kind of neat, right ?
ffs


Keycloak: Configure Realm

Context
Basic settings for Apollusia realm with Social Identity Providers.

@Morphclue is anyone doing this ? if not can i get assigned this

@007jithinjose Yeah, I'm currently assigned and will implement it the next days since I will link it to my Dev Accounts for the social providers.

ok thanks for info


Printers always report as changed

Every time the playbook is run, it always reports two changes: the printers. Could HP41/ansible-cups help?

ansible-cups appears to wrap the lpadmin/lpstat commands under the hood, and I'm not sure how I feel about importing modules at this point. Something like this crudely silences the change notice:
- name: Add printers
  shell: >
    lpstat -p "{{ item.name }}" ||
    lpadmin -p "{{ item.name }}" -E
    -v "{{ item.queue }}"
    -L "{{ item.descr }}"
    -m "drv:///sample.drv/generic.ppd"
    -o "Duplex=DuplexNoTumble"
    -o "Option1=True"
    -o "printer-is-shared=false"
  register: lpstat_result
  changed_when: '"Invalid destination name" in lpstat_result.stderr'
  with_items: "{{ printers }}"


Mysql - username with '@' results in authentication error

version = "0.4.0-beta.1"
#[tokio::main]
async fn main() -> anyhow::Result<()>
{
    dotenv().ok();
    let pool = MySqlPool::connect(&env::var("DATABASE_URL")?).await?;

Same connection string in previous version worked fine.

it works fine in version = "0.3.0"


Temporary fix for the geometry feed in spotlights

Done by Azaezel
Spotlights were breaking depending of the angle and distance after a certain radius.
Preview:

Why do you keep repeating the same PR over and over again?

Why do you keep repeating the same PR over and over again?

I'm not used to do anything using Github, the bot keeps throwing an error and i don't know where is the problem
Sorry for all of  that heh


[Blueprint] Document-oriented NoSQL database EP026

Fixes #171.
This blueprint presents requirements and features that a document-oriented NoSQL database must have in order to be considered a canonical recommended document-oriented storage for NApps that need this kind of storage.
In addition to the development next steps mentioned in this document, we'll need to align at AmLight how to maintain the deployment and backup approach the team will go for.
Let me know your thoughts and if you have any other suggestions.

Thanks for these commits and suggestions, @ajoaoff

Since no further points have been raised and this PR #202, I'll go ahead and merge this current PR, if there's any other point that someone wants to add in the blueprint we can still augment in another PR during this kytos-ng version.


Add guidelines for bumping API version of a CRD

Signed-off-by: Muvaffak Onus<EMAIL_ADDRESS>
Description of your changes
I've been using these steps to bump various CRDs to v1beta1. Having the steps documented will help others to make similar changes.
I'll polish it a bit and mark it as ready for review.

Fixes #
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested
Running through the steps for a number of resources.

@muvaf can we merge the Guide ? Thanks

@muvaf can we merge this PR ?


Re-implement front-end UI using React.js

This will likely be a multi-stage effort. It will require back-end to be re-implemented as REST API.

This is broad and been superseded by more specific implementation specifications (see #236). Additionally, the infrastructure for REST APIs and React components within the app has since been implemented. Closing.


Get statistics metadata

Is it possible to get the statistics metadata on a per-file basis?  In particular I'm looking for the min/max/null_count for each column for each file.  This data is available in the json files, but as far as I can tell from looking through the docs and poking around the API it isn't readily available through the Python API (I'd love to be wrong here though)

I think what you are looking for is under DeltaTable()._table.dataset_partitions()

Oh cool.  Thanks for the pointer.  That gets me closer.  Here's what I'm getting
import deltalake
t = deltalake.DeltaTable("mytable")
filename, info = t._table.dataset_partitions(t.schema().to_pyarrow())[0]
info

<pyarrow.compute.Expression ((((((((((((((((((date == 2024-01-03) and is_valid(username)) and is_valid(repo)) and is_valid(sha)) and is_valid(message)) and is_valid(created_at)) and (username >= "000600")) and (repo >= "0-vortex/0-vortex")) and (sha >= "00002c6c6353df7b4429ea6f4ca8f7674df6e8a0")) and (message >= "")) and (created_at >= 2024-01-03 04:00:00.000000)) and (date >= null[date32[day]])) and (username <= "zzzzseong")) and (repo <= "zzzzseong/algorithm")) and (sha <= "ffff8a90f31cba8f163fdd723c3451a04a8c39a2")) and (message <= "🩺 Checked PDS Health")) and (created_at <= 2024-01-03 05:59:59.000000)) and (date <= null[date32[day]]))>

So clearly the stuff I want is in there, however I'm not sure that it's actually programatically accessible from Python.  I guess I could raise this upstream with PyArrow to ask for compute expressions to be more introspectable, but this seems like the wrong path.
Any further thoughts, aside from parsing the string repr?

maybe you are looking for get_add_actions
https://delta-io.github.io/delta-rs/usage/examining-table/

Oh cool.  Yes, that seems like it likely has the information that I'm looking for.  Thank you @sherlockbeard !


Camera functions not working

Is this a bug report?
(write your answer here)

Have you read the Installation Instructions?
(Write your answer here.)
Environment

Steps to Reproduce

(Write your steps here:)

Expected Behavior

(Write what you thought would happen.)
Actual Behavior

(Write what happened. Add screenshots!)
Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

Nothing in the camera function is working. It shows undefined when I getCamera()
Does anyone have any suggestions??

Empty issue template, closing


Why is float's default precision only 2 decimal places?

At https://github.com/laravel/framework/blob/master/src/Illuminate/Database/Schema/Blueprint.php#L505 the default precision of float is set to 8 digits, 2 max after the decimal place. This is absolutely bizarre. That's the kind of thing decimal is used for. When I want a float I want a huge amount of precision (or double for even more of course), and I see no reason for the framework to presume 2 decimal places is enough.

Is this case still open? I tried changing float length from 2 to 8 positions accuracy in order to be able to store latitude and longitude values according to googles mysql guidelines, but float doesn't seem to support these length parameters in schema builder

Let's just assume that for some reason doubles are always better than floats. If I want a double, I would have asked for one. Why is laravel forcing me to use a double? It's like going into McDonalds and asking for a hamburger but give you a salad because its better for you. Can't I just get a float? What's the rationale here?

+1 - if you need a double, you have a double, but float should always imply the float type.  Yes, there are dangers with using the float if you don't know what you are doing, but there are cases where you want to use the float when you do, and it is annoying to have to create a raw query in the  migration when you have the float migration type right there.  Not sure how it can be fixed since it would break backwards compatibility, though.

How is this still an issue? Float is float, double is double, they're different. MySQL obviously recognizes that cause they made 2 different types that behave in 2 different ways. So why make float a double?

How is this still an issue? Float is float, double is double, they're different. MySQL obviously recognizes that cause they made 2 different types that behave in 2 different ways. So why make float a double?

Laravel isn't "making a float a double". I think perhaps "double" dosen't mean what you think it does.

Laravel isn't "making a float a double"

Yes it is :-(
When this issue was created (laravel 4), floats were created as decimals.  (See my post above)
	protected function typeFloat(Fluent $column)
	{
		return "float({$column->total}, {$column->places})";
	}

But since Laravel 5.0, it creates them as doubles:
    protected function typeFloat(Fluent $column)
    {
        return $this->typeDouble($column);
    }

    protected function typeDouble(Fluent $column)
    {
        if ($column->total && $column->places) {
            return "double({$column->total}, {$column->places})";
        }
        return 'double';
    }

Where is that code?
The code I linked to when I opened this ticket (haha, four years ago!) doesn't look it has changed: it still has the same default arguments of 8 and 2.
If in some deeper part of code these arguments are ignored and a double is being used, I'd consider this closed. As long as the default doesn't only have two decimal places of precision...

Where is that code?

https://github.com/laravel/framework/blob/5.5/src/Illuminate/Database/Schema/Grammars/MySqlGrammar.php

Oh, so nothing has changed. Whether it's float(m, d) or double(m, d), it's still a fixed number of digits total and a fixed number of digits after the decimal point. Can null be passed instead to use mysql's default? (i.e. double() rather than double(m, d))

As long as the default doesn't only have two decimal places of precision

The defaults have not changed.
To get an IEEE double, you must specify a precision of 0 - i.e. $table->double('foo', 0);
There is still no way to get an IEEE float.

Ok, so there's a way to get a reasonable floating point data type without using raw SQL statements. That really should be default, in my opinion, hence this ticket.
I personally don't mind getting a double rather than a float. What's a use case where you'd need a float instead of a double?

What's a use case where you'd need a float instead of a double?

Latitude/longitude.
An IEEE float gives a resolution of 9 decimal digits (i.e. centimeters).
This is perfect for real-world applications (map locations, GPS co-ordinates, etc.)
An IEEE double gives a resolution of 17 decimal digits (i.e. angstrom).
This is a pointless waste of database storage.

This is extremely counter-intuitive behavior -- if you use a float on (for example) mysql, you expect to get a mysql float.  Instead I'm getting a mysql double (uses 8 bytes) which can hold less information than a float.
How could using 8 bytes to hold less than 4 bytes worth of information be correct behavior?
From the Mysql documentation:

For maximum portability, code requiring storage of approximate numeric data values should use FLOAT or DOUBLE PRECISION with no specification of precision or number of digits.

Yeah, I quoted the same thing over four years ago...

Hah, yeah :-) I noticed that after I posted.
Perhaps a more compelling reason is more theoretical -- a very general rule of programming is that throwing away information is bad and should only be done for a very good reason.
In this case, we're throwing away information for no good reason.
If the user puts in 0.0008, then we should store  0.0008 (up to the precision of the float) rather than storing 0.00, which is what is happening now.

The laravel 5.6 documentation (and every previous version) says that $table->float() will give you a FLOAT column.

$table->double('amount', 8, 2); DOUBLE equivalent column with a precision (total digits) and scale (decimal digits).

$table->float('amount', 8, 2); FLOAT equivalent column with a precision (total digits) and scale (decimal digits).

It is no wonder that people keep raising this as a bug - it clearly doesn't work as documented!
Yet every bug report gets closed and refered back to https://github.com/laravel/framework/issues/9103 where we are told that this is working as designed, and refered to commit https://github.com/laravel/framework/commit/0c0a717052d8326e7e032e5181019b91926b76a8 which has the cryptic message "Tweak column mapping a bit."
We are also told to take it up on the forum, which doesn't really add anything to the discussion.
I offered to write a PR in 2014.  The offer still stands.

There are plenty of times that a double should be used instead of float.  But there are plenty of times you need a float.  Anything statistics-related, engineering-related, etc ... there is a reason that MySQL differentiates these types.
I rarely disagree with a design decision in Laravel, but I have to say this is a terrible, terrible design decision.  PLEASE give us the ability to make a FLOAT data type without resorting to use raw queries!

I think the main problem here is that when you add $table->float() you're
expecting a float because its documented as a float and more importantly
the function is labeled float in and most relational DB's float is
different than decimal / double. For 1, its only 4 bytes, vs decimal is 8
bytes at least but also in laravel it has a default value for precision
that is 4 decimal places. Floats are expected to have the float precision.
So when you go in as a dev and use float you expect to be able to store
something like a latitude / longitude without having to specify FLOAT
precision because you don't need to specify float precision in most
relational databases.
On Thu, Mar 22, 2018 at 8:53 AM, J David Baker<EMAIL_ADDRESS>wrote:

There are plenty of times that a double should be used instead of float.
But there are plenty of times you need a float. Anything
statistics-related, engineering-related, etc ... there is a reason that
MySQL differentiates these types.
I rarely disagree with a design decision in Laravel, but I have to say
this is a terrible, terrible design decision. PLEASE give us the ability to
make a FLOAT data type without resorting to use raw queries!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/laravel/framework/issues/3151#issuecomment-375334729,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEJjBQARqGFunBDjXfH8qSZQ0NWp29buks5tg7r2gaJpZM4BXyY1
.

I think is weird to tell the framework to add a float column without specifying decimal precision, and getting instead ad double(8,2) with only two decimal places and then getting a load of bug reports of users being unable to store his arbitrary precision values.
The framework should not take decisions like that, we, users of the framework, are all developers and it's assumed we know what we're doing and so we should be able to get a float when we ask for a float.

maybe a solution would be to remove "float" and "double" entirely and instead add something like:
"laravel_small_float" and "laravel_big_float" and that way it'll force the developer to look at the definitions to see if what is offered is appropriate? Then Laravel can give whatever definition makes Taylor Otwell happiest and no one can complain about unintuitive behavior....

@dsandber I think that would break thinks even more. I would make the framework give what the developer expects and also the documentation had to be clarified, because of the word equivalent: a FLOAT equivalent is not a value with a fixed decimal precision, at least not on Mysql.

@underdpt Don't forget, Laravel is built to work with many databases, not just MySQL.  Presumably other databases have a different concept of "float" and "double".  That is probably why Taylor did this otherwise counter-intuitive thing.
IMHO there's basically three choices:

Float and Double mean whatever they mean in the underlying DB.  This creates problems with DB portability -- eloquent is meant to be an abstraction to hide the details of the underlying DB.
Float and Double mean arbitrary things.  This is the current situation but leads to unintuitive behavior.
ArbitraryName1 and ArbitraryName2 mean arbitrary things.  This would be at least not be counter-intuitive.

Presumably other databases have a different concept of "float" and "double"

FLOAT and DOUBLE are ANSI-standard SQL.

Postgres - https://www.postgresql.org/docs/9.0/static/datatype-numeric.html
MySQL - https://dev.mysql.com/doc/refman/5.7/en/floating-point-types.html
MSSQL - https://docs.microsoft.com/en-us/sql/t-sql/data-types/float-and-real-transact-sql?view=sql-server-2017

SQLite only has a few data types, and uses 8 bytes (i.e. DOUBLE) for all floating point data.

4 years later this is still an issue. I though I was creating a float column but alas it was a double.

This ticket was about a precision of two decimal places being assigned as default when the query builder is asked for a float. It was closed by the project maintainer. This still doesn't make sense to me but I'm not going to fight about it, especially since I haven't used Laravel in a few years now.
However, the discussion about float vs double came later, and is not the intended subject of this ticket. I suggest one of you who cares about float vs double opens a new ticket about it.

I suggest one of you who cares about float vs double opens a new ticket about it.

You mean like we did in:

#7298 - told that the decision to create doubles instead of floats was deliberate
#9089 - closed without comment by @GrahamCampbell
#9103 - closed without comment by @GrahamCampbell
#13258 - closed without comment by @GrahamCampbell
#18776 - closed by @themsaid with a reference to #9103
#21032 - closed by @themsaid with a reference to #9103
#21827 - closed by @themsaid with instructions to "search the forum"
...and probably many others

Raising new tickets is utterly pointless :-(
This is quite clearly a bug - it is not working as per documentation! - see my comments above on 21 Mar 2018.
I've offered to create a PR to fix it several times.  The offer still stands.
The reason people keep commenting on this particular issue is that it contains the most comprehensive description of the problem and summary of the situation.

Ok, no need to talk about it in this closed, unrelated ticket then.

Actually I wasn’t very clear in my comment. I was trying to create a float field without precision but it ended up with a double with precision.  Completely the opposite of what would be expected.

Sorry, @fisharebest, I responded above as soon as I saw the list of ticket references, I didn't get to the bottom of your comment. I feel your pain; I still think there's not much point commenting here though.

Hey everyone, just want to let you know that I've looked into this and I believe we indeed need to add a few fixes here and there. I've started an issue in the ideas repo to collect all the places across the different grammars which should be fixed. I've also voiced my concern there how this will affect almost every app using them. Please take a look and help pinpoint the ones which are off: https://github.com/laravel/ideas/issues/1527
Also want to note that this is an issue which we should tread with the most highest care and take our time and not rush things. So don't expect a solution soon. But let's take a look at how we can go further.

FYI, I already wrote a package to "fix" this problem.
I've just published it - https://github.com/fisharebest/laravel-floats
Just run composer require fisharebest/laravel-floats and your floating point fields will start working as expected.

Sounds like that fixes the weird default fixed precision issue as well as the float vs double issue. Haven't tried it (not using Laravel currently) but it looks great from the readme.

works great @fisharebest
thanks!

https://github.com/likemusic/laravel-mysql-float - a little bit improved (than fisharebest/laravel-floats) implementation float columns for MySql in Laravel's migrations.

#48861


fix: conflicting chunk names for workers with dynamic imports (fix #10057)

Description

This isn't perfect though, if the user wants to override the output
names using worker.rollupOptions.output, he doesn't have access to the
workerName as we have, as it's not a real Rollup placeholder
Additional context

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the PR Title Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Is there a repro we can test it out, or an added test in the PR? Want to confirm the cases where the issue could happen.


Landscape orientations

I want my UWP app to support only Landscape orientations, but I have the same problem https://social.msdn.microsoft.com/Forums/windowsapps/en-US/920c9373-a471-4773-a482-0cf19dea6ad1/uwp-orientation-lock-not-working-for-a-uwp-app-on-a-tablet?forum=wpdevelop
I've tried to run this sample ( DisplayOrientation - https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/DisplayOrientation ) on two devices - phone and tablet.
It works fine on phone, but it absolutely doesn't work on tablet.

On PC, orientation preferences are respected in tablet mode when the app is the only one on the screen. It doesn't make sense to enforce orientation preferences when there are multiple apps on the screen, because each app may have a different preference.

I've already run my app on my tablet in 'Tablet Mode'. It doesn't work either. Also, I've tried to run my app in 'Kiosk Mode (Assigned Access mode)' - I've got the same result :( It doesn't work.

Yep, it doesn't work.
Just checked on Surface Pro 3, Windows v1607

I just tried it on my Surface 3 and v1703.


Method 56 may not work

I test method 56 on windows10 18363.
But only run WSReset.exe，cmd.exe doesn't run.
And I find WSReset.exe doesn't query the registry value HKEY_CURRENT_USER\Software\Classes\AppX82a6gwre4fdg3bt635tn5ctqjf8msdd2\Shell\open\command by using procmon.

Could be. This method since beginning was questionable. As usual in this case, later I will do tests on clean install of 18363 and if it works for me then I will close this issue. If it does not work somewhere then this method will be marked as fixed.

Could be. This method since beginning was questionable. As usual in this case, later I will do tests on clean install of 18363 and if it works for me then I will close this issue. If it does not work somewhere then this method will be marked as fixed.

I'm unable to reproduce your report on fresh install of 18363 nor on patched 18363.1256. I guess this is somewhat related to your system configuration / type. As original author of this method never bothered to figure out exact description of how this exploit works and what exactly triggers it, I can't provide any further details too as digging into that method has no sense due to wide range of better methods available.

I'm unable to reproduce your report on fresh install of 18363 nor on patched 18363.1256. I guess this is somewhat related to your system configuration / type. As original author of this method never bothered to figure out exact description of how this exploit works and what exactly triggers it, I can't provide any further details too as digging into that method has no sense due to wide range of better methods available.

Does it mean that method 56 doesn't work on your windows 18363?
Thanks for your reply!

Does it mean that method 56 doesn't work on your windows 18363?
Thanks for your reply!

No, it works well here on both fresh and full patch installs of 18363.

No, it works well here on both fresh and full patch installs of 18363.

Ok, maybe I made something wrong on somewhere.
Thanks!

Ok, maybe I made something wrong on somewhere.
Thanks!


Vague/confusing connection gateway template values

🛑 IMPORTANT: You can get your feedback addressed faster if you use the comment section for the article in which you encountered a problem.
Link to article:
https://docs.microsoft.com/en-us/azure/templates/microsoft.web/2016-06-01/connectiongateways
Problem:
What are ConnectionGatewayDefinitionProperties and ConnectionGatewayReference objects? ConnectionGatewayDefinitionProperties seems to describe the specific machine the on-premises data gateway is installed, but the ConnectionGatewayReference object describes some sort of resource. Is this the same resource as the connection gateway that is being deployed via this specific template? If so, why are there type, location, and name fields when those already exist in the Microsoft.Web/connectionGateways object?

@tfitzmac could you please help with this customer question?


swipe enabled ={true} not swipe between tabs

IMPORTANT: There are additional steps required for react-native-gesture-handler on Android after linking. Check the this guide to complete the installation.

Just  Add the Above .
@sfshine  You are the best!!  I solve it.


i'am use put encounter 'Could not create file';

[connection] < '220 (vsFTPd 2.0.5)\r\n'
[parser] < '220 (vsFTPd 2.0.5)\r\n'
[parser] Response: code=220, buffer='(vsFTPd 2.0.5)'
[connection] > 'USER zgb'
[connection] < '331 Please specify the password.\r\n'
[parser] < '331 Please specify the password.\r\n'
[parser] Response: code=331, buffer='Please specify the password.'
[connection] > 'PASS Zgb4399'
[connection] < '230 Login successful.\r\n'
[parser] < '230 Login successful.\r\n'
[parser] Response: code=230, buffer='Login successful.'
[connection] > 'FEAT'
[connection] < '211-Features:\r\n EPRT\r\n EPSV\r\n'
[connection] < ' MDTM\r\n PASV\r\n REST STREAM\r\n SIZE\r\n TVFS\r\n UTF8\r\n211 End\r\n'
[parser] < '211-Features:\r\n EPRT\r\n EPSV\r\n MDTM\r\n PASV\r\n REST STREAM\r\n SIZE\r\n TVFS\r\n UTF8\r\n211 End\r\n'
[parser] Response: code=211, buffer='Features:\r\n EPRT\r\n EPSV\r\n MDTM\r\n PASV\r\n REST STREAM\r\n SIZE\r\n TVFS\r\n UTF8\r\nEnd'
[connection] > 'TYPE I'
[connection] < '200 Switching to Binary mode.\r\n'
[parser] < '200 Switching to Binary mode.\r\n'
[parser] Response: code=200, buffer='Switching to Binary mode.'
/Users/caozhihui/Desktop/code/web/module/androidMobile/resource/release/index.css
[connection] > 'PASV'
[connection] < '227 Entering Passive Mode (192,168,51,203,213,48)\r\n'
[parser] < '227 Entering Passive Mode (192,168,51,203,213,48)\r\n'
[parser] Response: code=227, buffer='Entering Passive Mode (192,168,51,203,213,48)'
[connection] PASV socket connected
[connection] > 'LIST'
[connection] < '150 Here comes the directory listing.\r\n'
[parser] < '150 Here comes the directory listing.\r\n'
[parser] Response: code=150, buffer='Here comes the directory listing.'
[connection] < '226 Directory send OK.\r\n'
[parser] < '226 Directory send OK.\r\n'
[parser] Response: code=226, buffer='Directory send OK.'
{ type: 'd',
name: 'www.4399.cn',
target: undefined,
sticky: false,
rights: { user: 'rwx', group: 'rwx', other: 'rwx' },
acl: false,
owner: '0',
group: '0',
size: 4096,
date: 2014-06-27T00:00:00.000Z }
[connection] > 'PASV'
[connection] < '227 Entering Passive Mode (192,168,51,203,157,117)\r\n'
[parser] < '227 Entering Passive Mode (192,168,51,203,157,117)\r\n'
[parser] Response: code=227, buffer='Entering Passive Mode (192,168,51,203,157,117)'
[connection] PASV socket connected
[connection] > 'STOR ./foo.remote-copy.txt'
[connection] < '553 Could not create file.\r\n'
[parser] < '553 Could not create file.\r\n'

I have a same problem, but my webstorm can upload files to same remote dir.

I have a same problem,but it is successful with FLASHFXP

I think you simply have no right to upload to the root folder. Use cwd function:
c.on('ready', function() {
  c.cwd('www.4399.cn', function() {
    c.put('foo.txt', 'foo.remote-copy.txt', function(err) {
        if (err) throw err;
        c.end();
      });
  });
});

我也遇到了同样的问题,无法新建文件夹,你们解决了吗,求告知
I have the same problem. I cannot create a new folder. Have you solved it? Please let me know

I have the same problem and I find that I think the file in FTP server is the remote file but it's the local file in the method, so maybe you can try to exchange the location of the parameters.


AArch64 Neon float16x4

As I understand, currently xsimd does not support vectors of 16-bit floats. Their support has been recently added by AVX512-FP16, but I'm particularly interested in float16x4 of ARM Neon. What would be the best way to implement it, I appreciate your recommendations!

Let get the ball rolling. And please correct me when I'm wrong / inaccurante.
From my (quick) bibliography, _Float16 is the defacto standard for generic half floats, so we could use that as batch parametric type. It's supported on arm and AVX512-FP16. Looks like SVE also has (some) support for it.
Most of our math routines are generic, so once we implement the trivial operations (arithmetic etc) we should already have part of the job done.
Looks like there's not much we can do for avx2 and before.
Is this correct?

Alternatively, we could provide xsimd::float16 as a scalar type that maps to the appropriate type when available.


Feature

Can a feature like this be implemented with a WP website?

It would require some work, and unfortunately I won't have much time for it. But theoretically yes, of course, it can be integrated into Wordpress.

great thanks for the reply


INDArray serialization on views broken (x86 backend)

The following code fails on x86 backend. The issue seems to be specifically due to serialization on views (issue is also impacting spark training).
    @Test
    public void testSerialization() throws Exception {

        INDArray[] arr = new INDArray[]{
                Nd4j.ones(1,10),
                Nd4j.ones(5,10).getRow(2)
        };

        for( INDArray a : arr ){
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            try(ObjectOutputStream oos = new ObjectOutputStream(baos)){
                oos.writeObject(a);
            }

            byte[] bytes = baos.toByteArray();

            ByteArrayInputStream bais = new ByteArrayInputStream(bytes);
            ObjectInputStream ois = new ObjectInputStream(bais);

            INDArray aDeserialized = (INDArray)ois.readObject();

            System.out.println(aDeserialized);
            assertEquals(Nd4j.ones(1,10),aDeserialized);
        }
    }

Update: This appears to be a problem with the DataBuffer length. The FloatBuffer on the getRow view should have a length of 10, but has a length of 30:

I believe the cause of the incorrect length value is the Nd4j.createBuffer(DataBuffer,int) method: https://github.com/deeplearning4j/nd4j/blob/master/nd4j-api/src/main/java/org/nd4j/linalg/factory/Nd4j.java#L956-956
The underlying length is 50 (5x10) and the offset 20 (3rd row) resulting in a length of 30 for the row, not the correct value of 10.

https://github.com/deeplearning4j/nd4j/pull/620


add tests for panicky drop in thread_local destructor

Adds a test for https://github.com/rust-lang/rust/issues/112285

@bors r+

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

:hourglass: Testing commit 4e598b886c8ac2f6d2b63c32ed0773ca6568c058 with merge 4f1b5fff6d935dea392d512e55ffb73812f90bf3...

:broken_heart: Test failed - checks-actions

@bors r+

:pushpin: Commit ad615b64839e7868df04794a1f74cb9cdc83289a has been approved by RalfJung
It is now in the queue for this repository.

:hourglass: Testing commit ad615b64839e7868df04794a1f74cb9cdc83289a with merge 5a668459eda8e16111cca85d91ed3b3b37d678db...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing 5a668459eda8e16111cca85d91ed3b3b37d678db to master...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing 5a668459eda8e16111cca85d91ed3b3b37d678db to master...


Importing frames from different machine

I have been able to find a frames file on my Linux machine, however on the Mac I am unable to find a corresponding file. Is it named differently on Mac? Is there a more convenient way to import frames files?

You can import a frame file using the merge command [1]. Your frame files is placed in Watson's configuration directory, e.g. something like ~/Library/Application Support/watson for MacOSX [2].
[1] http://tailordev.github.io/Watson/user-guide/commands/#merge
[2] http://tailordev.github.io/Watson/user-guide/configuration/


Update schema.ts

simplifying the code.

Thanks @vitaly-t ! Looks like some trailing space got caught by CI, could you make an update?

ok, I removed the extra empty lines it complained about, but what doesn't it like now? :)

It still complains about
><EMAIL_ADDRESS>lint /home/ubuntu/schemats
> tslint src/**/*.ts

src/schema.ts[12, 50]: trailing whitespace
src/schema.ts[20, 15]: trailing whitespace

You can run npm run lint locally to see these outputs

fixing trailing spaces - this isn't developer-friendly, in case you want more contributions ;)

True, disabling trailing space check on tslint.
Thanks for the help!


Fix style is not applied

It seems attribute values have to be wrapped by double quotations.

Thanks!


false Validation message while typing the value in receiving page

steps to produce :

go to wallet
choose a wallet
select receive
insert amount
notice the validation message

duplicate: https://github.com/threefoldtech/threefold_connect/issues/645


How can I create Geology surfaces files (*.ts *.vtp, and *.vtu files extensions in the Geology surface folder) for my study area?

I want to reproduce the results of the simPEG joint inversion technique with potential field data sets (gravity and magnetic) of my study area. But I do not know how to create geology surface feature files (*.ts *.vtp, and *.vtu files extensions in the Geology surface folder) for my study area. Please tell me which software should I use for creating geology surface files.
Any help would be appreciated

Hi @ramaarksuri,
The geology surfaces are not a requirement. Here, they are used to create the synthetic geology model to forward the synthetic observed gravity and magnetic data we will invert. Thus, if you are working with field data, you don't necessarily need geology surfaces (but it's always nice to have more information).
The surfaces were created by a colleague either with GOCAD, Paraview, or ANALYST. Check out the documentation of those softwares to know more.

@ramaarksuri , also, PGI now works with the main distribution of SimPEG, check out the tutorial: http://docs.simpeg.xyz/content/tutorials/13-pgi/index.html

Thank you
On Sat, Jul 10, 2021 at 9:23 PM Thibaut Astic @.***>
wrote:

@ramaarksuri https://github.com/ramaarksuri , also, PGI now works with
the main distribution of SimPEG, check out the tutorial:
http://docs.simpeg.xyz/content/tutorials/13-pgi/index.html
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/simpeg-research/Astic-2020-JointInversion/issues/5#issuecomment-877659489,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ45XTWL7K544RABW5TYNCDTXBUHLANCNFSM5AEBP2YA
.

--
With Regards
Rama Chandrudu Arasada
SRF, AGP, IIT (ISM) Dhanbad.


Flare animation bug fix

Fixes the hot reload issue when changing Flare filename. We hadn't run into this issue before as usually files have different animations names which would inherently swap the active animation when also swapping the file. This bug helped expose an issue where we'd cache the animation from the old file which would result in mismatched components getting animated, eventually resulting in a crash when an incompatible one was changed.
I also caught two stranded grey rectangles that were getting hidden by the artboard clipping in Flare. I removed those and re-exported the metro and train files.
I bumped the ref to the tree sha to ensure that your pub will pickup the change and not use a cached dev (also safer in case we make changes to dev).

LGTM. Thanks for fixing that!


rong command in the above document, it should be “az" instead of "azure".

[Enter feedback here]

https://docs.microsoft.com/en-us/azure/dns/dns-reverse-dns-for-azure-services#azure-classic-cli

Wrong command in the above document, it should be “az" instead of "azure".

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

ID: 61fbc38e-8756-1ce6-e73d-38bbe2a47a5b
Version Independent ID: f067d6bb-93b3-19ef-0b58-c58938fb1d6e
Content: Reverse DNS for Azure services - Azure DNS
Content Source: articles/dns/dns-reverse-dns-for-azure-services.md
Service: dns
GitHub Login: @rohinkoul
Microsoft Alias: rohink

@aaaaasam , thank you for your feedback. But the command provided is for Azure Classic CLI and it is correct. There are 2 models of CLI commands provided in this doc : Classic and ARM.
For Classic CLI, the command starts with "azure". Refer : https://docs.microsoft.com/en-us/cli/azure/install-classic-cli
For ARM CLI, the command starts with "az". Refer : https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?tabs=azure-cli

We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


test(test-plugin-ledger-connector-besu): jestify get-block-endpoint

Migration of get-block-endpoint.ts from tape-promise to Jest.
Update tests for improved reliability and performance.
packages/cactus-test-plugin-ledger-connector-besu/src/test/typescript/
integration/plugin-validator-besu/get-block-endpoint.test.ts

Fixes: #3500
Co-authored-by: Peter Somogyvari<EMAIL_ADDRESS>Signed-off-by: krriscode<EMAIL_ADDRESS>Signed-off-by: Peter Somogyvari<EMAIL_ADDRESS>Pull Request Requirements

[x] Rebased onto upstream/main branch and squashed into single commit to help maintainers review it more efficient and to avoid spaghetti git commit graphs that obfuscate which commit did exactly what change, when and, why.
[x] Have git sign off at the end of commit message to avoid being marked red. You can add -s flag when using git commit command. You may refer to this link for more information.
[x] Follow the Commit Linting specification. You may refer to this link for more information.

Character Limit

[x] Pull Request Title and Commit Subject must not exceed 72 characters (including spaces and special characters).
[x] Commit Message per line must not exceed 80 characters (including spaces and special characters).

A Must Read for Beginners
For rebasing and squashing, here's a must read guide for beginners.

Hi @petermetz,
I have check git config twice and it is correct, below is screenshot of it
I got stuck here could you help here how to resolve something issue.

@krriscode Upon further investigation it looks like you did manage to fix it after all, so we are good to go now we just need other maintainers to review it and then it can be merged. Thank you again for the contribution!

@krriscode I'll try to resolve the issues myself to help out. FYI: I'll do a force push to your branch

I'm going to fix the linter errors in a minute

@krriscode All is good now, about to merge it. Thank you again for the contribution and welcome to the Cacti community! We hope that you'll be back for more! :-)

Hi @petermetz,
I truly appreciate your help and guidance with the PR. Your efforts in resolving the issues and ensuring this contribution was successful mean a lot to me. Thank you so much!


RobloxStudioModManager should not become default app for .rbxl and .rbxlx files

After running RobloxStudioModManager to retrieve & replace new Roblox Studio BuiltInPlugins with old, more ideally-behaving versions of some plugins from BuiltInPlugins, RobloxStudioModManager sets itself as the default program for .rbxl and .rbxlx files.
RobloxStudioModManager declaring itself as the default program to open these file types is intrusive behavior, and forces the user to manually change the app back to Roblox Studio in my OS (Win10) in order to seamlessly start Roblox Studio place files from the command line.
This is important to not have to do, because of the fact that this introduces an extra step where the user has to click through the program's prompt box in order to start Roblox Studio. This defeats the purpose of starting Roblox Studio via the command line (specifically the command start place.rbxl) and can break CI workflow.

I have to overload the default program because I bootstrap Roblox Studio to an independent directory, and update bootstrapping won't go through unless it runs through a launcher that performs these updates. Using this program assumes you're doing so with the intent of substituting Roblox's usual bootstrapper.
I do agree it shouldn't be showing the user prompt when launching files from the command line unless it's explicitly told to do so—I will implement coverage for this. But your use case is not an intended one and you should fetch the files manually if you really want to keep using Roblox's usual bootstrapper.
If you have the version-guid of the build you want to fetch, you can substitute the guid in the following url to download its BuiltInPlugins:
https://setup.rbxcdn.com/version-0123456789abcdef-BuiltInPlugins.zip

Roblox's version history is logged here:
https://setup.rbxcdn.com/DeployHistory.txt


MINOR: Reduce TypePtr copying during constructing Aggregator

TypePtr is a shared_ptr, during constructing Aggregate, it will be copied for many times

@mbasmanova This patch is small, I found this when I learn from Aggregator, would you mind take a look?
(It's a bit small, if these kind of small pr is no welcomed, please also tell me)


return 422 on Galaxy plugin call lint exception

If user has a Galaxy workflow registered and the .ga descriptor file is malformed, for example:
`
goat {
"a_galaxy_workflow": "true",
"annotation": "Proof of concept 2 workflow accepting a tabular file as a single input. ",
...
`
and the Dockstore 'Refresh' button is clicked, the Galaxy plugin function validateWorkflowSet will throw an exception and the Dockstore API will return a 422 with this new catch block instead of a 500.
Addresses #3411

Seems like there should be a try catch around this function also, and the Galaxy plugin code should throw exceptions that can be caught by LanguagePluginHandler.java.


Prover decision process on making L1 TX for commitment bond depends on gas fees

Similar to Sequencer decision process on making L1 TX
Hypothesis:
Below deprioritized and chosen generlized form: If expected reward is higher than expected cost, user makes TX + Safety margin (0x-10x) (model through scaled beta distribution) (expected safety margin is 3x #hack)
Long form (deprioritized)
If Sequencer = Prover, and gas fee = 0, commitment bond being too high may make him not want to do the TX
What is too high? -> Uneconomical with respect to risk of not being able to finalize the block
Risk adjusted Profit (Block reward + profit) must be higher than risk adjusted loss
If Sequencer is not Prover, and gas fee = 0, same as above (some other factors deprioritized, such as economic censorship to centralize)
If Sequencer = Prover, and if gas fee is ridicolously high, Sequencer might eat high gas fee to not get slashed

We go with:
First: If expected reward is higher than expected cost, user makes TX + Safety margin (expected safety margin is 3x #hack)
Then (potentially): (0x-10x) (model through scaled beta distribution)

@eightarmsninebrains
option A

Addressed in Pull Request #109 , specifically commit https://github.com/BlockScience/aztec-gddt/pull/109/commits/3bc240e2f6ebd0c1c8d2e0cde825b2f3b90c997a

Closed with #109


Lesson progress bar

Add an option to display a progress bar until the end of the lesson (or even the day?).
Display it under the time remaining or at the bottom of the page?

Closed by #66.


Python certificates in Ubuntu

Hi!
I am trying to use an emacs package that makes use of python, currently I have set 3.8.6 as global version, but I get an error that googling seems to exist only in macOs (I am using ubuntu)
Error hitting url https://floobits.com/api/orgs/can/admin: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1124)

I have already reported this error to the authors of the package (https://github.com/Floobits/floobits-emacs/issues/100), but I doubt that maybe this depends on my python installation, does this seem plausible to you?

Just a comment that error seems to just be about SSL certificate issues.
Looking at the package you mentioned, the error is happening at:
https://github.com/Floobits/floobits-emacs/blob/master/floo/common/api.py#L125-L128
    cafile = os.path.join(G.BASE_DIR, 'floobits.pem')
    with open(cafile, 'wb') as cert_fd:
        cert_fd.write(cert.CA_CERT.encode('utf-8'))
    return urlopen(r, timeout=10, cafile=cafile)

You might want to make sure CA File ~/floobits/floobits.pem is valid/not-expired.
Other online topics on error are just related to updating your system SSL certificate files (using command on macOS or just pip install --upgrade certifi on other systems), but I am not familiar with the exact SSL flow.
Setting cafile=cafile may just override the system certificates.


[web-pubsub-client] React native support

Packages impacted by this PR
@azure/web-pubsub-client
Issues associated with this PR
https://github.com/Azure/azure-sdk-for-js/issues/26400
Describe the problem that is addressed by this PR
React native use some different packages from node, I added some package map to resolve it.
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
API changes are not detected in this pull request.


Sending curl --data command via request returns 'BAD REQUEST'

I am trying to send a command to an audio interface with the IP address '<IP_ADDRESS>'. The following curl command works when I execute it on the command line:

curl <IP_ADDRESS>/datastore/mix/aux/0/matrix/fader --data "json={"value": "0.005869974786893013"}"

I tried to implement the same command using your library and made the following translation in my server.js file:
var url = 'http://<IP_ADDRESS>/datastore/mix/aux/0/matrix/fader';
var data = {
"value":"0.005869974786893013",
};
request.post({url:url, formData: data}, function(err, httpResponse, body) {
if (err) {
return console.error('post failed:', err);
}
console.log('Post successful!  Server responded with:', body);
});
When I ran the command I got 'Post successful!  Server responded with: bad request'.
What exactly could be the problem?

If I am correct, your request should look like this:
request.post({ url: url, json: data }, function (err, httpResponse, body) {
  if (err) {
    return console.error('post failed', err);
  }
  console.log('Post successful! Server responded with: ', body);
});

Using formData instead of json in the request options object is most-likely changing how your JSON data arrives at it's destination.
Let us know if that works?


$_COOKIE not working in Safari iOS

When using the following snippet in Chrome and FF it works fine. But iOS and Safari will not get the cookie.
<?php $current_gemeente = $_COOKIE["Gemeente"]; ?>

I've confirmed the cookie is been placed on developer tools and connecting a iPhone and test with Safari on a Mac. When using a simple W3Schools javascript function to read the cookie it works perfectly fine.
I've confirmed that the path is correctly "/".
If I could I would just get the cookie with Javascript but I need the cookie value for a WordPress query.

STACKOVERFLOW

https://poplindata.com/privacy/itp-21/


Allow array size to be dynamically defined

Currently, the pre_run function is only available at the top level of the model, not within the model on array types.  Therefore, the only sizing option for arrays is count or min/max, it's not possible to dynamically set the size on a per-document basis based on some input.
For example, in my use case:

Document A has an array B with some elements, random size using min/max
Document C is related to document A, but also has an array D.  Elements in D must be a subset of elements in B.
I can't vary the size of array D based on the number of elements in array B of the linked Document A.

It seems like pre_run could be enabled on arrays:
name: documents
type: object
key: keyId
properties:
  mappings:
    type: array
    items:
      type: object
      data:
        pre_run: |
          this.data.count = someCalculationHere;
      properties:
        name:
          build: "someCalculationHere"

Within the pre_run function, the this context could be set to be the sub-context of the items model within the array.  Also, some way to get data from the parent document would be helpful.  Perhaps add document to the context to reference the current root document being generated.

I am reasonably certain this is possible. In your example above your name field is set to documents, but i believe it should be set to a more understandable name. The documents namespace is available, and contains all documents as arrays in your collection, generated by the name field. so if you had
name: a
type: object
..

you could use documents.a[0] to retrieve the first document it generated for a along with the values it generated, therefore allowing you access to your array.
name: c
type: object
key: _id
data:
  dependencies:
    - a
  pre_run: >
    this.data.fixed = documents.a.length; // forces the same number of documents as "a" generated

  pre_build: >
    var current = documents.a[document_index]; // chooses the same "a" document
    var my_array_length = current.b.length // get the length of b index
..

@mistersender
Your approach works for basing the root document on the dependency, but not for an array within the document being defined.
I was able to get it to work using this approach:
name: passTypeMappings
type: object
key: keyId
seed: 165156
data:
  dependencies:
    - siteGroups.yml
  pre_run: |
    this.data.count = documents.siteGroups.length*2;
properties:
  keyId:
    data:
      post_build: `passTypeMapping-${this.siteGroupId}-${this.mappingId}`
  type:
    data:
      value: "passTypeMapping"
  siteGroupId:
    data:
      build: |
        globals.temp = documents.siteGroups[Math.floor(document_index/2)];
        return documents.siteGroups[Math.floor(document_index/2)].siteGroupId;
  mappingId:
    data:
      build: "chance.guid()"
  description:
    data:
      fake: "{{commerce.productName}}"
  mappings:
    data:
      build: |
        var mappings = [],
            locations = documents.siteGroups[Math.floor(document_index/2)].locations;
        for (var i=0; i<locations.length; i++) {
            mappings.push({
                locationId: locations[i],
                passTypeId: chance.guid()
            });
        }
        return mappings;

Basically, I have  to use build on the array property directly, without an items definition.  While this works, it seems cumbersome as you can't use any of the easier-to-read YAML syntax building the array.
Brant

I noticed this same issue when I was going through and refactoring to make this library testable. @brantburnett that is a cumbersome way to create a custom dynamic data length, but now it works as a temporary work around until we can get a fix out there for this.


IERS Bulletin domain banned from certain countries

Hi, we have a Google Summer of Code student who is working for us and they are running into some problems with the IERS download because the .mil domain is blocked in their country.
Is there a non-military domain where this is available? We could probably download a local copy ourselves and re-host it, but I'm not sure if that's even allowed.
https://github.com/panoptes/POCS/issues/844

Hi @wtgee -- sorry IERS is giving you trouble, I know how frustrating that is. This came up in astropy/astropy#5059 and astropy/astropy#5194, and we found alternative servers also with the .mil domain. I don't know of any non-.mil mirrors, but some googling yields that this address might be a viable alternative:
ftp://cddis.gsfc.nasa.gov/pub/products/iers/finals.all

Lemme know if this helps!

@immortalrabbit can you report here if the above works for you?

@wtgee @bmorris3 What I did
from astropy.iers import IERS_A_URL
IERS_A_URL = 'ftp://cddis.gsfc.nasa.gov/pub/products/iers/finals.all'
from atroplan import download_IERS_A()
download_IERS_A()

Error:
Traceback (most recent call last):
  File "/usr/lib/python3.6/urllib/request.py", line 1318, in do_open
    encode_chunked=req.has_header('Transfer-encoding'))
  File "/usr/lib/python3.6/http/client.py", line 1239, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1285, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1234, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 964, in send
    self.connect()
  File "/usr/lib/python3.6/http/client.py", line 936, in connect
    (self.host,self.port), self.timeout, self.source_address)
  File "/usr/lib/python3.6/socket.py", line 704, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.6/site-packages/astroplan/utils.py", line 126, in download_IERS_A
    show_progress=show_progress)
  File "/usr/lib/python3.6/site-packages/astropy/utils/data.py", line 1091, in download_file
    raise e
  File "/usr/lib/python3.6/site-packages/astropy/utils/data.py", line 1024, in download_file
    with urllib.request.urlopen(remote_url, timeout=timeout) as remote:
  File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.6/urllib/request.py", line 526, in open
    response = self._open(req, data)
  File "/usr/lib/python3.6/urllib/request.py", line 544, in _open
    '_open', req)
  File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.6/urllib/request.py", line 1346, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/lib/python3.6/urllib/request.py", line 1320, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>

Thanks @ImmortalRabbit. For others in the future can you post the code that actually worked and then I'll close.

Thanks @ImmortalRabbit. For others in the future can you post the code that actually worked and then I'll close.

Sorry, but it works strange, maybe I am doing something wrong. But when run pytest it shows me to download it again.

Looks like NASA is redirecting ftp to ftps (FTP over SSL, not SFTP) and the underlying urllib.request isn't handling that well.

FYI, I've emailed the maintainers of the Bulletin to ask about redistribution rights for PANOPTES specific items, but this could remain an issue for certain international users.

Yeah it sounds like building a local mirror of the IERS table might be a slightly more permanent solution. Feel free to close the issue if/when you create one!

Thanks @bmorris3. Are you aware if there are any issues with setting up a local mirror?

Not that I know of, but I am far from the keeper of IERS 😉

FYI, file itself says:
     *                                                                     *
     * Distribution statement A.                                           *
     *   Approved for public release: distribution unlimited.              *
     *                                                                     *
     ***********************************************************************

We'll make our own mirror. Thanks!

Just a quick follow-up that I heard from the Navy folks and re-hosting on a public mirror is not actually possible without explicit permission. We can work around things but wanted to let others know.


Update middleware.md

Typo Rresponse to Response.

Codecov Report

Merging #1005 into release-0.15.x will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           release-0.15.x    #1005   +/-   ##
===============================================
  Coverage           70.36%   70.36%
===============================================
  Files                 212      212
  Lines                4654     4654
  Branches              444      444
===============================================
  Hits                 3275     3275
  Misses               1379     1379

Impacted Files
Coverage Δ

core/src/main/scala/org/http4s/Uri.scala
83.92% <0%> (-1.79%)
:x:

core/src/main/scala/org/http4s/HttpVersion.scala
100% <0%> (+6.25%)
:white_check_mark:

Continue to review full report at Codecov.

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


BLS12381 pure go

Description
In this PR the herumi/bls library is replaced with kilic/bls12-381. Since Herumi is written in C, it had compiling issues from time to time.
Also, we don't have any packages with CGO, we can build the software for different platforms, which is a big advantage. From now on, we should not allow installing any library with CGO packages.
Related issue(s)
Fixing #380 and #381
Checklist

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] My code follows the code style of this project.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.
[ ] CHANGELOG is updated.

@jwmdev No more cgo anymoe for daemon and wallet.
Hopefully we can have GUI that can build for ARM architecture.

@jwmdev Thanks. I will test it soon. Still it is not finalized yet. Thanks for reporting it.

@jwmdev Data race issue is fixed.


Create destination folder for -copy-in-before if it does not exist

Currently if the user specifies -copy-in-before somdir:/notexists then there will be a spew of error output from libguestfs. We should create the directory if it doesn't exist (assuming this is relatively easy)

-copy-in-before just uses virt-copy-in. According to virt-copy-in's man page:
virt-copy-in -a disk.img file|dir [file|dir ...] /destination

You can give one or more filenames and directories on the command line.
Directories are copied in recursively.
The final parameter must be the destination directory in the disk image
which must be an absolute path starting with a / character.

Therefore, -copy-in-before dir:/dir with create /dir/dir in the VM.
To create just /dir, we would use -copy-in-before dir:/.
Regarding this issue, is the desire to create the parent directory?
-copy-in-before somdir:/notexists creates /nowexists/somdir
Or do we desire to not follow the virt-copy-in convention and instead create "synced" directories?
-copy-in-before somedir:/somdir (where /somdir does NOT exist on the guest) creates /somdir

I believe the latter is the behavior people would expect. Basically, keeping the same semantics as cp.

Sticking with cp -r semantics for directories makes sense. I'd like to point out that this only creates the base directory of the given path. If the parents of the non-existent directory don't exist either, then this will still fail:
-copy-in-before somdir:/notexists/notexists

Since I implemented the original version of this, I'm pretty familiar with the logic.
Would you kindly assign this ticket to me? Thank you!

Done. Regarding your point about nested nonexistant directories, I think failing there would be the expected behavior.

Is this issue still relevant? I've seen a lot of changes, including the removal of libguestfs and the introduction of ImageEditor.

This is no longer relevant, as we use scp to do the copy now.


chore: karpenter-cert always show diff

closing - we aren't seeing any reports of this being an issue


Lesq 867   new lesson mv query with pupil fix

Description
Music year: 1973

This is the same as the previous reverted PR with fix for pupils (fields added to GQL query pupil lesson overview)

Go to https://deploy-preview-2478--oak-web-application.netlify.thenational.academy
Click on pupil lesson

Checklist

[ ] lesson overview page works and appears the same
[ ] pupil journey pages work

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


before

Personal commit should not go to public commit. Please clone or fork the repo to your own repository for personal use.


Expose long press action as a switch

Hi @nicoduj First of all thx for this amazing plugin!
So I have an interesting question, maybe you can assist me with it. As you might know Apple TV can be added to Harmony Hub via bluetooth to expose "real" Home button functionality (like it described here for example). As you might also know when you long press Home button it opens Apple TV control center (where you can switch user, check audio settings etc.). So my question here, is it possible to expose exactly long press action of Home button as separate switch in Homekit (same as usual single press)? Thx in advance

Hi, unfortunatley never found a way to do that. Double press is ok, but long press, if possible never found how !

Hi, unfortunatley never found a way to do that. Double press is ok, but long press, if possible never found how !

Thx, anyway 👍


PNG image that gets corrupted when embedded

Hi,
Thank you for this library which seems to fit perfectly to our needs.
We do have an issue though when we try to embed a PNG image.
The following image is displayed correctly in a browser or on my system Preview app: https://i.postimg.cc/q7qD277r/signature.png
However when embedded in a PDF with PDF-lib, the image gets corrupted as you can see in the modified JSFiddle demo:
https://jsfiddle.net/0uk2qbax/1/
Is it something in our PNG file that prevents it from being properly displayed once embedded with PDF-lib?
Thank you in advance for your help

I don't know if it is related, but I'm having the isse with PNG : Error: Invalid filter algorithm: 16. I have tried with many PNG and they all give error with different numbers, in example 40. I don't know what else to do to make this work.

@demalmar Yes, I would expect that the errors you're encountering are due to this bug. I'm working on getting this fixed, but haven't had much time to devote to it. One workaround would be to "rewrite" you PNG images such that they are no longer interlaced, prior to embedding them. I haven't done it myself, but I'd suggest trying to use https://github.com/lukeapage/pngjs to load and rewrite the images if you need to do so in an automated way. However, if you have a static set of images that needs to be converted, you can try doing so with image editors/viewers (as I explained above: https://github.com/Hopding/pdf-lib/issues/324#issuecomment-576414981).

@isc @demalmar  Just wanted to update you guys on this. Today I finished swapping out png-ts for upng-js (see the UpdatePngLib branch). I confirmed that it is able to successfully embed the image you shared. I need to add more tests and then I plan to merge the branch. This fix should go out in the next release of pdf-lib.

@isc @demalmar Version 1.3.2 is now published. It contains the fix for this issue. The full release notes are available here.
You can install this new version with npm:
npm install<EMAIL_ADDRESS>
It's also available on unpkg:

<EMAIL_ADDRESS><EMAIL_ADDRESS>
As well as jsDelivr:

<EMAIL_ADDRESS><EMAIL_ADDRESS>


Explore call headers API

We're experimenting with two API flavors: one option-based and one
context-based.
Both pass a MutableHeader struct to the call, which seems better than
YARPC's one option per header approach because we have a straightforward
way to signal and handle errors if the key or value is invalid.
I find the option-based approach pretty nice, but one thing bothers me:
what would it mean to pass a rerpc.ResponseHeaders option to the
client?! It doesn't seem to have well-defined semantics, so we should
probably disallow it. We can do so by extending the sealed CallOption
interface with a marker method to statically differentiate between
options that affect calls vs. those that affect both calls and clients.
Alternatively, I've been toying with a pure context-based API. This
approach is a departure from mainstream implementations, but it solves
the problem described above. It also mirrors the handler API and
reinforces the idea that headers are similar a context, just some
request-scoped values that pass the API boundary.
FWIW Twirp takes a context-based approach too, but they don't permit
reading client response headers.
Do you have any other ideas we should explore? And what do you think
about the two variants?
Fixes #12

Yeah, I think an options-based approach is the way to go. I hope to update the patch with the implementation this week.

Sorry for the pause. I took another look at this and we pass client options directly into generated code. I couldn't think of a neat way to filter ResponseHeader from the option list without changing the generated code and exporting another symbol (maybe we have more options when using generics because we encapsulate more generated code).
If we have to export something, an alternative is to introduce a ClientOption  as a subset of CallOption. I updated the PR to exemplify the idea. Unfortunately, this comes with the extra mental tax on complexity, but it gives us a mechanism to statically solve the problem. I'm not sure I like applyToClient for the sealed method, but that's an easy fix. What do you think about this—is it too much for too little?

I forgot to mention, the generated code needs to change to match this:
diff --git a/internal/ping/v1test/ping_rerpc.pb.go b/internal/ping/v1test/ping_rerpc.pb.go
index f7b8cb4..be9feb1 100644
--- a/internal/ping/v1test/ping_rerpc.pb.go
+++ b/internal/ping/v1test/ping_rerpc.pb.go
@@ -34,7 +34,7 @@ type PingServiceClientReRPC interface {
 type pingServiceClientReRPC struct {
        doer    rerpc.Doer
        baseURL string
-       options []rerpc.CallOption
+       options []rerpc.ClientOption
 }

 // NewPingServiceClientReRPC constructs a client for the
@@ -43,7 +43,7 @@ type pingServiceClientReRPC struct {
 //
 // The URL supplied here should be the base URL for the gRPC server (e.g.,
 // https://api.acme.com or https://acme.com/grpc).
-func NewPingServiceClientReRPC(baseURL string, doer rerpc.Doer, opts ...rerpc.CallOption) PingServiceClientReRPC {
+func NewPingServiceClientReRPC(baseURL string, doer rerpc.Doer, opts ...rerpc.ClientOption) PingServiceClientReRPC {
        return &pingServiceClientReRPC{
                baseURL: strings.TrimRight(baseURL, "/"),
                doer:    doer,

Thanks, Sever! Excited to take a look in more detail - hopefully tonight, but it might take me a day or two.


[FEATURE] Reset all settings

Is your feature request related to a problem? Please describe.
Ability in settings modal to reset all Web UI settings to their defaults
Describe the solution you'd like
A button in Web UI settings that allows user to reset to default upon click.
Additional context
N/A

Resolved in release 1.7.3.


Add table styling options

Is your feature request related to a problem? Please describe.
I hope this belongs here since its related to the minimal theme styling in Style Settings plugin
Describe the solution you'd like
It would be a "nice to have" additional styling options for Tables (Style Settings > Tables). Current options provide a lot of customization but there is none to control the border styling and background colour, amongst other things.
Proposed options

Border colour and thickness
Background/cells colour
Header font/style
Other?

Example

Additional considerations
This will impact Dataview table and Cards, so perhaps a way to include or exclude these would be also nice.
Note: this can be achieved with custom CSS but since many themes include their own table styles I thought it would worth considering having a UI to style them.
Thanks!

At least make the header and row highlighting different and the header indenting.


Bug Report: HTML5 is broken

Game gets stuck at a black screen
output log:
Uncaught TypeError: Cannot read properties of undefined (reading 'toUpperCase')
    at Controls.loadKeyBinds (Kade Engine.js:11989)
    at Controls.setKeyboardScheme (Kade Engine.js:11984)
    at new Controls (Kade Engine.js:10707)
    at new PlayerSettings (Kade Engine.js:38677)
    at Function.PlayerSettings.init (Kade Engine.js:38685)
    at TitleState.create (Kade Engine.js:40493)
    at flixel_FlxGame.switchState (Kade Engine.js:47115)
    at flixel_FlxGame.create (Kade Engine.js:47000)
    at flixel_FlxGame.__dispatchEvent (Kade Engine.js:4935)
    at flixel_FlxGame.__dispatchEvent (Kade Engine.js:5760)

maybe it doesnt support html5


Field of sqlalchemy model is not recognized for refactoring

I am using VSCode and Sqlalchemy. Given the following orm table,
class Model(Base):
    __tablename__ = "model"
    __table_args__ = ()

    created_at = Column(DateTime)

m = Model(created_at = datetime.now())

When I perform a refactoring with "F2 Rename Symbol" on the "created_at" field and change it to some name like "foobar", the line
m = Model(created_at = datetime.now())

won't get changed.

Need to see if SQLAlchemy is using dataclass transform or not? If it isn't, then this wouldn't work because we don't know how the constructor is synthesized.

This might work when SQLAlchemy2 is released, if they make use of dataclass transform (discussion at https://github.com/microsoft/pyright/discussions/2958). We have no knowledge of how the constructor is synthesized in SQLAlchemy 1.x.