chore(.travis.yml): Deep six the travis -> jenkins webhooks

This also stops Travis from carrying out deployments of Docker images, as we have agreed to transfer this responsibility to Jenkins.
cc @vdice @sgoings

Can we ditch the docker service definition?

For this one, maybe.  Your build/test isn't containerized, right?

@helgi, good eye... docker service definition removed.


from data import DataSet

What do I have to have in the data folder for this import to be successful in the extract_features.py file?

Does DataSet denote the folder containing train and test folders?


Example using API doesn't put paragraph in  tag

made a lot of changes. hopefully, this is resolved as well 👍🏾


Error: Cannot instantiate cyclic dependency! InjectionToken HTTP_INTERCEPTORS

In my application, I don't use HTTP_INTERCEPTORS.
I can't share the source code because the application is confidential.

Instead of using forRoot you can instead manually provide the service and config (see: https://github.com/chancezeus/angular-laravel-echo/blob/master/src/lib/src/module.ts#L20)
The "easy" version using the module does have an interceptor that automatically injects the socket id in the request, but the library itself will never cause a circular dependency (which would only happens if the service would (indirectly) rely on HttpClient), so the cause of this is somewhere in another library and/or your own application code.
To provide more details I will need a reproduction repo so I can check what goes wrong, just the stacktrace doesn't tell me anything since this error is directly related to everything else in the application.

I will try.


refactor [cocoapods] service

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @chris48s!

  Generated by :no_entry_sign: dangerJS against 2a337912c18bf8f1c4476eaec0f68757d2b3c488


React is not bundles

What version of HonoX are you using?
v0.1.26
What steps can reproduce the bug?
The default project with the node plugin https://gist.github.com/laiso/caa8f8ea18451763b70c9c8af9815230
What is the expected behavior?
All dependencies are bundled
What do you see instead?
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'react' imported from

Additional information
I’m no rocket scientist, but it’s probably caused by:
      ssr: {
        external: ['react', 'react-dom'],
      },

I have tried all sorts of vite config settings, but can’t seem to find the right one.

Unfortunately, this is the only blocker from adopting honox

Turns out, another vite plugin caused it.


Add rewrite-target annotation support

Fixes #64
Hi! I tried to support rewrite target annotation.
If it's a good approach to handle this annotation, let me know, I'll add tests for this functionality.
It's very important for me cause I use rewrite target almost in every ingress resource with nginx ingress controller. And it's necessary for me to have this functionality in contour as well.

Thank you. Can you please do a few things
s/#64/Fixes #64 or Updates #64
Can you also please add some tests either in internal/e2e or internal/contour

cc @davecheney
Please review it.

@Lookyan thank you for working on this.
I must ask that you follow the contribution procedure which requires debate on the original issue before sending code.
I've left some review comments, let's continue to discuss the implementation on the issue, rather than in this PR. Thank you.

I'm going to close this PR as it no long applies cleanly.
I ask again that discussion happen on #64 before any more code is sent. Thank you.


[QUERY] Details on IJsonModel.Create

Library name and version
Azure.ResourceManager.Compute 1.4.0
Query/Question
I'm working on unit tests for a C# script that operates on managed disks, so I need to create some dummy disks and fill them with fake data for testing. The documentation for how to do this has been sparse. The way I have been trying to do this is by creating mock ManagedDiskResource objects, and using the IJsonModel.Create method to turn a json string of the fake data into a ManagedDiskData object that I can add to the mock ManagedDiskResource object. However, when I run the tests, IJsonModel.Create successfully executes, and I can retrieve the data with IJsonModel.Write, but when I try to retrieve the data through normal getter methods, it's not there! The data must be stored in the ManagedDiskData object somewhere, but Create() isn't filling out the object's fields with the data as I need it to. I may be formatting the json object incorrectly, but I could not know since I can't find any guidelines for how to format it; I also couldn't find the implementation for the Create method. I've attached the mock class file for reference with what I've described above included. I would like some guidelines for how to correctly format the json (assuming I'm formating incorrectly) and some advice on the intended what to create dummy ManagedDisksResource objects (assuming I'm overcomplicating it). One last note -- I did look for a factory class to create the ManagedDiskResource objects, but there didn't appear to be one. Thanks.
MockManagedDiskResource.txt
Environment
Windows 10, .NET v8, Visual Studio 2022 17.10.6

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Hi @everest146 , sorry for the late reply.
If you would like to mock a resource for your testing, you could check this factory class: https://learn.microsoft.com/en-us/dotnet/api/azure.resourcemanager.compute.models.armcomputemodelfactory?view=azure-dotnet

@HarveyLink I haven't seen this class before. I'll make sure to give it a try


[Optimize](simd json reader) Cached search results for previous row (keyed as index in JSON object) - used as a hint.

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Consider ensuring that the method unregisterTexture is called even if customers forget to call SurfaceTextureEntry.release

At present, if customers forget to call SurfaceTextureEntry.release, the Texture stored in TextureRegistry will not have a chance to be unregistered. Because TextureRegistry::UnregisterTexture is not called https://github.com/flutter/engine/blob/master/common/graphics/texture.cc#L22
I think it’s easy for customers to make such mistakes sometimes, for example in the following scenario
TextureRegistry.SurfaceTextureEntry currentTexture = textureRegistry.createSurfaceTexture();

//do something else
......

// Oops, the customer forgot to release the previous one when generating a new SurfaceTextureEntry
currentTexture = textureRegistry.createSurfaceTexture();

In fact, we have a chance to know whether customers have called SurfaceTextureEntry.release. We can even call unregisterTexture when they forget to call release.
We can add the finalize method to SurfaceTextureRegistryEntry, such as this：
  @Override
  protected void finalize() throws Throwable {
      try {
          if (released) {
              return;
          }

          handler.post(new Runnable() {
              public void run() {
                  if (released) {
                      return;
                  }
                  Log.v(TAG, "Releasing a SurfaceTexture (" + id + ").");
                  unregisterTexture(id);
                  released = true;
              }
          });
      } finally {
          super.finalize();
      }
  }

I think some customers encountered the issue https://github.com/flutter/flutter/issues/83090 because they forgot to call SurfaceTextureEntry.release. I also found this problem when reviewing other people's code.
Proposal
Ensuring that the method unregisterTexture is called even if customers forget to call SurfaceTextureEntry.release
If this issue is reasonable, I can fill a PR with tests
/cc @jason-simmons

Adding a finalizer could be useful as a defense against leaking the texture's graphics resources.
I suspect the main risk will be guarding against the engine being destroyed between when the finalizer is called and when the unregisterTexture deferred task runs on the platform thread.  CheckingflutterJNI.isAttached before calling unregisterTexture should work.
@blasten any thoughts about this?

Closing this issue as fixed in the linked PR


Admin Interface default channel

The default channel bug is not yet resolved. When creating a channel, if we select the default channel button, can lead to multiple default channels.
Similarly when deleting a default channel, it does not convert an existing channel to a default channel leading to a state where there might be channels but no default channel.

@randalburns Was this resolved in the new branch? I think this has resurfaced again.


README breakdown and typo fixes

#issue-68

Restructured README, added index
Broke down large README file to smaller pieces.
TODO Rearrangement required.(Better to be done by repository owners :) )
Syntax highlighting in code snippets.
I have made more changes than the pull request requested, I can understand if you do not merge it!
But if you'd like me to make some changes, I'd be willing to do so!
Aakash Hemadri

:warning: This is a Pull Request Template :warning:

Checkout all the things you've done by placing an x within the square braces below.

Proposed Changes

[x] I've read the CODE OF CONDUCT and abide to it.
[x] I've read the CONTRIBUTING.md
[x] I've forked the repository.
[x] I've created a branch and made my changes in it.
[x] I understand opening a PULL REQUEST doesn't mean it will be merged for sure.

Did not fetch upstream, will do another pull request


Bezier curve start point

Hi,
When we are drawing a Bézier curve, it assumes the start point to be the last point in the current path. But this parser doesn't seem to be doing so. Is this something we might wanna add in the future?

@xuezhma I'm not sure that I understand what you mean by this.
Do you mean that for a path string like M10,20 C1,2 3,4 5,6 you'd like the "3,7" added to the output for the curveto command?
This mostly seems like a reasonable request. A simple case involving relative commands…
parse('M10,20 v10 C1,2 3,4 5,6');
[ { code:'M', command:'moveto', x:10, y:20 },
  { code:'v', command:'vertical lineto', relative:true, y:10 }, // Doesn't have x; y is actually 30
  { code:'C', command:'curveto', x1:1, y1:2, x2:3, y2:4, x:5, y:6 } ]

…illustrates that calculating the start point for any command potentially requires processing the entire command list up until that point.
Design thoughts:

What would the output look like? How about for relative commands?

Every command has a start array, holding the start coordinates for the command, in absolute values (even if the command is relative).

Do moveto commands include the start point?

No.

How about closepath?

Yes, and also the end point (subpath start).

parse('M10,20 v10 l3,4 m1,1 L20,30 L30,40z');
[ { code:'M', command:'moveto', x:10, y:20 },
  { code:'v', command:'vertical lineto', relative:true, start:[10,20], y:10 },
  { code:'l', command:'lineto', relative:true, start:[10,30], x:3, y:4 },
  { code:'m', command:'moveto', relative:true, x:1, y:1 },
  { code:'L', command:'lineto', start:[11,31], x:20, y:30 },
  { code:'L', command:'lineto', start:[20,30], x:30, y:40 },
  { code:'Z', command:'closepath', start:[30,40], end:[11,31] } ]

If implemented like this, would it solve your needs?

