Show available rentals

Add table to Rentals form that displays the number of available items for each item type

My only gripe with this currently is that there doesn't seem to be a way to make it so that the user sees available items specifically for the date range they have selected.
My original plan was to get a list of reservations and cross-reference these reservation dates with the user-selected dates to get an accurate number of available items based on the user-selected dates.  However, the end point on aggressive-epsilon for getting reservations for a date range returns a JSON of ONLY the start and end dates of the reservation - there is no indication of which item the reservation dates belong to.
Unless someone knows a better way to do this, I'm throwing the code as is up for MVP.  The improvement that I wanted to implement would depend on first making an update to aggressive-epsilon to get a more informative list of reservations.


How do you update the form title?

I am updating an application to use this form design, but when I try to update the form title I don't see the change. It seems to always stay the same as when the application was launched.

Are you talking about at the top of the form, see screenshot...

Yes, and nevermind. It is 95 in my office because the AC is out and I made a huge noob mistake. I was chaning name instead of text. I really hate the hot weather.


[cocoon] Support checksuite rerun event

GitHub rolled out the rerun functionality for an entire checksuite. Cocoon currently only supports individual checkrun reruns, and this can be extended to support the GitHub functionality.
This is being used by the skia autoroll, but isn't making any changes.

Closing because the bug has not been updated for more than one year.
Feel free to reopen any bugs that you believe are important but please provide updates on how to resource the fix of the bug and what can be done to prevent the issue from not getting updates for another year.


WFLY-4508 & WFLY-4547 Updates to wildfly-undertow_1_2.xsd missing

Windows Build 1428 is now running using a merge of ccddc529b2aed00c104774208ce43e87b57552ed

Linux Build 6349 is now running using a merge of ccddc529b2aed00c104774208ce43e87b57552ed

Linux with security manager Build 1277 is now running using a merge of ccddc529b2aed00c104774208ce43e87b57552ed

Linux with security manager Build 1277 outcome was SUCCESS using a merge of ccddc529b2aed00c104774208ce43e87b57552ed
Summary: Tests passed: 824, ignored: 356 Build time: 0:05:15

Linux Build 6349 outcome was SUCCESS using a merge of ccddc529b2aed00c104774208ce43e87b57552ed
Summary: Tests passed: 2857, ignored: 412 Build time: 0:46:27

Windows Build 1428 outcome was SUCCESS using a merge of ccddc529b2aed00c104774208ce43e87b57552ed
Summary: Tests passed: 2857, ignored: 412 Build time: 0:46:42

Linux Build 6351 is now running using a merge of 8bd68c8fb53b6dffdf968bb759cc2da50c869bab

Windows Build 1430 is now running using a merge of 8bd68c8fb53b6dffdf968bb759cc2da50c869bab

Linux with security manager Build 1279 is now running using a merge of 8bd68c8fb53b6dffdf968bb759cc2da50c869bab

Linux with security manager Build 1279 outcome was SUCCESS using a merge of 8bd68c8fb53b6dffdf968bb759cc2da50c869bab
Summary: Tests passed: 824, ignored: 356 Build time: 0:04:50

Linux Build 6351 outcome was SUCCESS using a merge of 8bd68c8fb53b6dffdf968bb759cc2da50c869bab
Summary: Tests passed: 2856, ignored: 412, muted: 1 Build time: 0:47:10

Windows Build 1430 outcome was SUCCESS using a merge of 8bd68c8fb53b6dffdf968bb759cc2da50c869bab
Summary: Tests passed: 2857, ignored: 412 Build time: 0:48:18


functional-test: add advance network failure cases

add more network failures such as packet corruption, reordering, loss, and network partition.
resolve #5614

Some of these faults make sense but not by manipulating data frames with tc:

packet corruption-- tcp corrects for it most of the time. If there's a crc collision and bad data gets through, there's no controlling for it (e.g., bit in key name is flipped).
packet loss-- tcp corrects or drops the connection; etcd will only see delays or disconnects.
packet reordering-- same as above

Since tcp corrects most of the faults, these work better at the tcp level:

packet corruption-- Intercept data over a tcp connection and retransmit with a bit flipped over tcp. When running in TLS mode, if any packet is corrupted, the connection must be dropped. Otherwise, it's open to MITM attacks.
packet loss-- Mix of latency and disconnections (unclear what the tuneables would be to hit interesting paths).
packet reordering-- Intercept data from many connections, buffer for a while, then retransmit the buffered data in some controlled order (e.g., round robin). This would reorder messages across the entire cluster.

There's already a small proxy that does the above, but it's not wired to the functional-tester:
https://github.com/coreos/etcd/tree/master/tools/local-tester/bridge

@fanminshi
See https://github.com/coreos/etcd/issues/5614#issuecomment-225051126.
I agree with @heyitsanthony. The more interesting test is reordering between multiple connections. You can do this at pkg level, but most of time you will reorder pkgs within one tcp connection.
@heyitsanthony aggressive pkg lost, corruption, recording might create some interesting corner cases randomly, but i am not convinced we should prioritize this now.


Keep finalize_list up-to-date during its walk

The mark-and-sweep finalizater execution code walks heap->finalize_list and calls finalizers for each object. The objects are unconditionally queued back to heap_allocated after the finalizer returns. Finally, heap->finalize_list is set to NULL, and the heap is back in a consistent set w.r.t. the object queues.
So during the process the heap object lists are not in sync; heap->finalize_list is essentially in an out-of-sync state. This works correctly because the heap->finalize_list pointer isn't needed by anything during finalization; in particular, nothing is queued into it during mark-and-sweep finalization.
However, duk_push_heapptr() has an assert that ensures the pointer argument is not an unreachable object which is in the finalize_list and that assertion is broken in certain conditions:

When the first finalizer executes, everything goes correctly.
When the finalizer returns, the object is queued into heap_allocated.
However, heap->finalize_list still points to that first object.
When the next finalizer executes, and the finalizer function calls duk_push_heapptr(), the heap->finalize_list asserts are walking heap objects starting from the first object -- which is now in heap_allocated. The asserts can then faily mysteriously.

See https://github.com/svaarala/duktape/issues/1311#issuecomment-274303648.
To be clear, this should have no functional impact with asserts disabled. With asserts enabled a bogus assertion failure can occur in the above conditions.

@harold-b Could you try if your assert issues are fixed by this? :)

Alright, will do -- Just a sec.

Big :heart: to @harold-b for providing a repro case to hunt this down :-)

Worked like a charm!!

Big :heart: to @harold-b for providing a repro case to hunt this down :-)

Glad I could be of service, Sami :)


not work for this example

using:
var srcFolderName=Console.ReadLine();
AskQuestion($"Path is :{srcFolderName:red} ??")
public static string AskQuestion(string question)
{
CConsole.WriteLine($"{question}");
}

it is bcz you turn FormattableString  into string by accepting string as an argument,
CConsole actually needs FormattableString  itself in order to process
You can try this one
... AskQuestion(FormattableString question)
{
       CConsole.WriteLine(question);
}

In certain situations, the modification of a method's signature is not something that can be easily changed.


/Index can not be displayed

I am trying to run ridpt in a docker container unsing LEMP with external DB.
So far I was able to run the page and register a new account.
But after the Login, the page redirects me to /Index (gues login worked) and then the Index page can not be reached ("This site cant be reached"). Sometimes the whole container crashes trying to access this page.

Unfortunately even with the changes in 82977ea (Response.php) this error still occurs in my setup.


[RESTEASY-2522] Catch ConstraintViolationException in

GeneralValidatorImpl.checkForConstraintViolations()
[RESTEASY-2522] Catch ConstraintViolationException in
GeneralValidatorImpl.checkForConstraintViolations()
[RESTEASY-2522] Add integration test.

This replaces https://github.com/resteasy/Resteasy/pull/2325. It has the same code changes but adds an integration test.


[Android] children are not rendering, after upgrading versions

Environment
[Android]
windows 10
node 15.10
"react": "17.0.1",
"react-native": "0.64.0",
"react-native-pager-view": "^5.1.4",
"react-native-tab-view": "^3.0.1",
Description
children of react-native-tab-view do not appear!
this message while compiling!
> Task :react-native-pager-view:compileDebugKotlin w: <projectFolder>\node_modules\react-native-pager-view\android\src\main\java\com\reactnativepagerview\PagerViewViewManager.kt: (74, 9): Condition 'child == null' is always 'false' w: <projectFolder>\node_modules\react-native-pager-view\android\src\main\java\com\reactnativepagerview\PagerViewViewManager.kt: (152, 11): 'receiveCommand(T, Int, ReadableArray?): Unit' is deprecated. Deprecated in Java w: <projectFolder>\node_modules\react-native-pager-view\android\src\main\java\com\reactnativepagerview\PagerViewViewManager.kt: (158, 24): Unnecessary non-null assertion (!!) on a non-null receiver of type EventDispatcher w: <projectFolder>\node_modules\react-native-pager-view\android\src\main\java\com\reactnativepagerview\PagerViewViewManager.kt: (163, 24): Unnecessary non-null assertion (!!) on a non-null receiver of type EventDispatcher

Maybe you could add any example code? And I think this issue shoud be inside react-native-tab-view repo, not here.

Maybe you could add any example code? And I think this issue shoud be inside react-native-tab-view repo, not here.

the issue was I am passing the tab view inside of a scrollview, so don't do my mistake


Replace ccipread.CCIPReadProvider with latest ethers

Please correct me if I'm wrong, but since ccip-read support has already landed on ethers-js, it should be possible to drop the "@chainlink/ethers-ccip-read-provider" package from 'examples/trusted-gateway-token/client/src/index.ts', and use purely ethers-js.
Furthermore since CCIP-read is a protocol, I'd expect the examples here to work interchangeably with ethers. Even the @chainlink/ethers-ccip-read-provider project descript itself says it is deprecated in favour of ethers and users should use ethers instead.
I've tried replacing @chainlink/ethers-ccip-read-provider with ethers in the example client, but didn't have success thus far.
Are there incompatibilities between this demo and the way CCIP-read is implemented in ethers-js?

In my first attempt, it seems ethers.js halts on the first exception thrown from the smartcontract (instead of proceeding with the lookups based on the provided URLs from the exception).
I've created https://github.com/ethers-io/ethers.js/issues/3240 to understand how to properly enable ccip-read, but if anyone here knows how to do this please let me know. Thanks.