Here's a modified version of the parser that accomplishes the above:
svg_path
  = wsp* data:moveTo_drawTo_commandGroups? wsp*
  {
    for (var cmds=[],i=0;i<data.length;i++) cmds=cmds.concat.apply(cmds,data[i]);
    var first=cmds[0];
    if (first && first.code=='m'){ // Per spec, first moveto is never relative
      delete first.relative;
      first.code = 'M';
    }
    // Carry `start` (and `end`) properties along
    var lastX, lastY, subX, subY;
    for (var i=0;i<cmds.length;++i){
      var cmd = cmds[i], isMove = (cmd.code.toLowerCase()=='m');
      if (lastX!==undefined && !isMove){
        cmd.start = [lastX,lastY];
      }
      if ('x' in cmd){
        lastX = (cmd.relative ? lastX : 0) + cmd.x;
        if (isMove) subX=lastX;
      }
      if ('y' in cmd){
        lastY = (cmd.relative ? lastY : 0) + cmd.y;
        if (isMove) subY=lastY;
      }
      if (cmd.code.toLowerCase()=='z') cmd.end=[subX,subY];
    }
    return cmds;
  }

@Phrogz thanks for following up.

parse('M10,20 v10 l3,4 m1,1 L20,30 L30,40z');
[ { code:'M', command:'moveto', x:10, y:20 },
{ code:'v', command:'vertical lineto', relative:true, start:[10,20], y:10 },
{ code:'l', command:'lineto', relative:true, start:[10,30], x:3, y:4 },
{ code:'m', command:'moveto', relative:true, x:1, y:1 },
{ code:'L', command:'lineto', start:[14,35], x:20, y:30 },
{ code:'L', command:'lineto', start:[20,30], x:30, y:40 },
{ code:'Z', command:'closepath', start:[30,40], end:[14,35] } ]

this is exactly what I would have loved to have. Our problem was solved, doing something similar, adding the start points as x0 y0.

This is (finally) implemented by the optional makeAbsolute() function added in v1.1


Reference COV file ISSUE

Hi, I'm very thankful for your work I'm trying to use coverageMaster after I read your paper.
I'm not able to create a reference following your instructions.
I created a COV_folder containing for each sample (I have just 3 but I think it should work anyways) the sampleID.cov and sampleID.report.txt files and an empty folder to use as output. Even if everything seems to be correct the output of the command it's:
File "/home/andrewdg/jupyter/CoverageMaster/coverageMaster-master/TOOLS/create_reference_cov.py", line 29, in
l = file.readline().decode("UTF-8")
AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'?
I don't know if the problem it's the number of samples used or if I'm doing something else wrong.
Thank you again and I hope you'll have time to help me

The script was "inherdited" from a python2.7 version. Now it's python3 compliant.


Properly build anchor.Wallet for shell template script

The provider wallet in the node shell template was not being created properly because the contents of the configured wallet were not being wrapped in a Keypair.
This was causing problems when trying to run the escrow tests within the shell, such as the following error:
Translating error TypeError: Cannot read property 'toString' of undefined
    at Transaction.partialSign (/d/solarwind/node_modules/@project-serum/anchor/node_modules/@solana/web3.js/lib/index.cjs.js:1034:36)
    at NodeWallet.signTransaction (/d/solarwind/node_modules/@project-serum/anchor/dist/cjs/provider.js:160:12)
    at Provider.send (/d/solarwind/node_modules/@project-serum/anchor/dist/cjs/provider.js:78:27)
    ...

Example output using anchor shell
Old version:
> provider.wallet.payer
<Buffer d3 2b 2c 86 a2 ed ea ...

> provider.wallet.payer.publicKey
undefined

Fixed version:
> provider.wallet.payer
Keypair {
  _keypair: {
    publicKey: Uint8Array(32) [
      ...
    ],
    secretKey: Uint8Array(64) [
      ...
     ]
   }
}

> provider.wallet.payer.publicKey
PublicKey {
  _bn: <BN: ...>
}

cc @cqfd @nicholas-ewasiuk 🙌

Thank you!


How to disable side bar on emulator

I edited config.ini to hw.mainKeys=no
but I couldn't hide side bar
Is there any method to disable side menu bar to make emulator full screen ?
Thanks

I have the same question.

I have the same question

same please help


Create depin-day-singapore-24.md

HI @WinsCodes This is a new event - please merge into the events portal.
Please add this logo for Fluence

Please add this logo for Ceramic
https://github.com/memser-spaceport/pln-events/blob/main/public/uploads/ceramic.webp
Please include this logo for Parasail

Please include this logo for Kwil

@WinsCodes Here is Ceramic

@laeccles This event has been merged to PL Events PROD.


Additions to the traditional module

Hi.
The changes include mainly support for different clusters and svms within the tool and expansion of the clone volume functionality.

Can you update the function manifests in the "Advanced: Importable Library of Functions" section to include the new arguments that were added so that users are aware of the new arguments and order?

Another question: Do you have test script(s) that you used to test these changes?

@hmarko75 - Did you see my two comments above? I wanted to make sure that you didn't miss them.

Hi.
Sorry for the late response .. i will work on it but it will take me some time .. (on vacation).
Anyway, I updated it a bit more. i will include all recent updates and issue another pull request.
Thank you


Promote Delimiters/Operators in scanner::Content to Enum/Enum Variants

#30 adds scanner tokens for various punctuation.  We have first-class variants for Dot/Star/Parameter, but Delimiter and Operator have the string of the token as their content.  It probably makes sense to lift this into either their own nested enums, or their own top-level variants.

Addressed by by #59


corrected keys sizes in firmware.adoc, corrected typo in $HOME/.drogu…

…e/config.toml instructions, updated instructions to account for new probe-run with multiple STM32L072CZ* chips, included instructions to modify main.rs for US and other geos

corrected keys sizes in firmware.adoc
corrected typo in $HOME/.drogue/config.toml instructions
updated instructions to account for new probe-run with multiple STM32L072CZ* chips
ncluded instructions to modify main.rs for US and other geos


Code for converting glb to omage

Hello. Where is the code for creating the processed data? I see in xgutils/omgutil.py there is objamage_decoderv2, is there a function for encoding a glb to omage?

Hi Eric,
Thanks for your attention.
We are still cleaning the code for omages encoder.
We will probably release the cleaned-up code in December.
So stay tuned!
Best,
Xingguang
Xingguang Yan
homepage: yanxg.art
On Thu, Aug 29, 2024 at 2:52 PM ericflip @.***> wrote:

Hello. Where is the code for creating the processed data? I see in
xgutils/omgutil.py there is objamage_decoderv2, is there a function for
encoding a glb to omage?
—
Reply to this email directly, view it on GitHub
https://github.com/3dlg-hcvc/omages/issues/6, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABG5HQOL6Y6R6VKEPYYU4VDZT6JYPAVCNFSM6AAAAABNLJCT6SVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ4TKNRUGM2DENY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Any update on the encoder code?

Any update on the encoder code?

We will release it in early December.

Hey Xingguang, I was wondering if there were any updates on the encoder code? Thanks in advance!


"Waypoint: Create a Set of Radio Buttons" Redundant Lesson Text

Lesson text repeats itself:
"You can use radio buttons for questions where you want the user to only give you one answer.
Radio buttons are a type of input.
Each of your radio buttons should be nested within its own label element.
All related radio buttons should have the same name attribute.
Here's an example of a radio button:  Indoor.
Add to your form a pair of radio buttons. Each radio button should be nested within its own label element. They should share a common name attribute. One should have the option of indoor and the other should have the option of outdoor."

It is a style choice of the writer of this lesson. A bug would be error in the code the stopped the the script or program from executing as intended.

What's the SOLUTION ?
Is not working for me too


cmd/go: report allocations in the BenchmarkResult struct Stringer

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
1.10
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
Not applicable
What did you do?
Call testing.Benchmark when using b.ReportAllocs() in the benchmark function.
What did you expect to see?
New  1000000          1232 ns/op        0 B/op         0 allocs/op
A.New  1000000        1169 ns/op        0 B/op         0 allocs/op

What did you see instead?
New  1000000          1171 ns/op
A.New  1000000        1115 ns/op

This is not the expected behaviour. Can you please provide the code sample that produced the output above.

Sure, here is the playground link, crippled a bit to give you some output (ie, doesn't use b.N).
The sources for the func (r BenchmarkResult) String() string here basically don't give a call to r.MemString(), or have access to B.showAllocResult, because the *B or showAllocResult isn't copied into the struct.

Can you demonstrate this failure with a normal _test.go test? You don't
need to use the playground.
On 7 March 2018 at 23:18, Tit Petric<EMAIL_ADDRESS>wrote:

Sure, here is the playground link https://play.golang.org/p/xKnapThDcui,
crippled a bit to give you some output (ie, doesn't use b.N).
The sources for the func (r BenchmarkResult) String() string here
https://golang.org/src/testing/benchmark.go?s=9060:9100#L324 basically
don't give a call to r.MemString(), or have access to B.showAllocResult,
because the *B or showAllocResult isn't copied into the struct.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/24296#issuecomment-371120991, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAcAz2JbxlLZ1zL_vqqVONsVzY0tyvUks5tb9AggaJpZM4SgVFJ
.

Sorry, ignore my last request. This isn't a bug, this is a feature request.
On 7 March 2018 at 23:19, Dave Cheney<EMAIL_ADDRESS>wrote:

Can you demonstrate this failure with a normal _test.go test? You don't
need to use the playground.
On 7 March 2018 at 23:18, Tit Petric<EMAIL_ADDRESS>wrote:

Sure, here is the playground link https://play.golang.org/p/xKnapThDcui,
crippled a bit to give you some output (ie, doesn't use b.N).
The sources for the func (r BenchmarkResult) String() string here
https://golang.org/src/testing/benchmark.go?s=9060:9100#L324 basically
don't give a call to r.MemString(), or have access to B.showAllocResult,
because the *B or showAllocResult isn't copied into the struct.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/24296#issuecomment-371120991, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAcAz2JbxlLZ1zL_vqqVONsVzY0tyvUks5tb9AggaJpZM4SgVFJ
.

Yes, feature request. It's an inconvenience with a work-around. Thanks for taking the time to understand it however :)

Yes, feature request. It's an inconvenience with a work-around.

Can you outline what your workaround is? I’m having trouble seeing it :)

@andybons it's fmt.Println(result, result.MemString()) instead of just fmt.Println(result).

I don't think we should always print the memory results, and I don't think we should add a new field to BenchmarkResult, a struct that currently has only exported fields.  It's already possible to call MemString; adding the results to String would be a minor convenience in a few cases.  So all in all I don't think this is worth doing.  Sorry.


Fixed issue when provisioning template has files for the web root fol…

Q
A

Bug fix?
yes

What's in this Pull Request?
Fixed issue when provisioning template has files for the web root folder.
Modified EnsureFolderPath to allow an empty string for webRelativeUrl so that retrieval of web root folder is supported.
Fixed incorrect check for availability of ServerRelativeUrl in EnsureFolderPath.
Modified EnsureFolderPath to return folder objects instantiated in a consistent manner (all properties populated even if a root folder is returned).
Added tests for EnsureFolderPath method

Hi Jens, thx for this one. Idea looks good and we should absolutely support root folder as well. We'll have a look on this and see how things are working.

Nice work Jens. Bonus points for the additional test cases :-)


broken br

i was using flex-centering and discovered that my <br> is broken, wtf?

Notice the 123 part
(when i untick display:flex in chrome it works fine and also breaks the alignment)

It's logical.
A flexbox change the positioning of it's direct children.
So if you want to align your items you can:

make a wrapper division
change the flex-direction to column.

more details here: https://css-tricks.com/snippets/css/a-guide-to-flexbox/

Closing as this has nothing to do with this repo and more to do with flexbox itself. If you have issues with flexbox, you should bring them up on the www-style mailing list.


Sync eng/common directory with azure-sdk-tools for PR 1470

Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/1470  See eng/common workflow

/check-enforcer override


Mismatched selenium/standalone-chrome with chromedriver

In Dockerfile:
Replace FROM selenium/standalone-chrome:106.0 as build with FROM selenium/standalone-chrome:114.0 as build

@Zhu0914 thank you. please submit pull request for this and I will merge

Thanks @Zhu0914 . Issue addressed via 229ebd8.


Initial Pages and Styled Components Plugin

Added initial pages + placeholder text for "our team", "what we do", "what's happening", and "get involved" pages
Removed extra pages of "using-typescript" and "page-2"
Added styled-components plugin to gatsby-config and package for styling later

added component structure to "what-we-do" -> will do for other page structures as well
will look into container components for future use when data/components get more complicated


Run observers before hooks for on_replace and on_remove

Objective

Fixes #16498

Solution

Trivially swaps ordering of hooks and observers for all call sites where they are triggered for on_replace or on_remove

Testing

Just CI

Migration Guide
The order of hooks and observers for on_replace and on_remove has been swapped. Observers are now run before hooks. This is a more natural ordering where the removal ordering is inverted compared to the insertion ordering.

The fix pull runs now hooks after observers, but observers are run in the same order as on insertion, not in reverse order. Flecs says observer ordering is undefined, and I also think that having undefined ordering is better than saying observers are called in insertion order (or reverse insertion order). So I believe it's fine that the observers are not run in reverse order by this pull.

If guaranteed observer ordering is added (in a separate pull), then that pull should also add functionality to call the observers in reverse order, and this reverse order should be used for OnReplace and OnRemove observers.

@alice-i-cecile Two approving community reviews. Not certain of the process, but -S-Needs-Review +S-Ready-For-Final-Review?

The reason this failed the merge queue is exactly because my other pull added checks for the order of hooks vs. observers :-) the only fix needed is to fix the testcase, which is exactly correct.

assertion `left == right` failed
  left: ["OrdA hook on_add", "OrdA observer on_add", "OrdA hook on_insert", "OrdA observer on_insert", "OrdB hook on_add", "OrdB observer on_add", "OrdB hook on_insert", "OrdB observer on_insert", "OrdB command on_add", "OrdA observer on_replace", "OrdB observer on_replace", "OrdA hook on_replace", "OrdB hook on_replace", "OrdA observer on_remove", "OrdB observer on_remove", "OrdA hook on_remove", "OrdB hook on_remove"]
 right: ["OrdA hook on_add", "OrdA observer on_add", "OrdA hook on_insert", "OrdA observer on_insert", "OrdB hook on_add", "OrdB observer on_add", "OrdB hook on_insert", "OrdB observer on_insert", "OrdB command on_add", "OrdA hook on_replace", "OrdB hook on_replace", "OrdA observer on_replace", "OrdB observer on_replace", "OrdA hook on_remove", "OrdB hook on_remove", "OrdA observer on_remove", "OrdB observer on_remove"]

@alice-i-cecile Mind bumping this back into the merge queue?


Can we drop 7 support in v2?

Currently, Java 7 is supported, even in v2. This makes a few things trickier and hacks are needed to achieve certain functionality.
E.g. Base64 support. Up to Java 8 the java.xml.bind.DatatypeConverter can be used. Since Java 8 we could use the java.util.Base64 class. But using both at the same time doesn't work, a dependency for that is a little over the top and thus I added an own simple base64-implementing class.
I don't really like that state.
TL;DR: Does anyone really need support for Java 7?
If not, it'll get dropped.

Version 2.0.0-RC1 was just released.


[QUESTION] Did we just had a temporary instability with the Microsoft Bot Framework services?

I have a lot of chatbots created using the Microsoft Bot Framework. A few minutes ago I received alerts from multiple users that my bots weren't able to give responses. Any responses at all, not even error messages. I tried to send messages to multiple bots, but no responses. I've checked the Azure portal at the moment and got an weird error while trying to open the test tab (I tried on the company network and on my 4G, without any proxies):

Then I tried another chatbot, that I've created a few days just for test purposes and that it is integrated just with the standard webchat (iframe code that I've got from Azure):

I've never had this kind of issues before. About 15 minutes later the bots wend back to being responsive again. I'm really unsure of what happened, as they went down, and back up without any interference of mine. Was this something in the Microsoft services?

Hi @ItsMeArthur
Thank you for reporting this.  What data center are your bots deployed to?


choose the right connection in AutoSet

Fix for https://github.com/Laravel-Backpack/CRUD/issues/354

Hi @halaei ,
Just merged it, thanks a lot for the PR! It will be available in the next point release (3.1.58 - later today) and in 3.2.
Cheers!


Low accuracy converting from EPSG:3116 to EPSG:4326