Ok, I managed to get it working using only ethers, but its a little bit weird:
For the "balanceOf" calls, I had to add the { ccipReadEnabled: true} parameter (otherwise ethers would not make the subsequent requests. However, I cannot add the same parameter to the "transfer" call. So for it to work in the end I had to:
console.log(`SENDER ${sender} balance ${await erc20.balanceOf(sender, { ccipReadEnabled: true })}`);
console.log(
    `RECIPIENT ${RECIPIENT} balance ${await erc20.balanceOf(RECIPIENT, { ccipReadEnabled: true })}`
  );
const tx = await erc20.transfer(RECIPIENT, amount);
await tx.wait();
  console.log(`SENDER ${sender} balance ${await erc20.balanceOf(sender, { ccipReadEnabled: true })}`);
  console.log(
    `RECIPIENT ${RECIPIENT} balance ${await erc20.balanceOf(RECIPIENT, { ccipReadEnabled: true })}`
  );

Since there is no documentation about this in ethers yet, I'm not sure if this is a bug or not. Thoughts?


Default BOSH version discussion

Now bosh is default to v1 and bosh2 is set for v2. Since genesis V2 only works with bosh v2, it makes sense to make v2 as default BOSH, and make bosh v1 optional

We should remove the ruby CLI altogether, and just install the Go CLI as bosh.


README: consider removing discussion of stale branches

The bottom of the README contains mentions to development, attributed-3.0 branches; but it appears that those are stale and all development is actually happening on master (which is fine). I was confused by this. Please consider removing the stale branches and this information from the README.

@natan Good eye! I just did! Thanks so much for pointing this out!!

@Nirma Thanks!


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

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

/check-enforcer override
Failure unrelated to this PR.


PCA polish image

fake_image_list  is defined in line 15, why is it set to an empty list in line 21?

How can I modify the code of PCA_polish_image.py to get the polished image directly like KSVD_polish_image.py instead of STGAN_detail_image_array_224_224_Bald_PCA? Because I need to calculate PSNR and SSIM.

Can you make the file pca_model_224_10000.pkl public? Or send it to my email<EMAIL_ADDRESS>or upload it to the network disk. due to insufficient experimental equipment, I cannot reproduce your experimental results well.

For the first question, please delete the code in line 21. It is a mistake.
For the second question, it is hard to answer for that the question is not concrete.
For the third question, since the model is large, I have not downloaded it from the server to my computer. One day when the disk of the server is almost full, I delete the model and only retain the codes. Maybe you can calculate it with some cloud services. Since the code totally relies on the CPU, it is not so difficult to find the computer resources.
If you have any other questions, do not hesitate to let me know. Thank you!

I mean, when running PCA_polish_image.py, I want to be able to input a png image and the output is also a png image. But now only get "STGAN_detail_image_array_224_224_Bald_PCA", so I can't calculate PSNR and SSIM.


Warnings about PropTypes  and React.createClass

Just cloned and did npm install and when it compiles, console shows:
Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.

Warning: RouterContext: React.createClass is deprecated and will be removed in version 16. Use plain JavaScript classes instead. If you're not yet ready to migrate, create-react-class is available on npm as a drop-in replacement.

It did not do it a couple of days ago, i am guessing its something new?

Yep, FB merged a huge PR recently. Will fix, PR is also welcome.

Newest version of react is moving prototypes and createclass to its own package

All our React classes are ES6, this warning is coming from react-router, please file an issue there.

https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html

Thanks for reporting. I opened the PR, other than that we will have to wait for all dependencies to update. If this problem persists in two weeks, feel free to reopen, so that we find a workaround.


merge in leftist theme

Coverage decreased (-0.03%) to 69.618% when pulling 5e98ee900001d5256c65ff232988185ff7e3de6a on master into 80c79796533824b84059bc7ad3a6057d6ee92d3b on production.


Consolidate Integration Tutorials I vs. II

About
On both pages listed below, we are referring to Integration Tutorials I vs. Integration Tutorials II. It needs to be consolidated.
References

https://cratedb.com/docs/guide/home/
https://cratedb-guide--98.org.readthedocs.build/migrate/rockset/

Hereby, we are making a start on this refactoring process.

https://github.com/crate/cratedb-guide/pull/150

NB: We will share a few patches as we go, that can be used as blueprints to learn how the refactoring works. Because it's all Markdown, it works pretty straight-forward on the first iteration when copying content verbatim.
/cc @surister, @kneth


Page css override in PaginationItem component doesn't work

In the MUI docs of Pagination Item there's a specific css override attribute for "page" type items. It seems like the override doesn't work as expected and uses that css as "root" (or something else that doesn't compare the item type to "page").

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
As you can see in the demo, I used "page" override but it doesn't override the css properly. I had to add the item.type === "page" condition to make it work.
demo: https://codesandbox.io/s/material-demo-forked-l1kso?file=/demo.js:947-967

Expected Behavior 🤔
I expected to remove the condition for item type and simply use "page" atrribute.

Steps to Reproduce 🕹

Steps:

Simply enter the demo (https://codesandbox.io/s/material-demo-forked-l1kso?file=/demo.js:947-967)
Remove the condition for item type.

Context 🔦

Your Environment 🌎

`npx @material-ui/envinfo`
  Don't forget to mention which browser you used.
  Output from `npx @material-ui/envinfo` goes here.

@lidorbt We should probably never have allowed developers to customize the pseudo-classes. It seems to create more frustration than to help. You can do:
    "&.Mui-selected": {
      backgroundColor: "black"
    }

https://codesandbox.io/s/material-demo-forked-il3mz?file=/demo.js:374-434

@lidorbt We should probably never have allowed developers to customize the pseudo-classes. It seems to create more frustration than to help. You can do:
    "&.Mui-selected": {
      backgroundColor: "black"
    }

https://codesandbox.io/s/material-demo-forked-il3mz?file=/demo.js:374-434


One more thing, would it be possible to share the unity asset project used to make the assetbundle?

I'm having fun tweaking with the code, but would like to also look into changing somethings with the assetbundle, but its been messy trying to reverse-engineer the assetbundle. If you aren't comfortable with this request its all good.

Sorry, just now saw this.
I will send you a partial file list, it won't include the game scripts or the game's scriptable objects, and some stuff may not link properly. You'll still need to do the normal set-up of asset ripping, guid-patching, and using the LC template for anything that is missing (or use my latest patching tool).
I just ask that you do not re-distribute the unity files I'm giving 👍
RollingGiant_PartialFiles.zip


Add inline contact info for pkgreview badge

Refs https://github.com/badges/shields/issues/4641#issuecomment-727176687

Warnings

:warning:
This PR modified service code for pkgreview but not its test code. That's okay so long as it's refactoring existing code.

Messages

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

  Generated by :no_entry_sign: dangerJS against 26460a79470dd3155d25539b4d7d7e82855e4457


Feature: Git log current file > Show file at commit

Fixes issue #328
moved array in self.window.show_quick_panel() and stored in options_array  so that additional options may be added conditionally

Sorry to keep you waiting - holidays got in the way!  I made a few comments - ping me when you've addressed them, and I'll give it a second pass.  Thanks for the contribution!

Getting really close!  You mentioned in chat that you moved the new commands to a new module.  That's fine.  Ping me here in the PR when that change has been pushed, as well as any changes for the comment.  Thanks!

I rebased into a single commit and then fixed a merge conflict to account for the new SHOW_COMMIT_TITLE = "{}:{}" change.

This looks great.  Thanks again!


[Admin] Rework the pending stalls approval process to be more informative

Make more obvious that you need to merge stall info in two of the scenarios. Talk to H about the UX of this. It's not obvious enough currently what actions you you need to take.  :)
And work on the UX of reconciling and copying across when on mobile. e.g. Buttons to copy across and replace a whole field? Buttons to copy the text of a field on the stall?
If the pending stall is an edit or for a booth that already has info prompt users to confirm when saving that they haven’t made any changes.
Refer to the Admin User Guide.
AB#64

Closing and merging into https://github.com/keithamoss/demsausage/issues/1335


Routing documentation uses Typescript snippets

AsyncRoute: https://angular.io/docs/dart/latest/api/angular2.router/AsyncRoute-class.html
AuxRoute: https://angular.io/docs/dart/latest/api/angular2.router/AuxRoute-class.html
Route: https://angular.io/docs/dart/latest/api/angular2.router/Route-class.html

Closed by https://github.com/dart-lang/angular2/issues/211
Thanks!


Fix Uncaught TypeError: Cannot read properties of undefined (reading …

…‘indexOf’)
When creating a link for a css chunk to be loaded, src is missing. The href is set previously, so we can get via the URL the origin, which is what we need to compare here.

What kind of change does this PR introduce?

Bugfix
Did you add tests for your changes?
No

Does this PR introduce a breaking change?

What needs to be documented once your changes are merged?

@janlent1 Sorry for delay, can you add a test case?

Closing due to inactivity. Thanks!


Add spanner types

The spanner types can now be moved into the public proto-client-php repo for development

Anything we should be concerned about? If not, LGTM

Nope just moving as they were into the public repo after the spanner launch


newly added drowned incompatility with Upgrade Aquatic's drowned swiming animation

they look like they're praying

Praying to..........the drowned necromancer?


[Enhancement]: Photometry Routines

As we've been discussing for a while, we need photometry methods for the simultaneous photometry from NIRCam and from specific photometry observations (e.g. Laura and I (through Tom Greene) each have TRAPPIST-1 photometry observations coming from MIRI). I believe @sebastian-zieba has already done most of the work of repurposing previous photometry code (POET based code I believe).
Code of Conduct

[X] I agree to follow this project's Code of Conduct

This has been partially addressed by PR #437 for NIRCam photometry, but photometry is still yet to be supported for other instruments


Fix sourceVersion on Heroku.

process.env.SOURCE_VERSION should return git rev-parse HEAD on Heroku

Hi @steida, for fun I tried deploying my fork to my Heroku account and the process.env.SOURCE_VERSION check did not work.
In fact checking the latest vars by Heroku HEROKU_SLUG_COMMIT seems to do the job to. BUT there is a problem with the git detection and docker. While running docker that check fails and you guys explicitly removed git from the base image in the Dockerfile.
const gitIsAvailable = !process.env.HEROKU_SLUG_COMMIT; // Heroku detection.

This check seems to me a bit weak to actually check that git is available. Why not simply something like this?
import args from './support/args';
import gulp from 'gulp';
import { execSync } from 'child_process';
import commandExists from 'command-exists';

gulp.task('env', (done) => {
  process.env.NODE_ENV = args.production ? 'production' : 'development';
  // The app is not a library, so it doesn't make sense to use semver.
  // este uses appVersion for crash reporting to match bad builds easily.
  commandExists('git', (err, commandExists) => {
    if (commandExists) {
      process.env.appVersion = execSync('git rev-parse HEAD').toString().trim();
    }

    done();
  });
});


Collect PS API endpoints and set up haproxy test instance

This is required to forward traffic to Prio for #418


use rewritten introspection in migration engine

The rewrite for the SQL database introspection is done and is available here. This new introspection is more mature and will serve as a foundation to lift limitations in the current implementation of the migration engine.

Status: The code has been adapted but some tests are failing due to newly discovered bugs in the introspection. Will wait for the fixes for the introspection and then those changes can be merged.
PR: https://github.com/prisma/prisma/pull/4835


openjdk platform problem?

It seems that the wsl nixos project is trying to use the windows native version of the jdk. (In my personal opinion, it's much better (because it's really convenient if you do nix to generate the clojure version binary that the company is using).
If I'm right,
For using openjdk (windows version) within wsl nixos.
stdenv.isWSL I wish there was a nix code like this.
Thank you
https://github.com/jlesquembre/clj-nix/issues/30

The detection method of openjdk is not that great but wslpath is included since https://github.com/nix-community/NixOS-WSL/commit/e4e8d92082d19a6ea5cf7f46530e8c2e37faded5


add a few items, and associate with the model

$request->all()
array:3 [   1 => array:4 [     "id" => "94"     "name" => "name"     "price" => "554.83"     "qty" => "1"   ]   2 => array:4 [     "id" => "95"     "name" => "name"     "price" => "334.35"     "qty" => "1"   ]   3 => array:4 [     "id" => "96"     "name" => "name"     "price" => "298.35"     "qty" => "1"   ] ]
Cart::add($request->products)->associate('App/Product');
FatalErrorException in CartController.php line 192: Call to a member function associate() on array
How to associate with the model?

Well, as the error states, you get back an array (of CartItems). So just loop over the array and call associate on each CartItem

Which makes sense to add an array of products, if then to connect all the same to make a loop?

Well that's the way to do it right now.  Nothing more I can do for you at the moment


"api/series" uses too much memory

Bug Report
What did you do?
Send series query like: /api/v1/series?match[]={le!=""}
What did you expect to see?
Well, this is a very heavy query, so I expect Prometheus to hit timeout or other limits.
What did you see instead? Under which circumstances?
The query is executing for ~30 mins until Prometheus is OOM killed.
Normally Prometheus use ~25Gb of memory. This query forces to use more than 90Gb.
Here is memory usage graph:

Disk read:

Environment
We deploy Prometheus to Kubernetes using Prometheus Operator
@brian-brazil

What version of Prometheus is this?

2.9.1 build with go1.12.4

How many series does that match, and how many do you have in total? Have you tried 2.9.2?

@brian-brazil We don't know how many metrics match the source query (because it can't finish). But if pass start and end(100 seconds range): /api/v1/series?match[]={le!=""}&start=1557303607&end=1557303707. The query will:

Run for ~20 sec for the first byte;
Additionally, run for ~2 mins 20 sec to output 497Mb of data;
Return the result with 1357676 metrics.

That's for only 100 seconds range. If start/end is omitted query will run for all range (2 weeks). I assume that the source query won't return much more metrics, but it scans many metrics(le!="") for a long time range. And where is no memory/time limits for the query.

Sounds like what I fixed in https://github.com/prometheus/tsdb/pull/595, which will be in 2.10

Hey, @brian-brazil
It seems that /series endpoint implementation has no contexts propagation, maybe better to add ctx there and add timeouts? What do you think?

Given how the TSDB is currently implemented, it wouldn't make a difference.

We are hitting this issue on production. It seems like like /series endpoint can run for a very long time for certain queries, eventually OOMing the database (most of the memory is allocated for labels that would be returned by the endpoint). Based on the current implementation (v2.16) it looks like there is no timeout mechanism for the /series endpoint. What is the recommended solution for this problem?

I looked into this recently, and as it stands metadata queries are handled the same as normal queries which results in creating a chunk iterator which will page in the first chunk - taking a long time and potentially trashing the page cache. https://github.com/prometheus/prometheus/tree/series-hint has a potential fix.

I looked into this recently, and as it stands metadata queries are handled the same as normal queries which results in creating a chunk iterator which will page in the first chunk - taking a long time and potentially trashing the page cache. https://github.com/prometheus/prometheus/tree/series-hint has a potential fix.

Thanks @brian-brazil for taking a look at this. I'm wondering if there's any specific reason why a PR (based on your potential fix) hasn't been opened yet (eg. you found any issue). Thanks!

I've been looking into it and the latest code in master doesn't page in the chunks anymore. I think we might be in the clear and this can be closed. I'll write a benchmark soon for this.

I'm wondering if there's any specific reason why a PR (based on your potential fix) hasn't been opened yet (eg. you found any issue).

I didn't get around to it.

I'll write a benchmark soon for this.

I'm not sure a typical benchmark will catch this, as it's about page cache.

Also, even if this happens to have been fixed in TSDB we'll still want something like this for the sake of remote read.


US 02.05.01 As a player, I want QR codes to have a unique human readable name.

As a player, I want QR codes to have a unique human readable name.
Acceptance Criteria

Each QR code has a unique human readable name (generated?)
The player can view the name of the QR code in the information screen.
The name associated with the QR code will be visible in the list view screen

see  for an excel sheet ("list of species...") which a starter naming convention for converting hashcodes to unique names.

app will turn camera scanned text into code data pieces; one of which includes a human readable name (like "Zealous Ghost Landfowl")


Visdom crashes with numerical title

OS: Ubuntu 16.04
Browser: Chrome
Visdom version: 1.8.2
If the "title" property passed to a visdom plot contains a numeric value rather than a string, the client crashes without an error message and displays only the background.  I.e:
import torch
import visdom
vis = visdom.Visdom()
vis.line(X=torch.tensor([0]), Y=torch.tensor([1]), opts={'title': 'text'}) # works fine
vis.line(X=torch.tensor([0]), Y=torch.tensor([1]), opts={'title': 10}) # crashes

Python does not generate any message and the Javascript console shows:

Warning: Each child in an array or iterator should have a unique "key" prop.
TypeError: n.title.match is not a function
at main.js?v=124cf8f8086c9ff5a483f87179d1ea8d:35
at Array.map ()
at t.value (main.js?v=124cf8f8086c9ff5a483f87179d1ea8d:35)
at h (react-dom.min.js?v=950495cc51ccb90612cf0fe0bb44f8f3:130)
at beginWork (react-dom.min.js?v=950495cc51ccb90612cf0fe0bb44f8f3:134)
at d (react-dom.min.js?v=950495cc51ccb90612cf0fe0bb44f8f3:158)
at f (react-dom.min.js?v=950495cc51ccb90612cf0fe0bb44f8f3:159)
at g (react-dom.min.js?v=950495cc51ccb90612cf0fe0bb44f8f3:159)
at t (react-dom.min.js?v=950495cc51ccb90612cf0fe0bb44f8f3:167)
at x (react-dom.min.js?v=950495cc51ccb90612cf0fe0bb44f8f3:166)

This can be easily solved by casting the number to a string before passing it to the opts dict, however there is no error message that clearly points to the problem. Alternatively it could be silently cast to a string by visdom.
If you agree with either fix or have something else in mind I can prepare a PR.

Hi @RicCu - Thanks for bringing up this issue! I think in this case we should actually go with both: a noisy cast. Have a logger.warn if the user is passing something that isn't a string before the cast. This wins in both, as it allows use of the function even if somewhat improper, but prevents someone down the road from creating window 10 and window '10' and having everything break with no visible reason. I'd be happy to accept such a PR!


Endless loop lnd wallet and filtering blockchain

Hi All,
I had my node running for a few weeks and last week it crashed because of the under voltage issue. I fixed the under voltage issue and tried to recover the system. System starts ok, can unlock the wallet and after that it I get the Lightning Filtering Blockchain screen with ?/ 573137. After a while it goes back to the wallet unlock screen and loops endlessly. How can I resolve this?

Mine is looping as well but mine is the initial set up.

I flashed the card again, ran ./60finishHDD.sh, ran  70initLND.sh but the problem persists. Anybody got other suggestions?

Guys, nobody can help you if you don't supply detailed information about your problem ... and, open your own issue, don't post in someone else's issue:
See these:
https://github.com/rootzoll/raspiblitz#support
https://github.com/rootzoll/raspiblitz/blob/master/FAQ.md#how-do-i-generate-a-debug-report

my  generate debug report
*** RASPIBLITZ LOGS ***
blitzversion: 1.1
chainnetwork: bitcoin / main
18:30:46 up  2:01,  2 users,  load average: 0.59, 0.48, 0.41
*** CHAINNETWORK SYSTEMD STATUS ***
● bitcoind.service - Bitcoin daemon
Loaded: loaded (/etc/systemd/system/bitcoind.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2019-04-25 16:30:22 BST; 2h 0min ago
Process: 812 ExecStart=/usr/local/bin/bitcoind -daemon -conf=/home/bitcoin/.bitcoin/bitcoin.conf -pid=/home/bitcoin/.bitcoin/bitcoind.pid (code=exited, status=0/SUCCESS)
Main PID: 830 (bitcoind)
CGroup: /system.slice/bitcoind.service
└─830 /usr/local/bin/bitcoind -daemon -conf=/home/bitcoin/.bitcoin/bitcoin.conf -pid=/home/bi…id
Apr 25 16:30:22 Txxxxxxx systemd[1]: Starting Bitcoin daemon...
Apr 25 16:30:22 Txxxxxxx systemd[1]: Started Bitcoin daemon.
*** LAST 5 ERROR LOGS ***
-- Logs begin at Thu 2019-04-25 16:29:17 BST, end at Thu 2019-04-25 18:30:46 BST. --
Apr 25 16:30:22 Txxxxxxx systemd[1]: Starting Bitcoin daemon...
Apr 25 16:30:22 Txxxxxxx systemd[1]: Started Bitcoin daemon.
*** LAST 20 INFO LOGS ***
2019-04-25T16:42:48Z ping timeout: 1200.044013s
2019-04-25T16:43:01Z socket recv error Connection reset by peer (104)
2019-04-25T16:43:02Z socket recv error Connection reset by peer (104)
2019-04-25T16:44:30Z UpdateTip: new best=000000000000000000123dbb26a8551c611b7f218522706ce31fe60b9f70bcb3 height=573202 version=0x20400000 log2_work=90.5763 tx=406246404 date='2019-04-25T16:44:21Z' progress=1.000000 cache=16.1MiB(143183txo) warning='38 of last 100 blocks have unexpected version'
2019-04-25T17:02:54Z socket receive timeout: 1201s
2019-04-25T17:03:06Z socket recv error Connection reset by peer (104)
2019-04-25T17:04:08Z socket send error Connection reset by peer (104)
2019-04-25T17:06:36Z ThreadRPCServer incorrect password attempt from <IP_ADDRESS>:45696
2019-04-25T17:10:39Z socket send error Connection timed out (110)
2019-04-25T17:12:27Z socket recv error Connection timed out (110)
2019-04-25T17:12:51Z socket recv error Connection reset by peer (104)
2019-04-25T17:14:44Z ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader:<PHONE_NUMBER>00001daed8bac77bdf571441649e51732e91bec984cf97a39005a1, bad-diffbits, incorrect proof of work (code 16)
2019-04-25T17:15:31Z UpdateTip: new best=00000000000000000009a0365997ea38cf7c52088ebfe52788a0bbbbee773530 height=573203 version=0x3fff0000 log2_work=90.576321 tx=406249907 date='2019-04-25T17:15:45Z' progress=1.000000 cache=17.5MiB(155450txo) warning='38 of last 100 blocks have unexpected version'
2019-04-25T17:15:36Z socket send error Connection timed out (110)
2019-04-25T17:18:49Z Pre-allocating up to position 0x600000 in rev01612.dat
2019-04-25T17:18:49Z UpdateTip: new best=000000000000000000059ebd54efdddd65fc449a5d1ac5a267cb50f29d402c57 height=573204 version=0x3fffe000 log2_work=90.576343 tx=406252505 date='2019-04-25T17:18:44Z' progress=1.000000 cache=18.1MiB(161079txo) warning='39 of last 100 blocks have unexpected version'
2019-04-25T17:19:35Z socket recv error Connection reset by peer (104)
2019-04-25T17:26:00Z ping timeout: 1200.005900s
2019-04-25T17:28:16Z socket recv error Connection reset by peer (104)
2019-04-25T17:30:36Z socket send error Broken pipe (32)
*** LND SYSTEMD STATUS ***
● lnd.service - LND Lightning Daemon
Loaded: loaded (/etc/systemd/system/lnd.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Thu 2019-04-25 18:12:29 BST; 18min ago
Process: 1420 ExecStart=/usr/local/bin/lnd --externalip=${publicIP} (code=killed, signal=TERM)
Main PID: 1420 (code=killed, signal=TERM)
Apr 25 18:12:29 Txxxxxxx systemd[1]: Stopping LND Lightning Daemon...
Apr 25 18:12:29 Txxxxxxx systemd[1]: Stopped LND Lightning Daemon.
*** LAST 5 LND ERROR LOGS ***
-- Logs begin at Thu 2019-04-25 16:29:17 BST, end at Thu 2019-04-25 18:30:47 BST. --
Apr 25 18:07:36 Txxxxxxx systemd[1]: lnd.service: Service hold-off time over, scheduling restart.
Apr 25 18:07:36 Txxxxxxx systemd[1]: Stopped LND Lightning Daemon.
Apr 25 18:07:36 Txxxxxxx systemd[1]: Started LND Lightning Daemon.
Apr 25 18:12:29 Txxxxxxx systemd[1]: Stopping LND Lightning Daemon...
Apr 25 18:12:29 Txxxxxxx systemd[1]: Stopped LND Lightning Daemon.
*** LAST 20 LND INFO LOGS ***
2019-04-25 16:36:46.773 [INF] CHDB: Checking for schema update: latest_version=7, db_version=7
2019-04-25 16:36:46.802 [INF] RPCS: password gRPC proxy started at [::]:8080
2019-04-25 16:36:46.802 [INF] RPCS: password RPC server listening on [::]:10009
2019-04-25 16:36:46.802 [INF] LTND: Waiting for wallet encryption password. Use lncli create to create a wallet, lncli unlock to unlock an existing wallet, or lncli changepassword to change the password of an existing wallet and unlock it.
2019-04-25 16:51:58.994 [INF] LNWL: Opened wallet
2019-04-25 16:51:59.557 [INF] LTND: Primary chain is set to: bitcoin
2019-04-25 16:53:00.859 [INF] LTND: Version: 0.5.2-beta commit=v0.5.2-beta, build=production, logging=default
2019-04-25 16:53:00.859 [INF] LTND: Active chain: Bitcoin (network=mainnet)
2019-04-25 16:53:00.863 [INF] CHDB: Checking for schema update: latest_version=7, db_version=7
2019-04-25 16:53:00.874 [INF] RPCS: password gRPC proxy started at [::]:8080
2019-04-25 16:53:00.875 [INF] RPCS: password RPC server listening on [::]:10009
2019-04-25 16:53:00.875 [INF] LTND: Waiting for wallet encryption password. Use lncli create to create a wallet, lncli unlock to unlock an existing wallet, or lncli changepassword to change the password of an existing wallet and unlock it.
2019-04-25 18:06:35.276 [INF] LNWL: Opened wallet
2019-04-25 18:06:35.883 [INF] LTND: Primary chain is set to: bitcoin
2019-04-25 18:06:36.378 [INF] LTND: Shutdown complete2019-04-25 18:07:37.196 [INF] LTND: Version: 0.5.2-beta commit=v0.5.2-beta, build=production, logging=default
2019-04-25 18:07:37.196 [INF] LTND: Active chain: Bitcoin (network=mainnet)
2019-04-25 18:07:37.198 [INF] CHDB: Checking for schema update: latest_version=7, db_version=7
2019-04-25 18:07:37.204 [INF] RPCS: password RPC server listening on [::]:10009
2019-04-25 18:07:37.205 [INF] RPCS: password gRPC proxy started at [::]:8080
2019-04-25 18:07:37.205 [INF] LTND: Waiting for wallet encryption password. Use lncli create to create a wallet, lncli unlock to unlock an existing wallet, or lncli changepassword to change the password of an existing wallet and unlock it.

RTL is OFF by config

@fdvanoye looks like you're having network connectivity problems.  This may be causing LND to restart itself (I'm not sure what LND does in this situation) but you need to have reliable connectivity.  If you are using WiFi you might try using wired/Ethernet or investigate router problems.

I wasn't using Wifi and had a straight connection into a hub. Connection is ok because I can log into the system. Just made sure and switched from hub direct to router and restarted network and PI. This is the new output log.  The filtering lightning blockchain count (now 555734) seems to increase VERY slowly and always does an auto exit and asks for the wallet password. Very frustrating. This is the latest ./XXdebugLogs.sh output.
*** RASPIBLITZ LOGS ***
blitzversion: 1.1
chainnetwork: bitcoin / main
16:01:37 up  7:30,  3 users,  load average: 0.15, 0.28, 0.33
*** CHAINNETWORK SYSTEMD STATUS ***
● bitcoind.service - Bitcoin daemon
Loaded: loaded (/etc/systemd/system/bitcoind.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2019-04-26 08:21:49 BST; 7h ago
Process: 852 ExecStart=/usr/local/bin/bitcoind -daemon -conf=/home/bitcoin/.bitcoin/bitcoin.conf -pid=/home/bitcoin/.bitcoin/bitcoind.pid (code=exited, status=0/SUCCESS)
Main PID: 871 (bitcoind)
CGroup: /system.slice/bitcoind.service
└─871 /usr/local/bin/bitcoind -daemon -conf=/home/bitcoin/.bitcoin/bitcoin.conf -pid=/home/bit…id
Apr 26 08:21:49 Tibxfool systemd[1]: Starting Bitcoin daemon...
Apr 26 08:21:49 Tibxfool systemd[1]: Started Bitcoin daemon.
*** LAST 5 ERROR LOGS ***
-- Logs begin at Fri 2019-04-26 08:20:37 BST, end at Fri 2019-04-26 16:01:37 BST. --
Apr 26 08:21:49 Tibxfool systemd[1]: Starting Bitcoin daemon...
Apr 26 08:21:49 Tibxfool systemd[1]: Started Bitcoin daemon.
*** LAST 20 INFO LOGS ***
2019-04-26T12:55:09Z UpdateTip: new best=0000000000000000001a3f39abcc5f365fde982ed45f3b764a5e4bbdf27335ff height=573324 version=0x20000000 log2_work=90.5789 tx=406556849 date='2019-04-26T12:55:06Z' progress=1.000000 cache=31.0MiB(274273txo) warning='42 of last 100 blocks have unexpected version'
2019-04-26T12:55:32Z ThreadRPCServer incorrect password attempt from <IP_ADDRESS>:43378
2019-04-26T13:00:39Z UpdateTip: new best=000000000000000000105ac8800ca5e4c708b3b3ef4cced036f1bc8a40cafadd height=573325 version=0x20000000 log2_work=90.578921 tx=406559947 date='2019-04-26T13:00:10Z' progress=1.000000 cache=31.4MiB(278023txo) warning='42 of last 100 blocks have unexpected version'
2019-04-26T13:15:10Z UpdateTip: new best=00000000000000000012fb15e8cb57640b4429e4861fb390c32dfb9d442f3a8e height=573326 version=0x20000000 log2_work=90.578942 tx=406562109 date='2019-04-26T13:14:54Z' progress=1.000000 cache=32.9MiB(291382txo) warning='42 of last 100 blocks have unexpected version'
2019-04-26T13:24:21Z UpdateTip: new best=00000000000000000019a63ecefe36142b34635b8a33d8825637b9eb45422766 height=573327 version=0x3711c000 log2_work=90.578964 tx=406563881 date='2019-04-26T13:23:58Z' progress=1.000000 cache=33.4MiB(296122txo) warning='43 of last 100 blocks have unexpected version'
2019-04-26T13:27:35Z UpdateTip: new best=0000000000000000000589b297068272b9ab194d9f06f82c3fcd096aedb8bce8 height=573328 version=0x20000000 log2_work=90.578985 tx=406565715 date='2019-04-26T13:27:03Z' progress=1.000000 cache=33.7MiB(299188txo) warning='43 of last 100 blocks have unexpected version'
2019-04-26T13:40:15Z Pre-allocating up to position 0x5000000 in blk01613.dat
2019-04-26T13:40:15Z UpdateTip: new best=0000000000000000001a4a3e2af3cfd9ad2ec7fedfe85b4245ee3c9726f13079 height=573329 version=0x20000000 log2_work=90.579006 tx=406568489 date='2019-04-26T13:40:05Z' progress=1.000000 cache=34.3MiB(305180txo) warning='43 of last 100 blocks have unexpected version'
2019-04-26T13:42:36Z UpdateTip: new best=00000000000000000026eb3bda7421ccd5db801e645435090746f72e4f859c61 height=573330 version=0x3fff0000 log2_work=90.579027 tx=406570132 date='2019-04-26T13:42:26Z' progress=1.000000 cache=34.6MiB(307680txo) warning='44 of last 100 blocks have unexpected version'
2019-04-26T14:19:44Z UpdateTip: new best=0000000000000000001fc98b497e494d755654a37bc75e602e38a039e0f435cf height=573331 version=0x20000000 log2_work=90.579049 tx=406573236 date='2019-04-26T14:19:30Z' progress=1.000000 cache=35.8MiB(319302txo) warning='44 of last 100 blocks have unexpected version'
2019-04-26T14:20:46Z Pre-allocating up to position 0x900000 in rev01613.dat
2019-04-26T14:20:46Z UpdateTip: new best=0000000000000000001bcdc3dad0c0d0e8b5a1abcb83caa75bd17a78e0617db4 height=573332 version=0x20000000 log2_work=90.57907 tx=406576457 date='2019-04-26T14:20:15Z' progress=1.000000 cache=36.4MiB(324250txo) warning='44 of last 100 blocks have unexpected version'
2019-04-26T14:22:08Z UpdateTip: new best=000000000000000000048d938ba3163d6e1d7bf75c4b442f1dde4f3a01959296 height=573333 version=0x20000000 log2_work=90.579091 tx=406578802 date='2019-04-26T14:21:45Z' progress=1.000000 cache=36.7MiB(327177txo) warning='43 of last 100 blocks have unexpected version'
2019-04-26T14:31:23Z ThreadRPCServer incorrect password attempt from <IP_ADDRESS>:47906
2019-04-26T14:42:05Z UpdateTip: new best=0000000000000000002234c11a531172c34b567b06f63828fd343663282ed799 height=573334 version=0x20000000 log2_work=90.579113 tx=406581866 date='2019-04-26T14:41:35Z' progress=1.000000 cache=37.5MiB(334904txo) warning='42 of last 100 blocks have unexpected version'
2019-04-26T14:47:44Z ThreadRPCServer incorrect password attempt from <IP_ADDRESS>:48736
2019-04-26T14:49:15Z ThreadRPCServer incorrect password attempt from <IP_ADDRESS>:48868
2019-04-26T14:57:27Z ThreadRPCServer incorrect password attempt from <IP_ADDRESS>:49314
2019-04-26T14:58:09Z UpdateTip: new best=0000000000000000000dbdef4c570e79978e2860d41d37e41ebf8adb5000fdd1 height=573335 version=0x20c00000 log2_work=90.579134 tx=406584725 date='2019-04-26T14:57:58Z' progress=1.000000 cache=38.3MiB(342212txo) warning='42 of last 100 blocks have unexpected version'
2019-04-26T14:59:31Z UpdateTip: new best=000000000000000000249456d7ef78da87ba1a27abb86a25fa62695d4bcd1c3a height=573336 version=0x3fff0000 log2_work=90.579155 tx=406587791 date='2019-04-26T14:58:53Z' progress=1.000000 cache=38.7MiB(345846txo) warning='42 of last 100 blocks have unexpected version'
*** LND SYSTEMD STATUS ***
● lnd.service - LND Lightning Daemon
Loaded: loaded (/etc/systemd/system/lnd.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2019-04-26 15:58:28 BST; 3min 9s ago
Main PID: 8703 (lnd)
CGroup: /system.slice/lnd.service
└─8703 /usr/local/bin/lnd --externalip=<IP_ADDRESS>
Apr 26 15:58:28 Tibxfool systemd[1]: Started LND Lightning Daemon.
*** LAST 5 LND ERROR LOGS ***
-- Logs begin at Fri 2019-04-26 08:20:37 BST, end at Fri 2019-04-26 16:01:37 BST. --
Apr 26 15:57:28 Tibxfool systemd[1]: lnd.service: Unit entered failed state.
Apr 26 15:57:28 Tibxfool systemd[1]: lnd.service: Failed with result 'exit-code'.
Apr 26 15:58:28 Tibxfool systemd[1]: lnd.service: Service hold-off time over, scheduling restart.
Apr 26 15:58:28 Tibxfool systemd[1]: Stopped LND Lightning Daemon.
Apr 26 15:58:28 Tibxfool systemd[1]: Started LND Lightning Daemon.
*** LAST 20 LND INFO LOGS ***
2019-04-26 15:48:44.640 [INF] CHDB: Checking for schema update: latest_version=7, db_version=7
2019-04-26 15:48:44.645 [INF] RPCS: password RPC server listening on [::]:10009
2019-04-26 15:48:44.645 [INF] RPCS: password gRPC proxy started at [::]:8080
2019-04-26 15:48:44.645 [INF] LTND: Waiting for wallet encryption password. Use lncli create to create a wallet, lncli unlock to unlock an existing wallet, or lncli changepassword to change the password of an existing wallet and unlock it.
2019-04-26 15:49:14.752 [INF] LNWL: Opened wallet
2019-04-26 15:49:15.171 [INF] LTND: Primary chain is set to: bitcoin
2019-04-26 15:49:15.475 [INF] LTND: Shutdown complete2019-04-26 15:50:15.879 [INF] LTND: Version: 0.5.2-beta commit=v0.5.2-beta, build=production, logging=default
2019-04-26 15:50:15.879 [INF] LTND: Active chain: Bitcoin (network=mainnet)
2019-04-26 15:50:15.880 [INF] CHDB: Checking for schema update: latest_version=7, db_version=7
2019-04-26 15:50:15.885 [INF] RPCS: password RPC server listening on [::]:10009
2019-04-26 15:50:15.885 [INF] RPCS: password gRPC proxy started at [::]:8080
2019-04-26 15:50:15.885 [INF] LTND: Waiting for wallet encryption password. Use lncli create to create a wallet, lncli unlock to unlock an existing wallet, or lncli changepassword to change the password of an existing wallet and unlock it.
2019-04-26 15:57:27.508 [INF] LNWL: Opened wallet
2019-04-26 15:57:27.927 [INF] LTND: Primary chain is set to: bitcoin
2019-04-26 15:57:28.219 [INF] LTND: Shutdown complete2019-04-26 15:58:28.663 [INF] LTND: Version: 0.5.2-beta commit=v0.5.2-beta, build=production, logging=default
2019-04-26 15:58:28.663 [INF] LTND: Active chain: Bitcoin (network=mainnet)
2019-04-26 15:58:28.665 [INF] CHDB: Checking for schema update: latest_version=7, db_version=7
2019-04-26 15:58:28.669 [INF] RPCS: password RPC server listening on [::]:10009
2019-04-26 15:58:28.669 [INF] RPCS: password gRPC proxy started at [::]:8080
2019-04-26 15:58:28.670 [INF] LTND: Waiting for wallet encryption password. Use lncli create to create a wallet, lncli unlock to unlock an existing wallet, or lncli changepassword to change the password of an existing wallet and unlock it.

RTL is OFF by config

Maybe this log will help ==>
sudo journalctl -u lnd -b --no-pager -n20
-- Logs begin at Fri 2019-04-26 08:20:37 BST, end at Fri 2019-04-26 16:14:49 BST. --
Apr 26 15:32:23 Tibxfool systemd[1]: Started LND Lightning Daemon.
Apr 26 15:47:44 Tibxfool systemd[1]: lnd.service: Main process exited, code=exited, status=1/FAILURE
Apr 26 15:47:44 Tibxfool systemd[1]: lnd.service: Unit entered failed state.
Apr 26 15:47:44 Tibxfool systemd[1]: lnd.service: Failed with result 'exit-code'.
Apr 26 15:48:44 Tibxfool systemd[1]: lnd.service: Service hold-off time over, scheduling restart.
Apr 26 15:48:44 Tibxfool systemd[1]: Stopped LND Lightning Daemon.
Apr 26 15:48:44 Tibxfool systemd[1]: Started LND Lightning Daemon.
Apr 26 15:49:15 Tibxfool lnd[2014]: unable to connect to bitcoind: status code: 401, response: ""
Apr 26 15:49:15 Tibxfool systemd[1]: lnd.service: Main process exited, code=exited, status=1/FAILURE
Apr 26 15:49:15 Tibxfool systemd[1]: lnd.service: Unit entered failed state.
Apr 26 15:49:15 Tibxfool systemd[1]: lnd.service: Failed with result 'exit-code'.
Apr 26 15:50:15 Tibxfool systemd[1]: lnd.service: Service hold-off time over, scheduling restart.
Apr 26 15:50:15 Tibxfool systemd[1]: Stopped LND Lightning Daemon.
Apr 26 15:50:15 Tibxfool systemd[1]: Started LND Lightning Daemon.
Apr 26 15:57:28 Tibxfool systemd[1]: lnd.service: Main process exited, code=exited, status=1/FAILURE
Apr 26 15:57:28 Tibxfool systemd[1]: lnd.service: Unit entered failed state.
Apr 26 15:57:28 Tibxfool systemd[1]: lnd.service: Failed with result 'exit-code'.
Apr 26 15:58:28 Tibxfool systemd[1]: lnd.service: Service hold-off time over, scheduling restart.
Apr 26 15:58:28 Tibxfool systemd[1]: Stopped LND Lightning Daemon.
Apr 26 15:58:28 Tibxfool systemd[1]: Started LND Lightning Daemon.

lets see if your syslog shows anything. Paste the URL link that results from running this:
sudo cat /var/log/syslog | nc termbin.com 9999
Also, lets see the results of testing your power supply.
PowerTest script (all in one line):
wget https://raw.githubusercontent.com/rootzoll/raspiblitz/4abbdd18aa0ec44553d1fd875f2c5a6b98d9721c/home.admin/config.scripts/blitz.powertest.sh && sudo chmod +x blitz.powertest.sh && ./blitz.powertest.sh
if that one fails to run try this one:
wget https://raw.githubusercontent.com/openoms/raspiblitz/powertest/home.admin/XXpowertest.sh && sudo chmod +x XXpowertest.sh && ./XXpowertest.sh

wget https://raw.githubusercontent.com/openoms/raspiblitz/powertest/home.admin/XXpowertest.sh && sudo chmod +x XXpowertest.sh && ./XXpowertest.sh
--2019-04-26 16:37:16--  https://raw.githubusercontent.com/openoms/raspiblitz/powertest/home.admin/XXpowertest.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... <IP_ADDRESS>
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1835 (1.8K) [text/plain]
Saving to: ‘XXpowertest.sh.2’
XXpowertest.sh.2                        100%[============================================================================>]   1.79K  --.-KB/s    in 0s
2019-04-26 16:37:17 (16.2 MB/s) - ‘XXpowertest.sh.2’ saved [1835/1835]

RaspiBlitz powertest v0.1
Starting sysbench to run for 60 seconds (--max-time=60 --cpu-max-prime=10000)

sysbench 0.4.12:  multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 4
Doing CPU performance benchmark
Threads started!
52.6'C 1400 MHz  1.3688V
59.1'C 1400 MHz  1.3688V
60.1'C 1400 MHz  1.2625V
60.1'C 1200/1400 MHz 1.2625V
60.7'C 1200/1400 MHz 1.2625V
61.2'C 1200/1400 MHz 1.2625V
62.3'C 1200/1400 MHz 1.2625V
Done.
Maximum prime number checked in CPU test: 10000
Test execution summary:
total time:                          35.0226s
total number of events:              10000
total time taken by event execution: 140.0414
per-request statistics:
min:                                 11.90ms
avg:                                 14.00ms
max:                                 68.52ms
approx.  95 percentile:              16.95ms
Threads fairness:
events (avg/stddev):           2500.0000/56.94
execution time (avg/stddev):   35.0103/0.01
58.0'C 1400 MHz  1.3688V
56.9'C 1400 MHz  1.3688V
56.4'C 1400 MHz  1.3688V
55.8'C 1400 MHz  1.3688V
55.8'C 1400 MHz  1.3688V
55.3'C 1400 MHz  1.3688V

sudo cat /var/log/syslog | nc termbin.com 9999 ===>> done

sudo cat /var/log/syslog | nc termbin.com 9999 ===>> done

This should have resulted in printing out a URL link that we can view the output on termbin.com
Where is the link?

52.6'C 1400 MHz 1.3688V
59.1'C 1400 MHz 1.3688V
60.1'C 1400 MHz 1.2625V
60.1'C 1200/1400 MHz 1.2625V
60.7'C 1200/1400 MHz 1.2625V
61.2'C 1200/1400 MHz 1.2625V
62.3'C 1200/1400 MHz 1.2625V

You can see the voltage drops during the test from 1.3688V to 1.2625V and some throttling happens 1400 to 1200Mhz. Now what is the exact limit of voltage drop before problems occur (file corruption, network problems, etc.) we don't know yet.  But you want a power supply that does not drop voltage under load.

sorry, got it now: https://termbin.com/3xuz7

sorry, got it now: https://termbin.com/3xuz7

It looks OK.  I don't see any problems in there.

Apr 26 15:49:15 Tibxfool lnd[2014]: unable to connect to bitcoind: status code: 401, response: ""

I didn't notice this error before.  A previous issue had same with resolution: https://github.com/rootzoll/raspiblitz/issues/336#issuecomment-465833372

Feb 20 19:34:50 raspihelx2 lnd[21174]: unable to create chain control: unable to connect to bitcoind: status code: 401, response: ""
Feb 20 19:34:50 raspihelx2 lnd[21174]: 2019-02-20 19:34:50.912 [INF] LTND: Shutdown complete
Feb 20 19:34:50 raspihelx2 systemd[1]: lnd.service: Main process exited, code=exited,
LND cannot connect to bitdoind .. please check if both configs contain the same RPC password:
sudo cat /mnt/hdd/bitcoin/bitcoin.conf
sudo cat /mnt/hdd/lnd/lnd.conf

Thanks for all your help guys!. Decided to do a clean setup because from the start I had a good internal connection with my Zap IOS wallet and ran into problem trying to get external working. With this second problem it would be best to do a clean install. Made a backup of the wallet and will pull the chain from another node. Good exercise ;-) Thanks again!


Split redis tests into separate test assembly

Initial stab at https://github.com/dotnet/aspire/issues/4294.
I added solution folders for tests:

TODO:

I need to make to move the functional tests for redis.

Microsoft Reviewers: Open in CodeFlow

Added some tests for WithDataVolume() for now. I don't know yet how we can clean these once the test is done.

@sebastienros - it looks like the tests are still failing

Aspire.Hosting.Redis.Tests logs show:
could not create the container	{"Container": {"name":"redis-mcqtmvnk-64491c08"}, "Reconciliation": 3, "error": "docker command 'CreateContainer' returned with non-zero exit code 1: command output: Stdout: '' Stderr: 'Unable to find image 'redis:7.2' locally\nError response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit\n'"}

At least that was the case with the first attempt.
I'm not sure about the second one because this shows ##[error]Artifact Logs_Build_Linux_Release already exists for build 728907. for that. That file name needs to append the attempt number.

/azp run

@sebastienros looks like the restructured tests are failing.

@mitchdenny are you aware of https://github.com/dotnet/aspire/issues/4786 ?
This is hitting us hard, we are working on it.

I'm aware of that, although I think these test failures aren't related (I could be wrong). If they are then feel free to ignore, and obviously #4786 takes priority.

I think it's related, last time I had the same issue I asked @radical and he showed me the throttling issue. Also these tests worked earlier when Eric triggered a new build (when the quotas got renewed apparently). But I'll check in the log to see if I can find a confirmation.

Confirmed in the logs:
fail: Aspire.Hosting.Dcp.dcpctrl.ContainerReconciler[0]
      could not create the container	{"Container": {"name":"redis-fexhgyze-5dedf3af"}, "Reconciliation": 3, "error": "docker command 'CreateContainer' returned with non-zero exit code 1: command output: Stdout: '' Stderr: 'Unable to find image 'redis:7.2' locally\nError response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading:

It's showing up first because it's a job before Helix runs, it's the first tests that try to download docker images. Then the Job is terminated.


Error reading filenames with special characters on Windows

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.2.1
Python version: 3.6

Describe the problem
My tensorflow script on Ubuntu 16.04 works with the following code.
file=tf.gfile.GFile('../../data/Gutenberg/txt/Anthony Trollope___La Vendée.txt')
text = file.read()

However on Windows 10
file=tf.gfile.GFile('../../data/Gutenberg/txt/Anthony Trollope___La Vendée.txt')
text = file.read()

gives the following error.  This happens when the filenames have special characters in them
---------------------------------------------------------------------------
NotFoundError                             Traceback (most recent call last)
<ipython-input-22-669eb528a808> in <module>()
----> 1 text = file.read()

C:\Users\xxx\Anaconda3\lib\site-packages\tensorflow\python\lib\io\file_io.py in read(self, n)
    116       string if in string (regular) mode.
    117     """
--> 118     self._preread_check()
    119     with errors.raise_exception_on_not_ok_status() as status:
    120       if n == -1:

C:\Users\xxx\Anaconda3\lib\site-packages\tensorflow\python\lib\io\file_io.py in _preread_check(self)
     76       with errors.raise_exception_on_not_ok_status() as status:
     77         self._read_buf = pywrap_tensorflow.CreateBufferedInputStream(
---> 78             compat.as_bytes(self.__name), 1024 * 512, status)
     79
     80   def _prewrite_check(self):

C:\Users\xxx\Anaconda3\lib\contextlib.py in __exit__(self, type, value, traceback)
     87         if type is None:
     88             try:
---> 89                 next(self.gen)
     90             except StopIteration:
     91                 return

C:\Users\xxx\Anaconda3\lib\site-packages\tensorflow\python\framework\errors_impl.py in raise_exception_on_not_ok_status()
    464           None, None,
    465           compat.as_text(pywrap_tensorflow.TF_Message(status)),
--> 466           pywrap_tensorflow.TF_GetCode(status))
    467   finally:
    468     pywrap_tensorflow.TF_DeleteStatus(status)

NotFoundError: NewRandomAccessFile failed to Create/Open: ../../data/Gutenberg/txt/Anthony Trollope___La Vendée.txt : The system cannot find the file specified.

Note: pythons open()/read() works well on both platforms.  This error occurs for other file names  with special characters on windows too. I moved my data readers from python to tf api and data readers, the pipeline works on ubuntu but breaks in windows.

@mrry do you know who owns this code?

This looks like a duplicate of #9481, so let's close this and follow along on that thread. It's "contributions welcome" (and I think it might be on @guschmue's radar).


Question: arm cortex a9

Hi,
great work.
how much effort is it to port the led blink example to arm cortex a9 - bare metal?
quick question to your project. why is your main.rs a staticlib? how does it create the executable .ldf?
Thanks,
A

Hello Arnold,
I don't know how long it would take, but you would need to write a few different things:

The driver part, provided by Texas' Tivaware in this example, but you can also write your own using your datasheet.
The minimum runtime responsible for initializing the RAM, copying the vector table, etc. This is usually called a crt0, you can find the one I am using here: https://github.com/antoinealb/rust-demo-cortex-m4/blob/master/LM4F_startup.c
You should also adapt the build system to your target platform. This would require a linker script (specific to your chip) and an LLVM machine file for the Cortex A9 variant you want to use.

My main.rs is a static library because I want to link it using arm-none-eabi-ld (here: https://github.com/antoinealb/rust-demo-cortex-m4/blob/master/Makefile#L140) with Tivaware and it was the easiest option. Maybe there is a way to link with LLVM, but I am not familiar with it.
I don't know which ldf file you are talking about ?
Antoine

thanks for your quick reply.
this project uses arm cortex m4 and creates a ldf file to be the executable: https://github.com/antoinealb/rust-demo-cortex-m4

So once you assembled your startup.s file you will have a startup.o file. Using Rust's compiler you can compile your rust main to a main.o file by telling it that you want to create a static library.
Then, using arm-none-eabi-ld (GCC's arm linker) you link together your .o files to create an ELF file. The linker script is used at this step to explain where to put variables in RAM, functions in ROM, etc. For example, here is my command to do this (from the Makefile): arm-none-eabi-ld -T LM4F.ld --gc-sections -o main.axf LM4F_startup.o main.o tivaware/driverlib/gcc/libdriver.a
Small breakdown:

-T LM4F.ld tells the linker which script to use.
--gc-sections removes unused functions. This can be used with gcc options to remove unused code, reducing memory footprint.
-o main.axf puts the resulting ELF in main.axf
Then comes all the object files to link in this binary.

Hops that helps

thanks for the info.
first i need to create the rust cross compiler.
here is the compiler i use:
arm-xilinx-eabi-gcc -v
Using built-in specs.
COLLECT_GCC=arm-xilinx-eabi-gcc
COLLECT_LTO_WRAPPER=/opt/Xilinx/SDK/2015.1/gnu/arm/lin/bin/../libexec/gcc/arm-xilinx-eabi/4.9.1/lto-wrapper
Target: arm-xilinx-eabi
Configured with: /scratch/cltang/xilinx/eabi/src/gcc-4.9-2014.11/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=arm-xilinx-eabi --enable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch --with-arch=armv7-a --with-cpu=cortex-a9 --with-float=softfp --with-fpu=neon-fp16 --disable-multilib --with-gnu-as --with-gnu-ld --with-specs='%{save-temps: -fverbose-asm} -D__CS_SOURCERYGXX_MAJ__=2014 -D__CS_SOURCERYGXX_MIN__=11 -D__CS_SOURCERYGXX_REV__=31' --enable-languages=c,c++ --disable-shared --enable-lto --with-newlib --with-pkgversion='Sourcery CodeBench Lite 2014.11-31' --with-bugurl=https://s...content-available-to-author-only...r.com/GNUToolchain/ --disable-nls --prefix=/opt/codesourcery --with-headers=yes --with-sysroot=/opt/codesourcery/arm-xilinx-eabi --with-build-sysroot=/scratch/cltang/xilinx/eabi/install/opt/codesourcery/arm-xilinx-eabi --with-gmp=/scratch/cltang/xilinx/eabi/obj/pkg-2014.11-31-arm-xilinx-eabi/xilinx-2014.11-31-arm-xilinx-eabi.extras/host-libs-i686-pc-linux-gnu/usr --with-mpfr=/scratch/cltang/xilinx/eabi/obj/pkg-2014.11-31-arm-xilinx-eabi/xilinx-2014.11-31-arm-xilinx-eabi.extras/host-libs-i686-pc-linux-gnu/usr --with-mpc=/scratch/cltang/xilinx/eabi/obj/pkg-2014.11-31-arm-xilinx-eabi/xilinx-2014.11-31-arm-xilinx-eabi.extras/host-libs-i686-pc-linux-gnu/usr --with-isl=/scratch/cltang/xilinx/eabi/obj/pkg-2014.11-31-arm-xilinx-eabi/xilinx-2014.11-31-arm-xilinx-eabi.extras/host-libs-i686-pc-linux-gnu/usr --with-cloog=/scratch/cltang/xilinx/eabi/obj/pkg-2014.11-31-arm-xilinx-eabi/xilinx-2014.11-31-arm-xilinx-eabi.extras/host-libs-i686-pc-linux-gnu/usr --disable-libgomp --disable-libitm --disable-libatomic --disable-libssp --enable-poison-system-directories --with-build-time-tools=/scratch/cltang/xilinx/eabi/install/opt/codesourcery/arm-xilinx-eabi/bin --with-build-time-tools=/scratch/cltang/xilinx/eabi/install/opt/codesourcery/arm-xilinx-eabi/bin SED=sed
Thread model: single
gcc version 4.9.1 (Sourcery CodeBench Lite 2014.11-31)

I think the llvm target should be "armv7a-arm-none-eabi" but I am not sure. Perhaps the easiest is to try ? :)


Remove v0.16 store, publisher REST API integration tests

 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.


#2 Add support for ES6 & JSX

Features

Full support for ECMAScript 5.1 (ECMA-262)
Experimental support for ES6/Harmony (module, class, destructuring, ...)
Full support for JSX syntax extensions.
Sensible syntax tree format compatible with Mozilla Parser AST
Optional tracking of syntax node location (index-based and line-column)
Heavily tested (> 650 unit tests with full code coverage)
Ongoing support for ES6/Harmony (module, class, destructuring, ...)

:+1:


[Feature Request] Keep the editing line always at the center of editor

Instead of moving the line focus below when enter key is pressed, there should be an option to keep the editor focus line always at the center of the editor.

Suppose the editor displays 20 rows, then the line being edited should always be at the 10th row of the editor.
Every time I am navigating with the cursor to a line above or below, along with moving the cursor, it should move the scrollbar such that the cursor always remains at the 10th row.

Try this extension:
https://marketplace.visualstudio.com/items?itemName=tickleforce.scrolloff

The above extension works fine..
except when word-wrap is enabled, a single line appears as multiple lines. In that case it takes into account the actual line number according to new line characters rather than the relative line number in the editor.
When I move the cursor inside the wrapped line, it does not do anything.
Thanks for the extension.

You can use Typewriter Auto-scroll VSCode Extension


bug: jdtls is not using jdk-21

Did you check docs and existing issues?

[X] I have read all the plugin docs
[X] I have searched the existing issues
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.10.0 release
Operating system/version
Arch Linux
Describe the bug
My default version of Java is 21, and I have set the default java path in lspconfig to the binary. When I attempt to run or debug, I receive an UnsupportedClassVersionError. I believe this is because openjdk-17 is hardcoded into the nvim-java plugin for builds, however it uses the specified runtime binary configured by lspconfig. I have resolved the issue by setting my default java runtime version to 17 and updating the required path, however it would be useful to be able to change the javac version as a config for the nvim-java in order to avoid ClassVersionErrors.
Steps To Reproduce

Install java 21 using sdkman
Set up nvim-java
set up mason, mason-lspconfig and lspconfig.
setup jdtls using lspconfig.
require("lspconfig").jdtls.setup({ settings = {  java = {    configuration = {      runtimes = {        {          name = "JavaSE-21",          path ="/PATH/TO/JAVA/RUNTIME/21",          default = true,        },      },    },
Run debugger / JavaRunnerRunMain

Expected Behavior
nvim-java should use the same javac version as the currently specified runtime version configured by jdtls. An option to set the sdk used by nvim-java would also fix this issue.

Try removing.classpath file and cache in ~/.cache/nvim/jdtld

Tried this suggestion, jdtls builds using  openjdk-21 when the project loads, however the runner and debugger in nvim-java keep trying to run the build using openjdk-17

@kyerpotts Sounds impossible. We retrieve the java executable information from jdtls meaning, if jdtls uses openjdk-21 for LS, it should be the same for run and debug as well. Has to be some cache issue. But try
jdk = {
  -- install jdk using mason.nvim
  auto_install = true,
}

When setup. This will disable auto installation of jdk 17. Then remove the JDK from mason. Clear the .classpaths, .projects & jdtls cache. Make sure you have not set jdk-17 as the runtime in pom.xml. Try again.

@kyerpotts
https://github.com/nvim-java/nvim-java/wiki/Q-&-A#no_entry-how-to-clean-rebuild

@kyerpotts
Additionally, add this to make sure
    String version = System.getProperty("java.version");
    System.out.println(">>>>>>>>>" + version);

On further inspection it looks like the problem is only for java classes that are not part of gradle or maven projects.
I was trying to debug a small program that had no need for a build tool. Is this expected behavior for nvim-java?

@kyerpotts Sounds impossible. We retrieve the java executable information from jdtls meaning, if jdtls uses openjdk-21 for LS, it should be the same for run and debug as well. Has to be some cache issue. But try
jdk = {
  -- install jdk using mason.nvim
  auto_install = true,
}

When setup. This will disable auto installation of jdk 17. Then remove the JDK from mason. Clear the .classpaths, .projects & jdtls cache. Make sure you have not set jdk-17 as the runtime in pom.xml. Try again.

I think you meant this?
jdk = {
  -- install jdk using mason.nvim
  auto_install = false,
}

Either way, no matter the setup, mason forces installation of openjdk-17 even after doing MasonUninstall...

@Opposite34 The reason why mason install openjdk is because java.setup being called twice. First time with the configuration you have provided and the second time with the default empty table. I have added validations to check if setup is being called twice. I had invalid config instructions for LazyVim so checkout the new config instructions to fix it.
https://github.com/nvim-java/nvim-java?tab=readme-ov-file#hammer-how-to-install
@kyerpotts For runtime thing, I assumed it will use the default in the config. Once again, this could be because lspconfig.jdtls.setup() is being called more than once so your configurations are overridden by consequent calls.
Either way, I'm adding a command to change the JDK. I think I might release it today assuming I can find the time.

Make sure to update lazy.nvim to latest. I'm using a new feature in lazy.nvim to load deps in the latest install instructions

Background Story
@kyerpotts @Opposite34 I tested this. Plugin actually works as I expected but ~/.cache/nvim/jdtls has be removed upon runtime change because by default it's cached.
This issue you are facing is actually a limitation in JDTLS. As you can see from the readme, it compiles the source using 19 class version. But when we run, you are using the 21 version and it expect the class version to be 21.

To confirm the theory, I tried Java 19 to run and it works without any issue,

Temporary solution
You can use JavaProfile command to create a new profile to the main with --enable-preview vm flag.

I noticed that profile doesn't apply right away in the same session. That's a bug and obviously, I have to add --enable-preview for jdtls not supported versions. That will be done with this issue.
https://github.com/nvim-java/nvim-java/issues/241


Translate correct closure signature

This fixes the signature we use for closures. This also fixes a crash when attempting to print crates using the charon-ml pretty-printer.

Thanks! This has been much needed.


Account for non-error-code errors

I have learned that Twitter sometimes returns other non-error-code type errors in the response["errors"] object of a response. For example, something like the below
[{'parameter': 'entities.mentions.username',
  'resource_id': 'KeishaJake',
  'value': 'KeishaJake',
  'detail': 'User has been suspended: [KeishaJake].',
  'title': 'Forbidden',
  'resource_type': 'user',
  'type': 'https://api.twitter.com/2/problems/resource-not-found'},
 {'parameter': 'entities.mentions.username',
  'resource_id': 'MolonlabeBernie',
  'value': 'MolonlabeBernie',
  'detail': 'User has been suspended: [MolonlabeBernie].',
  'title': 'Forbidden',
  'resource_type': 'user',
  'type': 'https://api.twitter.com/2/problems/resource-not-found'}]

As a result, the previous code would throw an error when legitimate data was returned b/c it caught the response["errors"] object but couldn't find the "code" key in response["errors"].
The new block handles this.
I also removed the, if response.ok conditional because it seems redundant and I'm not confident that Twitter will return this properly anyway. If we avoid all of the other conditionals, I think we should be okay.

Go for it.

Thank you both!


Fixed more issues related to custom table names

Fixes and test cases were added for custom table names that collide
with reserved words.
Type: bug
CC @jzmiller1 I found a few other issues related to custom table names and added a test case specifically for #55 . I added you as a contributor for the initial fix. Thanks again!

Thanks for adding me!  If there's anything I could help out with please let me know.


2020 style

Fixes several style bug:

Footer link hover color

Navbar provintia icon spacing

My PyCon (desktop menu) offset

1 pixel white from index hero banner

First two are feedback from the designer.
Reference: https://docs.google.com/document/d/1YidtzUeSw_OwmgtGveIkn-fUgNxMtd5KqtxUrD4ce7Y/edit

Codecov Report

Merging #686 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #686   +/-   ##
=======================================
  Coverage   73.81%   73.81%
=======================================
  Files          72       72
  Lines        2731     2731
=======================================
  Hits         2016     2016
  Misses        715      715

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 b2f6f56...b8c00dc. Read the comment docs.


0.4.48

update three.js to r150
update js-sdsl to 4.4.0
fix wrong y offset computation on
GridEventMap.addEventsFromTwoDimensionalArray
GridCollideMap.addColliderFromTwoDimensionalArray
GridCollider.addColliderFromTwoDimensionalArray
GridObjectCollideMap.addColliderFromTwoDimensionalArray
Any code that previously uses that method will be broke. You can fix it by doing +1 at the y offset.
fix requiredComponents and disableMultipleComponents not applyed on MovementAnimationController
improve error format of TwoDimensionalStringMapper

note:

three.js CSS3DRendrer has changed its specs on r150, but due to its overhead, there is no plan to update the-world-engine's CSS3DRender implementation.

with js-sdsl rbtree container iteration tasks about 25x faster, a dramatic improvement in the engine's event loop performance is expected.

Codecov Report

Merging #73 (c8425ae) into main (a9ba355) will not change coverage.
The diff coverage is 0.00%.

: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           @@
##             main      #73   +/-   ##
=======================================
  Coverage   41.31%   41.31%
=======================================
  Files         113      113
  Lines        9638     9638
  Branches     1476     1476
=======================================
  Hits         3982     3982
  Misses       5226     5226
  Partials      430      430

Impacted Files
Coverage Δ

...e/script/controller/MovementAnimationController.ts
9.09% <0.00%> (ø)

src/engine/script/event/GridEventMap.ts
4.39% <0.00%> (ø)

src/engine/script/grid_physics2d/GridCollideMap.ts
3.96% <0.00%> (ø)

src/engine/script/grid_physics2d/GridCollider.ts
50.32% <0.00%> (ø)

...gine/script/grid_physics2d/GridObjectCollideMap.ts
43.33% <0.00%> (ø)

...engine/script/helper/TwoDimensionalStringMapper.ts
7.69% <0.00%> (ø)

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


[Bug]: il2cpp_init detour failed: One of the dependent libraries is missing.

All of the following criteria must be met

[X] All Requirements must be installed.
[X] Full Latest.log file included. If no file exists then leave this unchecked and state so.

All of the following are optional to answer

[X] Tried reinstalling the Game.
[X] Tried reinstalling MelonLoader.
[ ] Tried restarting PC.
[ ] Was able to see the Start Screen.

Describe the issue.
When attempting to play Bloons TD 6 with MelonLoader v0.6.0 ALPHA Pre-Release installed, I get the following error:
il2cpp_init detour failed: One of the dependent libraries is missing.
And the game immediately shuts down.
Downgrading to MelonLoader v0.5.7 Open-Beta allows BTD6 to work just fine, however. But after reinstalling the v0.6.0 alpha the problem reappears.
I tried validating the game's files as I had a similar error happen to another Unity game after an update, but that didn't seem to do anything. Even reinstalling the game did nothing.
Here's the log file - it's basically just one line saying something very similar.
Latest-Bootstrap.log
Did you attach your log file?

[X] Yes, I attached my log file to the text box above.
[ ] No, I could not find a log file at {Game_Directory}\MelonLoader\Latest.log

Install the .net 6 runtime

Install the .net 6 runtime

Fixed that particular error for me. But other users are reporting that this issue persists even after installing the runtime.

Can someone help me find the .net 6 runtime

https://dotnet.microsoft.com/en-us/download/dotnet/6.0

im not entirely shure what is happining but im on the 0.5.7 version and it brings up the coad sheet and looks normal but then it has a bunch of error text and closes

Guys, where i need to put .zip archive with  .net 6 runtime? I just can't download it with autoinsataller

Install the .net 6 runtime


[Bug] fullscreen + ion-refresher hides refresh

Ionic version:  (check one with "x")
[ ] 1.x
[x] 2.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
When having a ion-content with fullscreen, and an ion-refresher the refresher is hidden behind the header
Expected behavior:
The refresher must always appear just below the header
Steps to reproduce:

Use this demo: https://github.com/driftyco/ionic/tree/dbfc183cac036099603f9e51611bfccbc900a08b/demos/src/refresher
Add fullscreen to ion-content

Related code:
<ion-content fullscreen>
    <ion-refresher (ionRefresh)="refreshList($event)">
        <ion-refresher-content></ion-refresher-content>
    </ion-refresher>
</ion-content>

Other information:
Motivation:
Having a list you can pull down to refresh, or pull up and hides the header
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
 ordova CLI: 6.4.0
Ionic Framework Version: 2.0.1
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.0.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.9.1
Xcode version: Not installed

Hello, thanks for opening an issue with us, we will look into this (:

Hmm, I'm not able to replicate this locally.
Are you seeing it specifically on a device or in the browser?

Both.
I used the header scroll example
Though even though I removed the scroll and was left with fullscreen the bug persisted.

On Feb 22, 2017, at 17:40, Mike Hartington<EMAIL_ADDRESS>wrote:
Hmm, I'm not able to replicate this locally.
Are you seeing it specifically on a device or in the browser?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Same issue. When pulling down, I can see the refresher, but during refreshing, it is hidden.

+1

I remembered I used transparent for the background color as a workaround.

Same here.. have a background image in header, so transparent not working..

Did anyone find workaround for this issue?


[Post 1.1.0] Merge LICENSE file changes from 1.1.0 release

Description
Fixes Issue #9702
Apply changes to top Level LICENSE file based on comments from 1.1.0 release
Checklist
Essentials

[ ] Passed code style checking (make lint)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[x] Updated the LICENSE file to be the same as 1.1.0 branch

Closing this since it is a duplicate of PR https://github.com/apache/incubator-mxnet/pull/10031


build: replace gulp-autoprefixer

Removes gulp-autoprefixer in order to avoid issues with Google's internal build system.
Switches to adding vendor prefixes via SCSS mixins.
Adds a custom Stylelint plugin that utilizies Autoprefixer to find unprefixed properties, values, @rules etc.

Fixes #3536.

Addressed the feedback @jelbourn.


Can CI (securely) auto-deploy sample of the latest Meltano UI?

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/3175
Originally created by @aaronsteers on 2022-01-20 22:00:03

Opening this issue to discuss if/how we could setup a PR-specific deployment endpoint that would allow quick preview and testing of Meltano UI updates.
Currently, I think we need to either share screenshots or build and deploy locally on our own workstations.

Closing as no longer relevant on account of the removal of the UI for Meltano 3.0


Failed to get render window, export cancelled, in update 1.7.1

I can't export it correctly, and it show me an error as follows

obsidian version 1.4.5
windows 10

Does it open a popup window at all? Also this did work in the previous version, correct?

Yes it popup a window let me select the export file. But when I choosed a file, export path and click the export button, the error accur with the new popup window as show in issues.

Yes the first popup is expected to work, but is there a second popup that looks like this (or like this but pure white) that pops up for half a second?

Or is it just the noticies in the top corner?

Yes, the error notices in the top right corner.

Okay, I will look into this more tomorrow, thanks for the report and sorry it isn't working!

Me too.

If this mode is selected, CSS is exported but HTML is not included

If you select this mode nothing will be exported and the following error will be displayed

question, do you have multiple monitors? And is the popup by any chance opening on a different monitor?

Yes, even just using one monitor, it still the same thing. I record a video to show this phenomenon
https://github.com/KosmosisDire/obsidian-webpage-export/assets/9565297/939183bd-ffb4-470e-b652-1cccc0c0f3ff

Thank you, this is very helpful. I am pretty sure I will be able to fix this pretty easily

V1.7.
Exporting embedded pages cannot be displayed。
Exporting embedded  cannot be displayed。

OMG! I tested this plugin a few weeks ago and it worked perfectly fine. Now I have this "Failed to get the render window..." error too. Is there a way to get the older version of this plugin. I prepared a "kick of Testing phase" folder for my project in obsidian und wanted to export this part so everybody can access it.
Is it possible to install the older version of this plugin?

V1.7. Exporting embedded pages cannot be displayed。 Exporting embedded cannot be displayed。

Hi this is a seperate issue and is a known problem

@dsobkowiakWorkBench

Yes you can, but be aware that you will not only have to downgrade the plugin but also obsidian itself (which is kinda a task). Part of the reason for this update (and also why so much stuff is broken) is because obsidian changed the way things are rendered in obsidian 1.4+ so unless you downgrade obsidian everything will still not work.

For me on macOS the options to export dissapeared except for one:
When using export with previous settings, similar thing happens as for the others on windows:

@mcaay Hi, this is intentional, however I will add back the old ones soon. For now you can use the right click or more options menu of a given file or folder.

@KosmosisDire many thx for your reply. Appreciate you put the effort in this, especially because the plugin is awesome. Ok I will wait till it's fixed and try the feature on my Mac. I tested in on windows so far. I was curious because I downgraded the plugin and the export worked but only half of the stuff was exported.
regards
Dawid

Hey everyone, this should be fixed in version 1.7.2!

Appears to be working now, thanks for the quick update! 🎉

I chose a simple note but it still doesn't export on macOS. Now the popup window is stuck on "Generating HTML".

@mcaay you have the actual version of obsidian.
Mac is working for me now. windows I still have to test

@dsobkowiakWorkBench not sure what you mean. I do have the actual version of Obsidian - should I have some kind of newer beta version? Or an older than current main version?

I chose a simple note but it still doesn't export on macOS. Now the popup window is stuck on "Generating HTML".

@mcaay Hi, thanks this is a different issue can you create a new issue and provide more information? Thanks!

Hey everyone, this should be fixed in version 1.7.2! Let me know if this issue persists, if you find a different issue please report it as a new issue

It seems like I have to turn the setting "Include theme toggle" on to fix the problem after your 1.7.2 bugfix.
Here is the situation:
When I turn off the "Include theme toggle" setting and click "Export as HTML" from the ribbon, then click "export" in the dialog, the html file is generated successfully. However, this file doesn't show anything in the browser.
Console info is list bellow:
//obsidian console log
plugin:webpage-html-export:56581 failed to find render leaf

// my browser console log
test.html:367  Uncaught (in promise) TypeError: Cannot set properties of null (setting 'checked')
    at e (test.html:367:35201)
    at setupThemeToggle (test.html:367:35964)
    at initializePage (test.html:367:1875)
    at window.onload (test.html:367:3716)

I think the "check" vibrable may be related to the "Include theme toggle" setting.

@suradaBANG Hi thanks I am aware of this and it will be fixed in the next release

Not sure if this is related. I just updated the plugin to 1.7.3 (presumably the next release referred to above) which results in absolutely nothing exporting any longer (worked fine before update).
Get this in console

failed to find render leaf
No change other than the plugin update. Obsidian 1.4.14


Upgrade pip-tool to 4.2.0 for py2

What does this PR do?
Upgrade pip-tool to 4.2.0.
Also upgrade wheel to be aligned with py3: https://github.com/DataDog/datadog-agent/blob/master/omnibus/config/software/datadog-agent-integrations-py3.rb#L103-L104
Motivation
One of the integration need URLs package: https://github.com/DataDog/integrations-core/pull/5729
And pip-tool only support URL packages since 3.7.0: https://github.com/jazzband/pip-tools/blob/master/CHANGELOG.md#370-2019-05-09
Error seen on CI.
piptools.exceptions.UnsupportedConstraint: pip-compile does not support URLs as packages, unless they are editable. Perhaps add -e option? (constraint was: git+https://github.com/vmware/vsphere-automation-sdk-python@efe345a21b4ab7b346b65e1cb58d56412edd1c10 (from -r /.omnibus/src/datadog-agent-integrations-py2/integrations-core/agent_requirements-py2.in (line 20)))

Additional Notes

Closing we will use requests to query vSphere rest api instead. That will avoid few issues:

not having to use git+ requirements
vsphere-automation-sdk-python contain a lot of deps and are quite large https://github.com/vmware/vsphere-automation-sdk-python/blob/master/setup.py
there is an issue when pip-tools compile is used during agent build

python -m piptools compile --verbose vsphere/requirements.in
...
    unpack_file(from_path, location, content_type, link)
  File "/Users/alexandre.yang/.pyenv/versions/3.8.1/lib/python3.8/site-packages/pip/_internal/utils/misc.py", line 732, in unpack_file
    unzip_file(
  File "/Users/alexandre.yang/.pyenv/versions/3.8.1/lib/python3.8/site-packages/pip/_internal/utils/misc.py", line 610, in unzip_file
    zipfp = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/tm/r8m0vyxs1_q0gqttgn969pc80000gn/T/pip-req-build-dik62xy7/lib/nsx-python-sdk/nsx_python_sdk-<IP_ADDRESS>.1.15419398-py2.py3-none-any.whl'

Ca fait beaucoup:

obligé d’utliser git package dans requirements.in
des wheel dans le repo git
la quantité et la taille des deps

Reopening since upgrading the deps is still a good thing and that will match py3 deps versions

Last build is not passing, but full passing built already happened https://github.com/DataDog/datadog-agent/pull/4890 and new changes are only about release notes.


Generate progress

I assume the generate command is doing a few different things? If so, I think it would be nice to get some progress updates. Usually it's not super long, but occasionally it is, so it would be nice to know what's going on.

Current generation is fast, so not important.


Parse error on CORS Middleware in hug.extend

I love hug and all, but, there is a problem with the CORS middleware; if you're using hug.extend, like in this code:
# teste.py
import	hug

import extended

api = hug.API(__name__)
api.http.add_middleware(hug.middleware.CORSMiddleware(api, allow_origins=["*"]))

@hug.extend_api('/extended')
def empresa_api():
	return [extended]

# extended.py
import	hug

@hug.get('/{id}')
def test(id):
	return "Testing " + id

It generates this beautiful error, if you make a OPTIONS request in /extended/12:
Traceback (most recent call last):
  File "/directory/lib/python3.7/sre_parse.py", line 1021, in parse_template
    this = chr(ESCAPES[this][1])
KeyError: '\\w'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/python3.7/wsgiref/handlers.py", line 137, in run
    self.result = application(self.environ, self.start_response)
  File "/directory/lib/python3.7/site-packages/falcon/api.py", line 260, in __call__
    process_response(req, resp, resource, req_succeeded)
  File "/directory/lib/python3.7/site-packages/falcon/api_helpers.py", line 93, in shim
    process_response(req, resp, resource)
  File "/directory/lib/python3.7/site-packages/hug/middleware.py", line 147, in process_response
    for _, routes in self.api.http.routes.items()
  File "/directory/lib/python3.7/site-packages/hug/middleware.py", line 148, in <genexpr>
    for method, _ in routes[self.match_route(request.path)].items()
  File "/directory/lib/python3.7/site-packages/hug/middleware.py", line 131, in match_route
    if re.match(re.sub(r'/{[^{}]+}', '/[\w-]+', route) + '$', reqpath):
  File "/directory/lib/python3.7/re.py", line 192, in sub
    return _compile(pattern, flags).sub(repl, string, count)
  File "/directory/lib/python3.7/re.py", line 309, in _subx
    template = _compile_repl(template, pattern)
  File "/directory/lib/python3.7/re.py", line 300, in _compile_repl
    return sre_parse.parse_template(repl, pattern)
  File "/directory/lib/python3.7/sre_parse.py", line 1024, in parse_template
    raise s.error('bad escape %s' % this, len(this))
re.error: bad escape \w at position 2
<IP_ADDRESS> - - [05/Apr/2019 21:46:55] "OPTIONS /extended/1 HTTP/1.1" 500 59

I made a temporary fix for this in my use case, but, it's not right:
class CORSMiddleware(object):
	"""A middleware for allowing cross-origin request sharing (CORS)

	Adds appropriate Access-Control-* headers to the HTTP responses returned from the hug API,
	especially for HTTP OPTIONS responses used in CORS preflighting.
	"""
	__slots__ = ('api', 'allow_origins', 'allow_credentials', 'max_age')

	def __init__(self, api, allow_origins: list=['*'], allow_credentials: bool=True, max_age: int=None):
		self.api = api
		self.allow_origins = allow_origins
		self.allow_credentials = allow_credentials
		self.max_age = max_age

	def process_response(self, request, response, resource):
		"""Add CORS headers to the response"""
		response.set_header('Access-Control-Allow-Credentials', str(self.allow_credentials).lower())

		origin = request.get_header('ORIGIN')
		if origin and (origin in self.allow_origins) or ('*' in self.allow_origins):
			response.set_header('Access-Control-Allow-Origin', origin)

		if request.method == 'OPTIONS': # check if we are handling a preflight request
			#allowed_methods = set(
			#	method
			#	for _, routes in self.api.http.routes.items()
			#	for method, _ in routes[self.match_route(request.path)].items()
			#)
			#allowed_methods.add('OPTIONS')

			# return allowed methods
			response.set_header('Access-Control-Allow-Methods', 'POST, GET, OPTIONS, PUT, DELETE')
			#response.set_header('Allow', ', '.join(allowed_methods))

			# get all requested headers and echo them back
			requested_headers = request.get_header('Access-Control-Request-Headers')
			response.set_header('Access-Control-Allow-Headers', requested_headers or '')

			# return valid caching time
			if self.max_age:
				response.set_header('Access-Control-Max-Age', self.max_age)

Sorry if I made something wrong....

Hi @JGabrielGruber,
Thank you for reporting this issue! I have tried locally and have been unable to reproduce.
My steps where:

Copying the code giving into a new test_api directory
Running the latest version of hug against the teste.py file hug -f teste.py
Making an OPTIONS request against /extended/12: http OPTIONS localhost:8000/extended/12

I received the following response from the client:
timothy@timothy-Desktop:~/.config$ http OPTIONS localhost:8000/extended/12
HTTP/1.0 200 OK
Date: Sun, 07 Apr 2019 16:52:03 GMT
Server: WSGIServer/0.2 CPython/3.7.1
access-control-allow-credentials: true
access-control-allow-headers:
access-control-allow-methods: OPTIONS, GET
access-control-allow-origin: None
allow: OPTIONS, GET
content-length: 0
content-type: application/json; charset=UTF-8

And the following log from the server:
<IP_ADDRESS> - - [07/Apr/2019 09:52:03] "OPTIONS /extended/12 HTTP/1.1" 200 0

To help me reproduce this issue can you confirm:

I am calling the right endpoint (/extended/12) using the right method (OPTIONS) ?
What version of hug you are using (hug -v)
What operating system you are running hug on.

Thanks!
~Timothy

Hi @timothycrosley
Thank you for replying,
1 - Yes!
2 - hug 2.4.1
3 -

Manjaro Linux
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=18.0.4
DISTRIB_CODENAME=Illyria
DISTRIB_DESCRIPTION="Manjaro Linux"

Hi @JGabrielGruber,
Thanks for the information! Would you be willing to try the latest release (2.4.8) and see if it fixes this issue for you?
Thanks!
~Timothy

Hi, @timothycrosley!
Really sorry about that, yep, solved the problem, sorry about this, I didn't know about pip --upgrade aushausa.
Thank you very much.
Have a great day!

No worries! Just glad to hear that it's working for you now! :)


Fix joint init data

This bug fix includes changes to modules: l_miter, t_step_joint, t_birdsmouth, t_dovetail.

Update __init__ to pass **kwargs to the superclass

Update __data__ to include beams directly (rather than their GUIDs).

Update restore_beams_from_keys to use model.element_by_guid() instead of model.elementsdict[]

What type of change is this?

[X] Bug fix in a backwards-compatible manner.
[ ] New feature in a backwards-compatible manner.
[ ] Breaking change: bug fix or new feature that involve incompatible API changes.
[ ] Other (e.g. doc update, configuration, etc)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[X] I added a line to the CHANGELOG.md file in the Unreleased section under the most fitting heading (e.g. Added, Changed, Removed).
[X] I ran all tests on my computer and it's all green (i.e. invoke test).
[X] I ran lint on my computer and there are no errors (i.e. invoke lint).
[ ] I added new functions/classes and made them available on a second-level import, e.g. compas_timber.datastructures.Beam.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added necessary documentation (if appropriate)

@chenkasirer  adjustments done 👍


Change Apache Spark and tool port

Currently:

Apache Spark => 8080
Tool => 8081

Need to be:

Tool => 8080
Apache Spark => something else (e.g. 8081)

Done in 5153a18ffb325e77d230aed7c0a1d15efeaa7f25


Saffron Finance (SFI)

https://saffron.finance
https://twitter.com/saffronfinance_
https://github.com/saffron-finance
https://www.coingecko.com/en/coins/saffron-finance
https://coinmarketcap.com/currencies/saffron-finance
https://etherscan.io/address/0xb753428af26e81097e7fd17f40c88aaa3e04902c

We have the requirement to use SVG image - can you replace PNG one, please?

@xrn I forgot to drop a message here, the logo has been swapped to an SVG and commit updated

@maze-maze-maze can you used EIP-55 address format - 0xb753428af26E81097e7fD17f40c88aaA3E04902c