I was trying to convert from gcm_magna to lat and long using the lib but the outputs were inaccurate. Can some one explain me or correct me?
Expected output 10.3779445 ,-75.4803633.

    var destProjection = Projection.get('EPSG:4326')!; // WGS84 (EPSG:4326)

    var point = Point(x:<PHONE_NUMBER>, y: 1639765.33);

    var transformedPoint = srcProjection.transform(destProjection, point);

    print('Lat: ${transformedPoint.y}, Long: ${transformedPoint.x}');```

It seems this is the expected behavior, as proj4js outputs the same results.
Paste the following script into your browser. Note that you cannot paste it into every domain, like GitHub. Instead, go to a site like https://cdnjs.com/libraries/proj4js.
var script = document.createElement('script');
script.onload = function() {
    proj4.defs("EPSG:3116","+proj=tmerc +lat_0=4.59620041666667 +lon_0=-74.0775079166667 +k=1 +x_0=1000000 +y_0=1000000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs +type=crs");

    console.log(proj4('EPSG:3116', 'WGS84', [846358.4308, 1639765.33])); // Output: [-75.48036335262766, 10.377944565887024]
};

var scriptPath = 'https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.12.1/proj4.js';
script.setAttribute('src', scriptPath);
document.head.appendChild(script);

If you disagree with the output, then create an issue in the proj4js repository. Once the issue is fixed, just ping me here, and the fix will be underway.
proj4dart exampe code:
import 'package:proj4dart/proj4dart.dart';

void main() {
  var pointSrc = Point(x:<PHONE_NUMBER>, y: 1639765.33);

  var projSrc = Projection.add(
    'EPSG:3116',
    '+proj=tmerc +lat_0=4.59620041666667 +lon_0=-74.0775079166667 +k=1 +x_0=1000000 +y_0=1000000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs +type=crs',
  );

  var projDst = Projection.get('EPSG:4326')!;

  var pointForward = projSrc.transform(projDst, pointSrc);

  print(pointForward.toArray()); // Output: [-75.48036335262819, 10.37794456588702]
}

You indeed right, thanks men


Multiple nodes sending to one node

I have setup two or more nodes sending data to a single node. A lot of collisions occur and "PayloadCrcError" shows up. But why does it get stuck at this? In the image below, one node is sending a sequence number and "HelloWorld" and the other is sending "HelloWorld_1".
Also, is there a way to receive maximum data from multiple nodes?

According to my understanding of LoRa theory, it is difficult to do
collision detection before sending. If two senders contest the same
channel, there will be PayloadCrcError. A simple search
https://www.thethingsnetwork.org/forum/t/do-lora-wan-nodes-perform-any-activity-detection-and-or-collision-detection/1353/3
led
to a similar conclusion. I think we have to do a retransmission if there is
a CrcError.
In addition, there is a CAD mechanism for the SX1276 chip but I do
understand how it would be helpful. The datasheet says it listens the
preamble of on-going transmission during CAD state but that elusive
preamble only lasts for a few milliseconds. If One SX1276 is transmitting,
I don't think other SX1276 chips can detect the on-going transmission.
What do you think?
Best,
Xiaokang.
On Wed, Dec 21, 2022 at 7:17 AM ATONU GHOSH @.***>
wrote:

I have setup two or more nodes sending data to a single node. A lot of
collisions occur and "PayloadCrcError" shows up. But why does it get stuck
at this?
Also, is there a way to receive maximum data from multiple nodes?
—
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_xg590_SX1276_issues_6&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=68-jaezqLTx9tGFv4ExwCQ&m=v_iPkGDQ_J2cUqZSk5qD0mX0va1rplvPuOUNilsoBfkVFlLSf_cIwGSfMuxgGjek&s=6FcI7ZUm3JjokO5Z-RFDBwQcL3LU7-ICXD4ReoivJQ8&e=,
or unsubscribe
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AKJHY6HTCTHNAU5KCWMR4Q3WOLYNNANCNFSM6AAAAAATFR5QYE&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=68-jaezqLTx9tGFv4ExwCQ&m=v_iPkGDQ_J2cUqZSk5qD0mX0va1rplvPuOUNilsoBfkVFlLSf_cIwGSfMuxgGjek&s=oTrvpE4iSZ6uL2D-9TUPShwNCQBk8MlneAuYA7QPyHs&e=
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I believe "Transmit only if asked by a master node" is a good idea to
gather data from multiple slave nodes.
On Wed, Dec 21, 2022 at 7:17 AM ATONU GHOSH @.***>
wrote:

I have setup two or more nodes sending data to a single node. A lot of
collisions occur and "PayloadCrcError" shows up. But why does it get stuck
at this?
Also, is there a way to receive maximum data from multiple nodes?
—
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_xg590_SX1276_issues_6&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=68-jaezqLTx9tGFv4ExwCQ&m=v_iPkGDQ_J2cUqZSk5qD0mX0va1rplvPuOUNilsoBfkVFlLSf_cIwGSfMuxgGjek&s=6FcI7ZUm3JjokO5Z-RFDBwQcL3LU7-ICXD4ReoivJQ8&e=,
or unsubscribe
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AKJHY6HTCTHNAU5KCWMR4Q3WOLYNNANCNFSM6AAAAAATFR5QYE&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=68-jaezqLTx9tGFv4ExwCQ&m=v_iPkGDQ_J2cUqZSk5qD0mX0va1rplvPuOUNilsoBfkVFlLSf_cIwGSfMuxgGjek&s=oTrvpE4iSZ6uL2D-9TUPShwNCQBk8MlneAuYA7QPyHs&e=
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I believe "Transmit only if asked by a master node" is a good idea to gather data from multiple slave nodes.
…
On Wed, Dec 21, 2022 at 7:17 AM ATONU GHOSH @.> wrote: I have setup two or more nodes sending data to a single node. A lot of collisions occur and "PayloadCrcError" shows up. But why does it get stuck at this? Also, is there a way to receive maximum data from multiple nodes? — Reply to this email directly, view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_xg590_SX1276_issues_6&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=68-jaezqLTx9tGFv4ExwCQ&m=v_iPkGDQ_J2cUqZSk5qD0mX0va1rplvPuOUNilsoBfkVFlLSf_cIwGSfMuxgGjek&s=6FcI7ZUm3JjokO5Z-RFDBwQcL3LU7-ICXD4ReoivJQ8&e=, or unsubscribe https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AKJHY6HTCTHNAU5KCWMR4Q3WOLYNNANCNFSM6AAAAAATFR5QYE&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=68-jaezqLTx9tGFv4ExwCQ&m=v_iPkGDQ_J2cUqZSk5qD0mX0va1rplvPuOUNilsoBfkVFlLSf_cIwGSfMuxgGjek&s=oTrvpE4iSZ6uL2D-9TUPShwNCQBk8MlneAuYA7QPyHs&e= . You are receiving this because you are subscribed to this thread.Message ID: @.>

Exactly what I was thinking.
Thanks


NetService::Download file

Please discuss the feature ideas on Gitter first. Then please describe the feature
Provide API to download a file over the network given a URL. The DownloadInfo progress callback should be allowed to be passed in.

@adambocco might be of interest?

Notes and draft API
IOTask<Path> downloadFileTask(String url);
IOTask<Path> downloadFileTask(String url, DownloadInfo info);

IOTask<Path> downloadFileTask(URL url);
IOTask<Path> downloadFileTask(URL url, DownloadInfo info);

class DownloadInfo {
    fun progressProperty(): ReadOnlyDoubleProperty
    // some internal way of updating progress property during download
}

Not sure of the best way to give download size back to user. Might be possible to just add a new function:
// return number of bytes or -1 if something failed
netService.getDownloadSize(URL url / String url): Long

OR wrap with an IOTask<> too. Need to weigh up advantages / disadvantages. Either way, the user needs to know that this is a slow operation, not to be done in UI thread.
For URL stream to Path, the copy operation should be done in a similar way to how JDK Files implements it.

@adambocco let me know if you are interested. If not, I'll give this a go over the weekend.

@AlmasB sorry midterms are sucking a lot of my time.
I spent a lot of time looking at this and a lot of it was new to me. I think you should probably handle this.
Thanks!

No problem, good luck with the midterms!


Modify Cyclops CRDs creation command

closes #
📑 Description
✅ Checks

[ ] I have updated the documentation as required
[ ] I have performed a self-review of my code

ℹ Additional context
This PR Modifies CRD command to create Cyclops CRDs in cyclops namespace instead of default.

@petar-cvit When working on a issue or testing features in local system I have to explicitly define everytime to create Cyclops CRDs at cyclops namespace, to resolve that I opened this PR, hope it'll be helpful for others too!

Hey @Sheikh-Abubaker, could you check again if that was the issue? The kubectl apply you changed created CRD, which are non namespaced resources, so the -n flag would not change anything.
Is there some other command that needs to be fixed?

The kubectl apply you changed created CRD, which are non namespaced resources, so the -n flag would not change anything.

isn't the CRDs supposed to be created in cyclops namespace ?

Hey @Sheikh-Abubaker, could you check again if that was the issue? The kubectl apply you changed created CRD, which are non namespaced resources, so the -n flag would not change anything.
Is there some other command that needs to be fixed?

Sorry sorry my bad, I think I got confused for a moment

No worries. Just to be clear, CRDs are Custom Resource Definitions and, as such, just define how other Custom Resources need to be defined. In Cyclops case, you will have Module CRD, which will be deployed on cluster scope since it extends K8s API, but your Module demo (Custom Resource) will be deployed in the cyclops namespace so cyclops-ctrl can pick it up.
Closing this one then.


[Feature] Audio Device List UI Test

Purpose

added UI Test cases for audio device list

Does this introduce a breaking change?

[ ] Yes
[ X] No

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

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

How to Test

Test the code

./gradlew clean cDAT

What to Check
Verify that all UI tests still pass

@iaulakh @ahammer all issues resolved and all checks are green


It is recommended that the user token be extended to 15 minutes

In GitLab by @wknet123 on Aug 25, 2017, 14:23

In GitLab by @yhua123 on Nov 8, 2019, 07:35
How to reproduce this issue?
@ liyanqing
How long to access the interface once on this page?

In GitLab by @liyanq528 on Nov 8, 2019, 07:35
This reason is chart in drop status that no request to server.

In GitLab by @sokril on Nov 8, 2019, 08:08
closed

In GitLab by @sokril on Nov 8, 2019, 08:08
assigned to @liyanq528


Examples: contourApproach depends on envSampling modifying NDBC46022.h5

example_contourApproach.py requires that example_envSampling.py has run and modified NDBC46022.h5.
This creates a required order to run the examples which is not clear to the intended audience (e.g. a new user). Further, while the user can specify the output H5 file name the duplication of the full buoy dataset does not seem ideal (e.g. the user now has 2 files of buoy data only differing by one having contour output from running example_envSampling.py). Finally, I believe this modification of the H5 file in place contributed to #29
I propose to address these issues and prevent future ones we:

Remove any dependency between examples
Restructure how we save contour data (e.g. I think we should look into having results separate from input)

PR #36 established the data default locations expecting the user to run the examples from the examples folder. E.g. each example now has a relative path pointing to the repository example data.


Raise an exception when preparing an already prepared geometry.

Closes #577.
Also converted test_prepared.py to use pytest syntax.

Coverage increased (+1.6%) to 80.037% when pulling c863a7ce1c8a7a8951daf8e00175ac6eb8e28117 on snorfalorpagus:prepared_error into ad53583ee26e05f53ccd7db35c16cc0e8466ce5c on Toblerity:master.


gh-2917 ProxyStore dynamic getTraits Handler.

Related Issue

Resolve #2917

Codecov Report

:exclamation: No coverage uploaded for pull request base (v2-alpha@9400f99). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head cf040ae differs from pull request most recent head 67ea10c. Consider uploading reports for the commit 67ea10c to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##             v2-alpha    #2918   +/-   ##
===========================================
  Coverage            ?   73.62%
  Complexity          ?      228
===========================================
  Files               ?       19
  Lines               ?      728
  Branches            ?       57
===========================================
  Hits                ?      536
  Misses              ?      143
  Partials            ?       49

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

No longer required


LUCENE-9850: Use PFOR encoding for doc IDs (instead of FOR)

Description
Switch over to PFOR encoding for doc IDs (instead of FOR) to achieve better index compression.
Solution
Details are in the Jira issue, but I explored the index size vs. decompression speed tradeoffs using luceneutil benchmarks and found ~3.3% index size reduction with no significant OPS impact.
Tests
In addition to benchmarks, I ported over the PForDeltaUtil unit tests to ensure unit test coverage.
Checklist
Please review the following and check all that apply:

[x] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[x] I have created a Jira issue and added the issue ID to my pull request title.
[x] I have given Lucene maintainers access to contribute to my PR branch. (optional but recommended)
[x] I have developed this patch against the main branch.
[x] I have run ./gradlew check.
[x] I have added tests for my changes.

I think we leave the implementation as is and hope that we can do something better with more explicit vectorization support in the future

(Sorry replying here as Github prevents me from replying on the existing thread)
+1 Let go with whichever of arr[i] = IDENTITY_PLUS_ONE[i] * val + base or arr[i] = (i+1) * val + base runs fastest in your micro benchmark. We can still improve things later if we find a way to trick the JVM into auto-vectorizing this loop.

@jpountz

+1 Let go with whichever of arr[i] = IDENTITY_PLUS_ONE[i] * val + base or arr[i] = (i+1) * val + base runs fastest in your micro benchmark. We can still improve things later if we find a way to trick the JVM into auto-vectorizing this loop.

Perfect, thanks! I'm changing this back to (i + 1) * val + base because it (somewhat surprisingly maybe, but I suppose this simple addition could be more efficient than an array reference) does consistently perform slightly better in microbenchmarks (arraryRef == 0 is this implementation while arrayRef == 1 references IDENTITY_PLUS_ONE[i]):
Benchmark                                        (arrayRef)  (bitsPerValue)  (exceptionCount)  (sameVal)   Mode  Cnt  Score   Error   Units
PackedIntsDeltaDecodeBenchmark.pForDeltaDecoder           0               0                 0          2  thrpt   20  7.915 ± 0.008  ops/us
PackedIntsDeltaDecodeBenchmark.pForDeltaDecoder           1               0                 0          2  thrpt   20  7.695 ± 0.010  ops/us

@jpountz I think I've addressed all of your feedback at this point. No rush if you've got other work occupying your time right now of course, just wanted to check in and make sure you're not waiting on me to make some additional changes. Thanks again for all your feedback!

Thanks @gsmiller ! I'm not really competent to review this stuff, just here for moral support. But the numbers look good to me.

Thanks @jpountz, @rmuir !


Re-enable arm64 ngen

Re-enable arm64 ngen

@ankitvarmait I'm re-enabling arm64 ngen for test host using the preview, now manifest looks good for arm64 modules:

@davkean pls let us know if you see something strange inside logs.
@ankitvarmait some ETA for the rtm release?


Added support for Philips Hue Fuzo Outdoor Wall Light (1744530P7)

See title. I could not find the zigbeeModel for this device anywhere so I used the 'raw' model.
https://www2.meethue.com/en-gb/p/hue-white-fuzo-outdoor-wall-light/1744430P7

Thanks!


Fixed simsimi response retrival.

Now the "res" attribute is a dictionary with a single item named "msg".
Changed code to get that "msg" attribute after "res".

Thanks for the fix ！


Provide APIM support for JWT token validation

Purpose
To provide support for JWT type-token validation
Goal
Fixes: https://github.com/wso2/product-apim/issues/11894
Approach
Introduced
[oauth]
enable_jwt_token_validation_during_introspection = true

to enable/disable JWT token validation

This config no need to put it into deployment.toml
since this already in config catalogs


Cannot use text/plain on HttpRequestMessage.CreateResponse

I just create Azure function with just this
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log)
{
    return req.CreateResponse(HttpStatusCode.OK, "Hello","text/plain");
}

And it cause this error

Microsoft.Azure.WebJobs.Script: One or more errors occurred. System.Web.Http: Could not find a formatter matching the media type 'text/plain' that can write an instance of 'String'.

Also occurred with text/html

This bug should be filed here https://github.com/Azure/azure-webjobs-sdk-script

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.

@Jon007 That's a problem with the Azure WebJobs SDK. But this is the repository for ASP.NET Core, so we really cannot help here.
I'd suggest you to follow David's advice above and try that Azure repository.
Since this is the top result, feel free to link to the answer once you have resolved the problem.

it's not specifically Azure but I suspect not Core either.
ASP.Net doesn't provide a TextFormatter, only XmlFormatter and JSON, so if a plain text response is needed, instead of:
return req.CreateResponse(HttpStatusCode.OK, "Hello","text/plain");
use this to force a plain text response content:
                var resp = new HttpResponseMessage(httpStatusCode);
                resp.Content = new StringContent("Hello", System.Text.Encoding.UTF8, "text/plain");
                return resp;

simple enough but there's quite a few threads out there with people confused over the inability of the first option to convert a string to text and alternative solutions including custom TextFormatter classes.
in core perhaps:
               return Ok("Hello");
(which does not return a HttpResponseMessage)


Add option to enable/disable NearDrop without exiting the app

Add menu option Disable / Enable which will stop listener or restart it without exiting the app

@vectro73 , can you update the PR to resolve the conflicts please?


fix: align polling interval to 15 seconds

Align polling interval to 15 seconds as suggested here: https://github.com/kedacore/http-add-on/issues/799#issuecomment-1749662329
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO)
[x] Changelog has been updated and is aligned with our changelog requirements
[ ] Any necessary documentation is added, such as:

README.md
The docs/ directory
The docs repo

@JorTurFer: Done sorry for that!

Done sorry for that!

no worries, thanks!


resizeWorld doesn't work ES6

Hi guys, I have a problem, the function "resizeWorld ()" does not work on my game, I have a map created on tiled and its corresponding spritesheet, but this do not show as should on my game.
My map on tiled:

And my game running:

Index Code:
import Boot from 'states/Boot';
import Preload from 'states/Preload';
import Main from 'states/Main';
import GameOver from 'states/GameOver';

class Game extends Phaser.Game {

	constructor() {
		super(800, 600, Phaser.AUTO, 'content', null);

		this.state.add('Boot', Boot, false);
		this.state.add('Preload', Preload, false);
		this.state.add('Main', Main, false);
		this.state.add('GameOver', GameOver, false);

		this.state.start('Boot');
	}

}

new Game();

Main code:
class Main extends Phaser.State {

    create() {
        this.game.physics.startSystem(Phaser.Physics.ARCADE);

        //this.game.add.sprite(0, 0, 'Sky');

        this.map = this.game.add.tilemap('tilemap');
        this.map.addTilesetImage('Tiles', 'tileset');

        this.platforms = this.map.createLayer('Platforms');
        this.platforms.resizeWorld();
        this.platforms.wrap = true;
        this.cursors = this.game.input.keyboard.createCursorKeys();

    }

    update() {
        if (this.cursors.left.isDown) {
            this.game.camera.x -= 8;
        }
        else if (this.cursors.right.isDown) {
            this.game.camera.x += 8;
        }

        if (this.cursors.up.isDown) {
            this.game.camera.y -= 8;
        }
        else if (this.cursors.down.isDown) {
            this.game.camera.y += 8;
        }
    }

}

export default Main;

Preload code:
class Preload extends Phaser.State {

	preload() {
		this.game.load.image('Sky', 'assets/Sky.png');
		this.game.load.tilemap('tilemap', 'assets/Tilemap.json', null, Phaser.Tilemap.TILED_JSON);
		this.game.load.image('tileset', 'assets/Tileset.png');
	}

	create() {
		this.game.state.start("Main");
	}

}

export default Preload;

I don' know what happend, any idea? :/ (Sorry for my bad english)

resizeWorld() resizes game.world.bounds to match the layer dimensions. You can check with
console.log(this.world.bounds);

Can you move the camera around to show the rest of the map?

yes I can, and i can see the rest of the map and this.world.bounds gives me this: Object { x: 0, y: 0, width: 3200, height: 1600, type: 22 } .

I think it's working correctly then. You just have a very large map.
You can try
this.platforms.scale.set(0.25)

to scale it down.

@samme Now it does not show nothing until I move the camera down.
Nothing show:

And if I move the camera down:

The console:

Make sure scale.set is before resizeWorld.

@samme  ocurrs the same

someone any idea or solution?

It's possible that scaling TilemapLayers doesn't completely work.
But if your map's pixel dimensions are 3200 × 1600, then resizeWorld() is working correctly.
If you still think it's a bug, please post a working example and explain exactly what you think is wrong.


New theme: Akizuki

Theme submission
Before submitting a theme please make sure you've read the README.md. It describes in detail what information are needed and which requirements have to be fulfilled for the submission. The check list below can help you.
Link to my theme repository: https://github.com/Mikubill/Akizuki
I made sure that...

[x] the repository contains a good README.md describing my theme
[x] an open source license has been added to LICENSE.md
[x] all metadata have been added to theme.toml
[x] screenshots have been added in the images/ folder with the required dimensions
[x] in case I'm using a customized demo via the exampleSite folder that

[x] https://example.com is set as base url in exampleSite/config.{toml, yaml, json} to avoid the abuse of unused domains
[x] the site's content is as neutral as possible (contains no ads etc.) and reflects the features of my theme

[x] I tested my theme against the gohugoio/HugoBasicExample

[x] I've checked the developer tools' console in my browser for error messages

[x] in case my theme is using Hugo Pipes features like toCSS and PostCSS that I have committed the /resources directory with all generated assets, for my theme to work in the basic version of Hugo

Feel free to ask questions. We're glad to help.

Hello @Mikubill
thank you for sharing the theme with the Hugo community.
To take the last mile please that the screenshots in the images folder have the right dimensions. You can find them in the README.
While checking your theme with the build script for the hugo theme site I got an error for the nav.html partial because .Site.title is used instead of .Site.Title

@Mikubill
Hi! I just tested your theme and its Resources are not loading when I execute the Hugo Themes Site Build Script.
To fix this problem please have a look over here
You need to use .RelPermalink for your Hugo Pipes resources.

Fixed.

@Mikubill
Hi! I just tested your theme and its Resources are not loading when I execute the Hugo Themes Site Build Script.
To fix this problem please have a look over here
You need to use .RelPermalink for your Hugo Pipes resources.

Hello @Mikubill
I confirm the fix.
However now I see a non Hugo related flash of unstyled content whenever a page loads in your demo.
It seems that you have included your stylesheets just before the closing body tag.
Please try moving your stylesheets just before the closing head tag and see if that improves the page loading.
Please try the above let us know so that either I or @digitalcraftsman can have a further look at your demo.
Thank you.


toThrowError not working with custom errors and Babel

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
If you try to test whether or not a function is throwing an error of a specific type with toThrowError, and are using Babel/ES6 classes, then the error matching is failing to recognize that the types are the same.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal repository on GitHub that we can npm install and npm test.
If you are using Babel and Jest, and try to run Jest against the following test:
class MyError extends Error {}

function foobar () {
  throw new MyError();
}

it('should recognize the error and pass', () => {
  expect(() => {
    foobar();
  }).toThrowError(MyError);
});

this will result in a failure similar to the following (line numbers won't be perfect, since I cleaned up the code a little):
expect(function).toThrowError(type)

    Expected the function to throw an error of type:
      "MyError"
    Instead, it threw:
      Error
        at MyError.Error (native)
          at new MyError (src/models/__tests__/my-test.js:13:1363)
          at foobar (src/models/__tests__/my-test.js:13:1437)
          at src/models/__tests__/my-test.js:18:7
          at Object.<anonymous> (src/models/__tests__/my-test.js:19:8)
          at process._tickCallback (internal/process/next_tick.js:103:7)

      at Object.<anonymous> (src/models/__tests__/my-test.js:19:8)
      at process._tickCallback (internal/process/next_tick.js:103:7)

What is the expected behavior?
I would expect the above test to pass, since the method is clearly throwing the type of error that was given to the toThrowError method.
Run Jest again with --debug and provide the full configuration it prints. Please mention your node and npm version and operating system.
Node Version: v6.3.1
NPM Version: v3.10.3
Debug Output:
jest version = 17.0.2
test framework = jasmine2
config = {
  "rootDir": "/Users/justin/code/work/generator-test",
  "name": "-Users-justin-code-work-generator-test",
  "setupFiles": [
    "/Users/justin/code/work/generator-test/node_modules/babel-polyfill/lib/index.js"
  ],
  "testRunner": "/Users/justin/code/work/generator-test/node_modules/jest-jasmine2/build/index.js",
  "transform": [
    [
      "^.+\\.jsx?$",
      "/Users/justin/code/work/generator-test/node_modules/babel-jest/build/index.js"
    ]
  ],
  "usesBabelJest": true,
  "automock": false,
  "bail": false,
  "browser": false,
  "cacheDirectory": "/var/folders/9d/pytzv6654jgd3q__9m1d8z3r0000gn/T/jest",
  "coveragePathIgnorePatterns": [
    "/node_modules/"
  ],
  "coverageReporters": [
    "json",
    "text",
    "lcov",
    "clover"
  ],
  "expand": false,
  "globals": {},
  "haste": {
    "providesModuleNodeModules": []
  },
  "mocksPattern": "__mocks__",
  "moduleDirectories": [
    "node_modules"
  ],
  "moduleFileExtensions": [
    "js",
    "json",
    "jsx",
    "node"
  ],
  "moduleNameMapper": {},
  "modulePathIgnorePatterns": [],
  "noStackTrace": false,
  "notify": false,
  "preset": null,
  "resetMocks": false,
  "resetModules": false,
  "snapshotSerializers": [],
  "testEnvironment": "jest-environment-jsdom",
  "testPathDirs": [
    "/Users/justin/code/work/generator-test"
  ],
  "testPathIgnorePatterns": [
    "/node_modules/"
  ],
  "testRegex": "(/__tests__/.*|\\.(test|spec))\\.jsx?$",
  "testURL": "about:blank",
  "timers": "real",
  "transformIgnorePatterns": [
    "/node_modules/"
  ],
  "useStderr": false,
  "verbose": null,
  "watch": false,
  "cache": true,
  "watchman": true
}
 FAIL  src/models/__tests__/user-test.js
  ● should recognize the error and pass

    expect(function).toThrowError(type)

    Expected the function to throw an error of type:
      "MyError"
    Instead, it threw:
      Error
        at MyError.Error (native)
          at new MyError (src/models/__tests__/user-test.js:13:1363)
          at foobar (src/models/__tests__/user-test.js:13:1437)
          at src/models/__tests__/user-test.js:18:7
          at Object.<anonymous> (src/models/__tests__/user-test.js:19:8)

      at Object.<anonymous> (src/models/__tests__/user-test.js:19:8)

    ✕ should recognize the error and pass (6ms)

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

I should also note that if you replace the MyError class with the following, the same test passes:
function MyError() {}

MyError.prototype = Object.create(Error.prototype);

This is something that babel doesn't cover: https://babeljs.io/docs/usage/caveats/#classes
For a reference, here is more information about why this occurs.

Ah, I wasn't aware of that.  I'll go ahead and close this issue.
Thanks for the timely response!

I have having the same issue but with typescript. This issue was fixed on jasmine by using intanceof.
https://github.com/jasmine/jasmine/issues/819
https://github.com/jasmine/jasmine/commit/ff029b37b5b2fb95c6f2252713b14586f86786cb
Is this applicable in this case?

I think this is the related code
https://github.com/facebook/jest/blob/master/packages/jest-matchers/src/toThrowMatchers.js#L37


Can this repo build on Win10?

Is your feature request related to a problem? Please describe.
I want to confirm whether this repo can build on Win10?
Describe the solution you'd like
I hope that this repo can build on Win10.

Yes, check if python2 is installed


'Could not find resource' on any file

With any ERP file on the F1 23 game, all of the files show the error that it 'could not find resource'.

You'll have to send me sample files for me to look into since I don't own the game.

2023-redbull_sergio_perez.zip
redbull.zip
some zipped files of a character file and a vehicle file, let me know if you need more

Can you send me file character_package/drivers/male/2023-redbull_sergio_perez/textures/sergio_perez_cap_d.tif.2023.mipmaps?

2023-redbull_sergio_perez.zip
had to send the whole zipped file since github doesn't support specific mipmaps, hope that's ok

i've the same error

Version 9.1 has been released. Should work as expected now.


[Release] sdk/resourcemanager/datafactory/armdatafactory/6.0.0

https://github.com/Azure/sdk-release-request/issues/4920

The breaking changes are introduced and approved in https://github.com/Azure/azure-rest-api-specs/pull/27412 and https://github.com/Azure/azure-rest-api-specs/pull/27180.

The breaking changes are introduced and approved in Azure/azure-rest-api-specs#27412 and Azure/azure-rest-api-specs#27180.

@JeffreyRichter , please approve this major version release by adding label of Approved Major Version, thanks.

/check-enforcer override


Zend_Validate.php doesn't translate some classes

The classes Size and Extension from Zend\Validator\File, doesn't seem to be translated by the Zend_Validate class in pt_BR.
In the class Extension for example we have:
protected $messageTemplates = array(
self::FALSE_EXTENSION => "File has an incorrect extension",
self::NOT_FOUND       => "File is not readable or does not exist",
);
but in Zend_Validade (pt_BR) it's just like this:
// Zend_Validator_File_ExcludeExtension
"File '%value%' has a false extension" => "O arquivo '%value%' possui uma extensão incorreta",
"File '%value%' is not readable or does not exist" => "O arquivo '%value%' não pode ser lido ou não existe",
It seems that the default template in the classes, like Size and Extension doens't have the "%value%".
I might be wrong

@dntmartins Would you be willing to attempt a fix?
The translation file is here:

https://github.com/zendframework/zf2/blob/master/resources/languages/pt_BR/Zend_Validate.php

@weierophinney I sent a pull request that's waiting for a validation

Fixed with #7375.


FINERACT-2011: Savings Account - transaction order is incorrectly mix…

…ed after certain activities
Description
Describe the changes made and why they were made.
Ignore if these details are present on the associated Apache Fineract JIRA ticket.
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[ ] Write the commit message as per https://github.com/apache/fineract/#pull-requests

[ ] Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

[ ] Create/update unit or integration tests for verifying the changes made.

[ ] Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

[ ] Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/legacy-docs/apiLive.htm with details of any API changes

[ ] Submission is not a "code dump".  (Large changes can be made "in repository" via a branch.  Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

@marta-jankovics Can you please help me understand where is the logic which makes the transaction order to be correct? I am not sure, i see it :/


fix(client): throw SocketException if Network is unreachable

Resolves #71.

Codecov Report
Patch and project coverage have no change.

Comparison is base (e3bf5ca) 84.10% compared to head (15322ef) 84.10%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #72   +/-   ##
=======================================
  Coverage   84.10%   84.10%
=======================================
  Files          10       10
  Lines         717      717
=======================================
  Hits          603      603
  Misses        114      114

Impacted Files
Coverage Δ

lib/src/dtls_client.dart
78.92% <0.00%> (ø)

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 in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


K8SSAND-1210 ⁃ Eliminate duplicate classes during JAR shading process

When building the project jarfiles, each of the project modules has a JAR shading step that bundles all of the project's dependencies into an "uber" jar. However, some of the projects have duplicate transient dependencies. In some cases, the transient dependencies contain multiple versions of the same library.
While this hasn't caused any known issues so far, it really should be cleaned up so that there is no ambiguity in which versions of which libraries are bundled into the jarfiles.
Also, the common project modules (i.e. management-api-common, management-api-agent-common) shade their artifacts as well, but likely don't need to do so. Since they have some of the same dependencies as other modules that have these declared as dependencies, the shading process also finds duplicates as well.
┆Issue is synchronized with this Jira Task by Unito
┆friendlyId: K8SSAND-1210
┆priority: Medium

Hey team! Please add your planning poker estimate with ZenHub @emerkle826 @jeffbanks

Please add your planning poker estimate with ZenHub @adutra

I would like to also get @adutra to chime in here, as he has gone through a similar process with the Java driver a while back. Going through the process of eliminating duplicate jars will take some time. But the bigger issue is verifying that it doesn't break something. My initial estimate is an 8. I don't know if the benefit will justify the level of effort.

For some reason I cannot cast my vote. I'd say 5 story points. And yes, eliminating duplicate classes is long and sometimes not worth the effort as long as the resulting jar works.
Taking a step back: I'd advocate for not using shaded uber-jars at all. Uber-jars are inherently error-prone. What is the reason why we are doing this in the management-api?

What is the reason why we are doing this in the management-api?

I'm pretty sure the server part of Management API uses an uber-jar since it runs as a stand-alone process and needs all the things it depends on (things like RESTEasy, Netty, etc). But the agent jarfiles should be able to leverage most of the dependencies as "provided" since the agents are embedded into the Cassandra/DSE JRE classpath. Still, there are likely a few things the agent depends on that are not already in the Cassandra classpath, so those dependencies would need to be included.
Perhaps the agent jarfiles published could be "slimmer" uber-jars. As for the Docker images we build with the agent jarfiles already added to the Cassandra classpath, we could maybe add non-uber-jars and add the dependencies individually.


Fix auzre arc managed identity

Description
The Azure ARC Managed Identity token request does not currently work due to a misplaced finally block.
fixing this.
All SDK Contribution checklist:

[ X] The pull request does not introduce [breaking changes]
[ X] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ X] I have read the contribution guidelines.

General Guidelines and Best Practices

[X ] Title of the pull request is clear and informative.
[ X] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[X ] Pull request includes test coverage for the included changes.

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


Rewrite the location header in the reverting interceptor

I think this is less hacky than changing the status.

I think this is less hacky than changing the status.

Kind of jealous your rewrites are so much nicer than my first attempt :)


Add STM32 LCD-TFT Display Controller (LTDC) Driver

Is your feature request related to a problem? Please describe.
Add support for STM32's LTDC on STM32F4, F7, H7, etc.
Describe the solution you'd like
Initially, an API specific to the LTDC implemented with a long-term objective of enhancing the generic display API to support more advanced LCD drivers either on-board or in-MCU while supporting smaller displays with little overhead. This driver should be modular; able to be built such that unused feature sets can be removed. The STM32 HAL will not be used (greenfield implementation). Existing generic display API will have shortcomings (e.g., pixel format support). Use shim to provide API implementation; native and generic APIs will be exclusive from each other.
Would like to support:

Compositing layers with transparency (LTDC supports 2 layers).
Multiple color models (Monochrome, CLUT/indexed, RGB), color spaces and pixel formats.
Specialized DMA (DMA2D) for fill/blit/blend operations, including pixel format conversion and alpha blending.
Double buffering, able to utilize separate SRAM/SDRAM banks - configurable at buildtime or runtime. VSYNC timing/notification.
MPU/D-Cache management for DMA operations
Buildtime/runtime LCD configuration (buildtime at board config)
Blanking/contrast/backlight control (need separate callbacks/drivers for this - power and backlight controls are on the board)

Other considerations for features not supported by LTDC, but are common (to support in generic API enhancements):

Extensible color model/space/pixel format for packed (and planar?) YUV.
Hardware accelerated stretch/scale.
OS/API-enforced constraints, e.g. Layer zero dimensions same as display, layer reordering limitations, maximum supported display size, limited number of display driver instances,

Describe alternatives you've considered
Crayons attached to steppers.
Additional context

Describe alternatives you've considered
Crayons attached to steppers.

🥇

FYI (no response required)
If it wasn't implied in the issue writeup, I intend to take a stab at this. I'm doing development on an stm32f746g_disco board.
Will be slow going to start - Zephyr's build system has a bit of a learning curve with some tools I'm not familiar with. However, nobody seems to be pounding the table for this driver. I will try to get a PR on a couple of things that might cause ugly merges later (pinmux, device tree) done first.

Quick update.
Made progress on the driver, but have gotten stuck by not having a working memory controller for external SDRAM. Didn't quite realize how sparse support for STM32 was before diving into this, so I'm having to switch gears and work on getting enough memory to handle the framebuffer and sort out the current memory mapping (DTCM vs. SRAM).

@matthew-koch I'm working on this issue, are you still interested in having this working? I've got the memory side of things working, and have some code working for the LTDC which I'll commit in a day or 2 after cleaning it up.

By all means! I ran into a big project at work and haven't had a lot of
time for this. I kept chasing things that weren't implemented in Zephyr
(clocks, SDRAM, etc.) and this ballooned beyond what time I had. I won't be
able to pick this up again until late spring or early summer, so I'd
appreciate having this working.

MK

On Fri, Mar 13, 2020 at 2:19 PM Mark Olsson<EMAIL_ADDRESS>wrote:

@matthew-koch https://github.com/matthew-koch I'm working on this
issue, are you still interested in having this working? I've got the memory
side of things working, and have some code working for the LTDC which I'll
commit in a day or 2 after cleaning it up.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zephyrproject-rtos/zephyr/issues/15591#issuecomment-598915800,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL2SMLFKGD2EWAUCDETJ3JTRHKPMPANCNFSM4HHNEDLQ
.

Any update on LTDC driver?
Thanks!
Best Regards, Dave

@matthew-koch , @k0d - Any update on LTDC driver?
Thanks!
Best Regards, Dave

I am working on STM32F429I-DISC1. Above patches seems to be for STM32F7. Do they need to be modified for STM32F429?
Regards,
Akshay

@matthew-koch , @k0d Are you still working on this issue? I would like to open a PR with my implementation if you aren't working on yours anymore.
I managed to get the driver working with LVGL sample on STM32H7B3I_DK board. The driver uses HAL library, and supports Kconfig-configurable pixel format and frame buffer location (internal/external SRAM). So far, it only supports blocking writes to frame buffer, but I plan to add non-blocking writes with DMA2D in the future.

@tmilkovic51 I'm not working on it anymore...feel free to submit your code.

https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/display/display_stm32_ltdc.c


any hint for notify

Hi,
I get the event data
event_type:` eta_webservices_error_detected
data:
  msg: Test
  priority: Error
  time: "2023-11-06T12:48:12"
  text: This is a test error.
  fub: Kessel
  host: <IP_ADDRESS>
origin: REMOTE
time_fired: "2023-12-01T08:50:45.733309+00:00"
context:
  id: 01HGJ95FB5B836G7WD82W1P6X6
  parent_id: null
  user_id: 91d7dde1fb254f8a9eda633c2756b352

but how can I use the data fields in automatisation?
alias: ETA error message
description: >-
  Sendet eine Nachricht, wenn der Pelletkessel einen Fehler meldet. Meldung
  erfolgt per Telegram und Email.
trigger:
  - platform: event
    event_type: eta_webservices_error_detected
condition: []
action:
  - service: notify.telegram_myhome
    data:
      title: ETA heating
      data:
        '{{trigger.event.data.text }}'

mode: single

has problems with the data dict...
any hints?
thanks

Hi,
According to the telegram integration page the telagram data field has to include at least the message field.
Your action should look like this (the title is optional):
action:
  service: notify.telegram_myhome
  data:
    title: "ETA error triggered"
    message: "The following error has been triggered: {{trigger.event.data.text}}"

Here is a working example automation using the system_log service:
alias: ETA Error Event
description: ""
trigger:
  - platform: event
    event_type: eta_webservices_error_detected
condition: []
action:
  - service: system_log.write
    data:
      level: warning
      message: "ETA Event triggered: {{trigger.event.data.text}}"
mode: single

You're welcome!


ErrorException@Authentication

Hi ,
I'm getting this error(see below). Is the AuthManager the correct class ? Cause the check methode only exisist in de Guard Class ?
ErrorException in Authentication.php line 29:
call_user_func() expects parameter 1 to be a valid callback, class 'Illuminate\Auth\AuthManager' does not have a method 'check'
This is happening when i set the log_user @ true , whitin the tracker config.
My other question is what is the purpose of the user_id, is this field to save the current logged in user?

@lemonbyte  any Updates with new release ?


updated deps

@niwinz Could you please merge and release this? We just freshen up the project dependencies. Thank you.

I can't it has conflict

Hmm.. Sounds strange. Github and local git are OK.
May you please provide more information about the conflict in repo?

Seems like github has some problem rebasing it, but mergin it is ok... Strange...
Ty


BAH-1879 | Added setup for IAM users admin access to EKS cluster

Cluster role setup that allows developers access to Cluster resources
IAM role setup and identity mapping in EKS cluster
IAM group setup that has AssumeRole Policy attached

Since we are creating an identity mapping for the system:masters group, I think that we don't need to create a new cluster role and a cluster role binding.

Since we are creating an identity mapping for the system:masters group, I assume that we don't need to create a new cluster role and a cluster role binding. @umair-fayaz Is my assumption right ?

The identity mapping for system:masters has been removed and Cluster Role and Cluster Role Binding updated.


Update useEffect.md - The explanation on the timing of useEffect() callback doesn't seem to be accurate.

on React.dev useEffect(), it says

If your Effect wasn’t caused by an interaction (like a click), React will let the browser paint the updated screen first before running your Effect.

But after digging into the React source code I found this is not 100% accurate, since even for Effects not caused by interactions, they still might be flushed earlier before paint. For example Effects hoisted by Layout Effects, or if Scheduler has enough time internally.  (I've put the findings on my blog).
So I'd suggest we make the statement more accurate to

Most of the time React will let the browser paint the updated screen first before running your Effect. React might run your Effect before browser paint if it is more important(for example, if it is triggered by interactions or under Layout Effects) or simply React has the available time internally to do so.

@rickhanlonii any chance you can take a look?


Audio and Video device manager errors

Describe the bug
every time I call a method from the video device manager or audio device manager I get an exception.
To Reproduce

obtain a video audio reference or a video audio reference
Call (for example) "getDevice" from "VideoDeviceManager"

Expected behavior
The device
Screenshots

Smartphone (please complete the following information):

Device: iPhone 11
OS: IOS 16

The AudioDeviceManager/VideoDeviceManager only supports desktops.


no documentation about the mnemonic from/to private key

https://github.com/threefoldtech/rivine/commit/514a85a13c346c3d449dde7051bbb66266ef7c68


⚠ Bofrost.de has degraded performance

In 6274ecf, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 865 ms

Resolved: Bofrost.de performance has improved in 7053a48 after 4 minutes.


Data Model Migeration

Hello Code Reviewer;
I hope you are doing great!
In this Milestone;
Build Ruby On Rails App
Create Models by command "rails generate model User.
Migeration by rails db:migerate
Thanks 🙏 for taking the time to review my PR and Stay Blessed. ⭐

Hi @GhostEsso,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Git flow Not Used ⚠

Pull request is to be made from the feature branch into the develop or dev branch not into the main or master branch

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag @topeogunleye in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


buildReactNdkLib error while building from source post<EMAIL_ADDRESS>

[Yes followed instructions @ https://facebook.github.io/react-native/docs/building-from-source.html#building-the-source ] I have reviewed the documentation
[ Yes ] I have searched existing issues
[  Using 0.55.0 stable release] I am using the latest React Native version

As I made some changes in ReactAndroid code, I am building from the source from version 0.52.0
Recently I have upgraded to @latest release 0.55.0, the build from source is failing in :react-native-android:buildReactNdkLib step of the compilation.
Here is the error from console
[armeabi-v7a] Compile++ thumb: fb <= jni_helpers.cpp
[armeabi-v7a] Compile++ thumb: fb <= LocalString.cpp
[armeabi-v7a] Compile++ thumb: fb <= OnLoad.cpp
[armeabi-v7a] Compile++ thumb: fb <= References.cpp
[armeabi-v7a] Compile++ thumb: fb <= WeakReference.cpp
[armeabi-v7a] Compile++ thumb: fb <= log.cpp
[armeabi-v7a] Compile++ thumb: fb <= lyra.cpp
[armeabi-v7a] Compile++ thumb: fb <= onload.cpp
[armeabi-v7a] Compile++ thumb: yogacore <= Utils.cpp
[armeabi-v7a] Compile++ thumb: yogacore <= YGEnums.cpp
[armeabi-v7a] Compile++ thumb: yogacore <= YGLayout.cpp
[armeabi-v7a] Compile++ thumb: yogacore <= YGNode.cpp

C:/Users/palakart/WorkSpace/RNDemo-master/RNApp/node_modules/react-native/ReactAndroid/../ReactCommon/yoga/yoga/YGEnums.cpp:226:1:
fatal error: opening dependency file C:\Users\palakart\WorkSpace\RNDemo-master\RNApp\node_modules\react-native\ReactAndroid\build\tmp\buildReactNdkLib/local/armeabi-v7
a/objs/yogacore/C_/Users/palakart/WorkSpace/RNDemo-master/RNApp/node_modules/react-native/ReactAndroid/__/ReactCommon/yoga/yoga/YGEnums.o.d: No such file or directory}
compilation terminated.
[armeabi-v7a] Compile++ thumb: yogacore <= YGNodePrint.cpp

C:/Users/palakart/WorkSpace/RNDemo-master/RNApp/node_modules/react-native/ReactAndroid/../ReactCommon/yoga/yoga/Utils.cpp:51:1:
fatal error: opening dependency file
C:\Users\palakart\WorkSpace\RN-Demo-master\RNApp\node_modules\react-native\ReactAndroid\build\tmp\buildReactNdkLib/local/armeabi-v7a/objs/yogacore/C_/Users/palakart/WorkSpace/RN-Demo-master/RNApp/node_modules/react-native/ReactAndroid/__/ReactCommon/yoga/yoga/Utils.o.d: No such file or directory
 }
 ^

When I try to downgrade to 0.52.0 it is working fine.
The yogacore folder is never seen in the build\tmp\buildReactNdkLib/local/armeabi-v7a/objs/yogacore folder. Please suggest.
Environment
Environment:
OS: Windows 10
Node:
Yarn: Not Found
npm:
Watchman: Not Found
Xcode: N/A
Android Studio: Not Found
Packages: (wanted => installed)
react: 16.3.0 => 16.3.0
react-native: ^0.55.0 => 0.55.0
Steps to Reproduce
Change react-native version to 0.55.0 (or) 0.54.0 and try to build from source
Expected Behavior

Actual Behavior

@hramos Can you let me know if anyone of the contributors can look into this. Thanks

+1
I have upgrade react-native 0.50.0 to 0.55.0, and the build from source is failing in :react-native-android:buildReactNdkLib step of the compilation.
Build from source in  0.50.0 is fine.
Here is the error from console
25>E:/My_project_path/node_modules/react-native/ReactAndroid/../ReactCommon/yoga/yoga/YGEnums.cpp:226:1: fatal error: opening dependency file E:\My_project_path2\ReactAndroid\tmp\buildReactNdkLib/local/armeabi-v7a/objs/yogacore/E_/My_project_path/node_modules/react-native/ReactAndroid/__/ReactCommon/yoga/yoga/YGEnums.o.d: No such file or directory
25> }
25> ^
25>compilation terminated.
25>make.exe: *** [E:\My_project_path2\ReactAndroid\tmp\buildReactNdkLib/local/armeabi-v7a/objs/yogacore/E_/My_project_path/node_modules/react-native/ReactAndroid/__/ReactCommon/yoga/yoga/YGEnums.o] Error 1
25>make.exe: *** Waiting for unfinished jobs....
25>E:/My_project_path/node_modules/react-native/ReactAndroid/../ReactCommon/yoga/yoga/Utils.cpp:51:1: fatal error: opening dependency file E:\My_project_path2\ReactAndroid\tmp\buildReactNdkLib/local/armeabi-v7a/objs/yogacore/E_/My_project_path/node_modules/react-native/ReactAndroid/__/ReactCommon/yoga/yoga/Utils.o.d: No such file or directory
25> }
25> ^
25>compilation terminated.
25>make.exe: *** [E:\My_project_path2\ReactAndroid\tmp\buildReactNdkLib/local/armeabi-v7a/objs/yogacore/E_/My_project_path/node_modules/react-native/ReactAndroid/__/ReactCommon/yoga/yoga/Utils.o] Error 1
25>make.exe: Leaving directory `E:/My_project_path/node_modules/react-native/ReactAndroid/src/main/jni/react/jni'
25>:ReactAndroid:buildReactNdkLib FAILED
25>
25>FAILURE: Build failed with an exception.
25>
25>* What went wrong:
25>Execution failed for task ':ReactAndroid:buildReactNdkLib'.
25>> Process 'command 'C:\ProgramData\Microsoft\AndroidNDK64\android-ndk-r10e\ndk-build.cmd'' finished with non-zero exit value 2
25>

I have try 0.52.0 ,is OK. 0.53.0

@woshi82 Yes even I'm stuck at 0.52.0 and no other latest build is working. From that error I understand that an ndk folder is missing from the source code. I hope react native core team is aware of this issue 😢
Let me know if you can find any alternative solution for this.

This is an issue with the windows MAX_PATH.  Even if you enable long paths in Windows 10, the android-ndk-r10e will not interpret the paths correctly.  This is not an issue with react-native, it's an issue with the NDK.  There have been efforts to fix the issue in portions of the toolchain (android-ndk/ndk/issues/478).  I don't really comprehend the stack over there, and I can't immediately invest the time to figure out what needs to be changed.  I can confirm it has been fixed in some of the tools even in android-ndk-10e (llvm-3.6/prebuilt/windows-x86_64/bin/clang++.exe seems to work for me!), but not enough of them to work in this context.
I put more yammering into my stackoverflow response to the same issue, which is where this problem fits more naturally, I even recommend several ways to work around the issue effectively.
This issue should probably be closed here.

Yeah, it's work for me. Thank you.
I am in window 10.
Just set the buildDir ' s value in build.gradle of my android root project more near to the root dir.
// build.gradle

allprojects {
    repositories {
        ....
    }
   buildDir = "../../../../../../../../BuildOutput/${rootProject.name}/${project.name}"
}

Closing since @ej3 provided the valid solution, thanks Evan.


Unable to load client

I can't seem to load the client I have reinstalled multiple times and nothing works
client.log
launcher.log

The error in your client logs is the same as the one from our troubleshooting wiki page:

If you see Error loading RS! in the client.log you are unable to get the osrs client from jagex. The error will be accompanied by an exception

SocketTimeoutException: timeout - this means the connection took too long to either connect or receive any data, most of the time caused by a slow or inconsistent internet connection, you can try resetting your network or maybe using a VPN.

Closing as no updates have been posted. Please reply back if the above troubleshooting steps did not change anything.


the compile error

Hi,thanks for your work,it'sgreat.But I meet a error when i  try to compile it:
-ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-cpython-37/tree_filter_cuda.cpython-37m-x86_64-linux-gnu.so
/home/share/lihaoyu/anaconda3/envs/sas/compiler_compat/ld: cannot find -lc10: not found
/home/share/lihaoyu/anaconda3/envs/sas/compiler_compat/ld: cannot find -ltorch: not found
/home/share/lihaoyu/anaconda3/envs/sas/compiler_compat/ld: cannot find -ltorch_cpu: not found
/home/share/lihaoyu/anaconda3/envs/sas/compiler_compat/ld: cannot find -ltorch_python: not found
/home/share/lihaoyu/anaconda3/envs/sas/compiler_compat/ld: cannot find -lc10_cuda: not found
/home/share/lihaoyu/anaconda3/envs/sas/compiler_compat/ld: cannot find -ltorch_cuda: not found
my environment:
torch1.7.1
cuda10.1
gcc7.5.0
Look forward to your answer!😄

Did you try to compile without these flags? i.e, "-ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda"

Did you try to compile without these flags? i.e, "-ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda"

Same issue. How to complie without these flags? Could you explain it in detail? Thanks a lot!


Gitlab version bump

Things done:
(http://nixos.org/nixos/manual/options.html#opt-nix.useChroot) on NixOS)

[ X] Built on platform(s): NixOS / Linux

cc @globin @fpletz

Ah you found the mail sending bug :heart:
Already tried finding that but didn't see the typo :hear_no_evil:
Generally we use the upstream Gemfile.lock and generate a new gemset.nix (adding the nulladapter) from there but should be find for this minor bump.

Should 10198b586e4c7a177b7922c511c0176051f730c4 be included in the release, seeing as it fixes a bug?

Yes, will you cherry-pick?

Sure. Do you want the version bump, too?

Yes, it's only a bugfix release. :+1:

Done

Generally we use the upstream Gemfile.lock

Oh dang sorry gents I am not a ruby developer. That would have saved me from writing a bunch of vim macros to get gem sha hashes for me :/

Cheers :beers:

For the record: I think we should backport all Gitlab version bumps to our latest stable release as most of them contain important fixes. Gitlab is moving fast (1 release per month) and old versions won't get security fixes.

:+1:


Docs: Fix TOC visibility when navigating to packages

Signed-off-by: Garry Ing<EMAIL_ADDRESS>What this PR does / why we need it
Fixes an issue where the TOC closes when visiting the readme for a package. Packages will remain expanded as a package readme is opened.
Details for the Release Notes (PLEASE PROVIDE)

Which issue(s) this PR fixes

Fixes: #1776
Describe testing done for PR

hugo server --disableFastRender
Navigate to a package: e.g. /docs/latest/package-readme-cert-manager-1.3.3/
Note the Packages remains expanded

Special notes for your reviewer

thanks @garrying - great to get this fixed.

Apologies, was cleaning up branches in my fork.