Guidance Needed: Modeling Loan Accounts and Transactions in a Lending System Using TigerBeetle

I'm building a core banking system for loans and deposits, and I'm considering using TigerBeetle to handle the financial accounting aspects of the system. In my scenario:
Loan Accounts: Each customer loan has distinct principal, interest, penalty and fees balances. Should I model these components using separate TigerBeetle accounts for each (e.g., a principal account, an interest account, and a fee account), or is there a more efficient way to handle these distinctions using a single TigerBeetle account with different transaction codes? It would also be required to be able to display a list of customers' loan accounts and be able to specify the principal, interest, fees, penalty balances and what portion of those have been paid. The other alternative I've thought of is to keep those components as metadata in my database but that would require doing separate calculations to recognise those components while only using a single tigerbeetle account to store the total loan balance.
Accounting Entries: Loan disbursements generate accounting entries that affect multiple accounts (e.g., debiting a portfolio control account and crediting the transaction source and fee accounts). What would be the best way to model this in TigerBeetle, given that loan accounts are not general ledger accounts, but are tracked for individual customers?
Fetching all loan balances: If a tigerbeetle account represents individual loan accounts, what would be the best approach to fetch all loan accounts from tigerbeetle considering the available methods are just to look up one or more accounts by their Id? Would that require keeping the loan accounts in my external database and using the tigerbeetle id to do a batch lookup and then merging the results?
Any guidance or suggestions on best practices for modelling this type of use case would be greatly appreciated!

Thank you for your guidance.
Account fields cannot be changed by the user after creation. However, debits and credits fields are updated by TigerBeetle as transfers move money to and from an account.
The above is from the documentation on Accounts and I have a few questions. Imagine a savings/account that's created with a debit_must_not_exceed_credit flag which prevents the account from going into negative. So this runs for a while and then we decided to start allowing overdrafts. This means that the existing flag would prevent overdrafts. The credit_must_not_exceed_debit flag is better suited for this scenario. Considering an account can't be updated what would be the best way to approach this?
Create new accounts with the flag that allows overdraft? And move over the balance from the old accounts? And associate the new accounts with any existing external lookup table? What about the transactions on the old account? Users don't typically expect to be issued new accounts because of a new feature.
Would it be recommended to not set any flag such as flags.debits_must_not_exceed_credits and just control the constraint outside tigerbeetle by maybe checking the account balance before transaction and applying any constraint necessary?

One meta observation here is that TigerBeetle Accounts and Transfers are internal implementation detail Each user account and each user transfer could map to multiple account transfers.
That is, your application should have some form of a schema that maps your domain object to TB's accounts&transfers. The schema can, of course, evolve over time, but it is the responsibility of the application to "migrate" the data (either through stop-the-world one-time migration, or incerementally, by merging both old and new accounts for some time).
With this being said, the general pattern for solving any business-specific problem is to use auxiliary control accounts and a series linked transfers. We have several patterns documented for this:
https://docs.tigerbeetle.com/coding/#advanced-recipes
In particular https://docs.tigerbeetle.com/coding/recipes/balance-bounds I think is the pattern that can be specialized for  overdraft (though, we should add an explicit overdraft recipe)


deis registry:unset unauthorized

$ deis version
v2.14.1

Setting registry set value works ok:
deis registry:set username=adnaan password=dummy --app=myapp
Applying registry information... done

=== myapp Registry
password     dummy
username     adnaan

Unsetting registry values does not:
$ deis registry:unset username password --app=myapp
Applying registry information... Error: Unknown Error (400): {"detail":"unauthorized: authentication required"}

EDIT:
Is this is the intended behaviour here? I expected this to go through while the release fails.
Thank you!

Are you authenticated? This error usually indicates you need to log in with deis login.

Checked that. Is authenticated.

Interesting. I also notice its a different error message than the usual unauthenticated message, so I don't know what's going on.

This issue was moved to teamhephy/workflow-cli#2


Fix typo in italian translation

I fixed a typo in the main page (the add dowload text).

Thanks @maxgiro96 ! <3


Dev mode 'building' processes appear to not be getting cleaned up (bogging down machine)

It appears that saving any stack config while in dev mode just spawns a bunch of node processes that don't get cleaned up in my case.
When I'm running sst dev, I notice here's one node process in my activity monitor. When I save any of my stack files, it will re-build and I notice another node process shows up in my activity monitor. The issue is this quickly adds up when you're working lots on stack config and it can really bog the computer down. In particular, I noticed that the stack I have that contains a bunch of complicated state machines really slows this down, and after a couple saves my machine becomes basically unusable.
Is this normal?
Using:
SST v2.43.3
node v18.20.3 (npm v10.8.1)

This is my activity monitor now with my state machine stack enabled:

Woops. Turns out when I disable all of my VSCode extensions this completely disappears 😅


Replace the unavailable linked test-case for issue 845 with a reduced test-case

Re: issue #845 and PR #1977.

/botio test

/botio makeref

Nice work!


[fstream] New port request

Good day
When I do a search on vcpkg for fstream, it is not listed at all. This is for linux
command: ./vcpkg search fstream

If you wish to add this port in the future, you can reopen this issue, but we're closing it for now.


How to uninstall zazu

Expected Behavior
Uninstalls zazu
Actual Behavior
process keeps running even after uninstalling
Steps to reproduce the behavior
click uninstall in windows programs and features.
Versions

Zazu: 0.2.1
OS:windows 7
GIT:

Please, include a link to gist of most applicable ~/.zazu/log/ file.
zazu logs

Do you mind trying this again with zazu v0.4.0? We've switched the build system so we should have new install/uninstall scripts.

What did not work

Do you mind trying this again with zazu v0.4.0?

I did (several times), but for me that did not work. Neither the 0.4.0 installer nor installer removed the leftovers nor and the startup script mentioned in the Task manager.
Even more so, when having the 0.4.0 version installed it still started the old one (0.3.x suggesting an update despite I installed that one already).
I think that problem rose because of an incomplete uninstall (did the uninstaller forget to check for running instances maybe?). What i found out that the newer version installed into another location: C:\Program Files (x86), whereas the old one is/was (semi)installed in C:\Users\username\AppData\Local\Programs.
What did work
So what I did was: re-install the old version that kept popping up (luckily that installer was still present in my download folder). And uninstall that one again.
Et voila! I hope it helps someone (especially the developers) to clear the issue!

@woosting Thanks very much for those steps; I was struggling to get the update message to go away & finally succeeded, with your steps.

@BretJohnson Glad to be of assistance! Gotta love open source and its community!

@woosting followed the steps and uninstalled it. Thanks. :)


[BUG] bump fvm to support Dart 2.18.x

fvm v2.4.1

@subzero911 does the issue happen when installing FVM through chocolatey also?

@subzero911 does the issue happen when installing FVM through chocolatey also?

Yes, I installed it through chocolatey

@leoafarias could it be solved, if being installed not through choco, but through pub activate global?
Btw, it's dart 2.18.3 latest now

I've run into this issue as well!

Meanwhile, the next Dart version, 2.19.1, is out...

@subzero911 sorry for the delay on this again. I have to review a bit more in detail on why this issue is happening so often, I think maybe the constraints on FVM are incorrect, as it should not be happening with that much frequency

@subzero911 after doing a bit more research I don't think just upgrading the Dart version is a good solution for this, this might only help your case on Chocolatey since you want to have the latest version of Dart, but that is very restrictive for many other use cases including the pub global actiavate.
I am doing a bit of research to understand how the chocolatey version is being built and deployed, as we use a package called cli_pkg for that.

Hey @leoafarias, great work so far :) Is there any luck from your research?

Hey, this ain't stale! Although I do fear FVM has been somewhat abandoned, which is a shame: I hope I'm wrong!

@leoafarias With the release of Dart 3, this issue is now vastly more important! I would volunteer to help fix it, but unfortunately, I have no experience with Chocolatey internals.

@leoafarias why it's such a bad idea to upgrade it manually?
I checked out other packages, and their authors just do it

It's not that we can't, but because fvm is a version manager it means that we need loser versions to guarantee compatibility with as many possible environments as possible.
A package like mobx can be more aggressive, also I haven't had time to take a deeper look but I am still no clear on root of the problem since I don't see this happening with our internal use.

Just to note, if using the standalone installation instructions, this issue doesn't occur. You can then just set the system PATH manually.

Hi! That's great news!

Hey any updates on upgrading the dart version?
Currently unable to make use of dart 3.0.

I suggest using the standalone binaries, brew or chocolatey. For the next version we will release an easier way to install the binaries also.

@leoafarias  this was with chocolately.  I have both dart and fvm installed using that.
I am however able to work around it by pointing vs code to the dart sdk of the particular flutter version used via fvm.

@Chappie74 next week we will be releasing the next version which should hopefully address this issue

This is closed. The deploy actions for chocolatey and brew will now pin the compiled version to avoid this going forward.


NXP Xplorer LPC4330 alternative

Because this board will not be produced anymore, is there another alternative available? I mean an existing evalutation kit.

I don't know of an existing NXP evaluation kit with direct compatibility; though there are a few general options:

The @greatscottgadgets GreatFET One / GreatFET Azalea should be available Very Soon (TM); at which point it will be the "canonical" FaceDancer2 board.
A few of the LPCXpresso boards have mostly-compatible microcontrollers; if someone wanted to add support for their uC-variants to the GreatFET software distribution (greatscottgadgets/greatfet), that'd be an easy way to maintain support.

Does that answer your question?

Thank you very much for the information.


Show prices and Items dynamically according user tariff

https://github.com/ita-social-projects/GreenCityClient/commit/d9738170f54f9dd873058db779a5626bb0c1aead


Add: organize-cli to Command-line apps

Organize CLI allows developers to organize and clean up their folder the way they want. I'm not sure whether it needs to be here or awesome-cli-apps since developers find it useful too.
By submitting this pull request, I promise I have read the contribution guidelines twice and ensured my submission follows it. I realize not doing so wastes the maintainers' time that they could have spent making the world better. 🖖
⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆

I think it would be a better fit for awesome-cli-apps.


Modification slot on Epic ships

Hello,
I was creating a list for an upcoming Epic match but I encountered several issues when doing so in the squad builder:

when adding a fore & aft section of a Raider to a squad both of the sections have a modification slot as in reality an epic ships can only have one (when you equip a mod to the for section, the mod slot of the aft section should dissappear/get disabled.
when adding the 'Ordnance Tubes' mod to the for section I have the possiblity to add missiles/torpedoes in the hardpoint slot of the fore section, but the hardpoint slots on the aft section do not allow this.  (although this should be possible because the mod counts for the entire ship).

Thanks for you time & keep up the great work !
Michel

Duplicate of #342


Doc - Remove standalone cluster doc

Signed-off-by: kcoriordan<EMAIL_ADDRESS>What this PR does / why we need it
-Removes standalone cluster topics from table of contents
-Removes references in topics to standalone cluster
-Note the standalone cluster topics have not been deleted and are still available through search or saved bookmarks
Related to: #2266, #2820
Details for the Release Notes (PLEASE PROVIDE)

Which issue(s) this PR fixes

Related to: #2266
Describe testing done for PR

Special notes for your reviewer

@jpmcb Search index will dynamically update based on what's in the site (on next crawl). I'm looking into adding a synonym of standalone -> unmanaged to help with surfacing content in Algolia's index.

Not sure why the Netlify site didn't build, but pulled this down, built it with
cd docs/site && hugo build

and looking good to me. Will let others comment as well
Question for @garrying regarding the Algolia search indexing; does the search dynamically update itself based on what's in the site? Will the standalone-cluster pages still show up in the search if we remove it from the TOC?

Not sure why the Netlify site didn't build, but pulled this down, built it with
cd docs/site && hugo build

and looking good to me. Will let others comment as well
Question for @garrying regarding the Algolia search indexing; does the search dynamically update itself based on what's in the site? Will the standalone-cluster pages still show up in the search if we remove it from the TOC?

Failed during stage 'checking build content for changes': Canceled build due to no content change

seems Netlify believes there has been no content change, which is surprising. Will kick off tests again.

preview here: https://deploy-preview-2862--quirky-franklin-8969be.netlify.app/docs/latest/docker-monitoring-stack/
not sure why the Netlify link doesn't show in checks, this happens sometimes and I manually add the PR# to the Netlify preview URL

@jpmcb fixed merge conflict

@joshrosso - thoughts on getting this out now? Or do we want to wait on this after v0.10.0? I think it'd be fine to go out now

When do we currently plan on starting to version the docs?

When do we currently plan on starting to version the docs?

https://github.com/vmware-tanzu/community-edition/issues/882


Include why fly in the readme

The question was legitimate and the answer is great, let's make it easy to find.

@p-j Thanks! I think it should be there for sure.
Let's improve the formatting just a bit, what about making it look like this?
## About

_Fly_ is a [build system](https://en.wikipedia.org/wiki/Build_automation) for [Node](https://nodejs.org/) based in [_co_-routines](https://medium.com/@tjholowaychuk/callbacks-vs-coroutines-174f1fe66127), [generators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*) and [promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) that aims to be simple and elegant to write. Read our rationale [here](https://github.com/flyjs/fly/issues/3).

See the [documentation](/docs/README.md) to learn more about how to use Fly and write your own [plugins](/docs/README.md#plugins).

Thanks


Not compatible with Angular 2.4.1: trackBy must be a function

Trying the version 0.6.0 with angluar 2.4.1 I get following error:

trackBy must be a function, but received undefined

Liklely it's related to this isssue: https://github.com/angular/angular/issues/13641
So the trackBy: value in tag-input.template.html has to replaced by a function when I got that correctly.

Hi @maltehol,
thanks for reporting. The latest version (0.6.1) should take care of that. Reopen if still an issue please :)

I'm getting this same error with 0.6.1 and angular 2.4.1. Any idea?

This is the change I added (I did not test with @2.4.1 though):
https://github.com/Gbuomprisco/ng2-tag-input/blob/master/modules/components/tag-input.template.html#L10
Very odd :| @maltehol do you also reproduce this?

Hi @jonohrt,
I temporarily removed the trackBy from there, for some reason an undefined item gets passed probably before the items are passed to the accessor (or some odd reason). Try the new version :)

Seems to be working now. Thanks!


Use a vector instead of an array in canvas shader instance buffer

This avoids a pathological performance cliff on Adreno devices
I noticed a regression between dev2 and dev3 in 2D rendering performance. I finally took the time to investigate it last night. I found that on my Pixel 4 (Adreno 640) frame time roughly tripled (from 15 FPS down to 5 FPS) in the isometric 2D demo.
The regression was most likely caused by the move to batching which is very weird as batching barely affects the shader code.
I ran a profiler over the demo and found something very odd. The profiler showed shader processor memory bandwidth use go from 16mb/s to 6.5GB/s. I expected that this scene would be ALU bound due to the high number of lights.
After a lot of investigation, I accidentally stumbled on the cause. Adreno doesn't like having an array inside a struct inside of an array. We can easily fix that since vectors can be indexed like arrays. Simply by changing the lights member into a uvec4 we reclaim all the performance we lost. Non-Adreno devices don't care one way or the other, so this ends up being a very safe fix.

Thanks!


Nether update

maybe this would help

it's hard to review through all the resource changes but i'll look soon ^^


fix(v2): escape alt text in img tag

Motivation
Fixes  #3751
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Tests
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)

LGTM 👍


'find_all_minima' to include global minima

For better selection of upper and lower bounds of the integral calculation in get_auc, find_all_minima now has global minima in the array.

Thanks! Could you add a test case that checks that the minima is correctly grabbed? This would be similar to the partial VHFs we talked about previously.

Some functions you could try grabbing the minima of: x^2, 2^x, sqrt(x), logit (https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.logit.html).


Smmodelparallel examples

Description of changes:
README and example script changes for HyperPod and SM Model Parallelism library.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Please rebase off origin/main. The branch isn't up to date. If you have any questions on how to do so reach out.


Error while syncing blockchain from database

I started a local node connecting to the testnet and I specified a db to use - it synced the blockchain from the testnet and said it had 616
I stopped the sushid and restarted - and this time it loaded the 616 from the db - then it downloaded the latest from the testnet and synced - but then it failed to send a transaction and stopped - so the local node only has 169 blocks
and then everytime a new block arrives - it gets stuck at the invalid block

my config
current configuration is for: 's1' in file /Users/kings/.sushi/config
configuration is Enabled
--------------------
connect_node:	http://testnet.sushichain.io:3000
wallet_path:	/Users/kings/sc-wallets/w1.json
is_testnet:	true
is_private:	true
bind_host:	<IP_ADDRESS>
bind_port:	3000
database_path:	s1.sqlite3
threads:	1
encrypted:	false

I think it's a bug that the invalid transaction stops the syncing. maybe a bug with the database and rejected transactions?


Remove buffer spare

Dynamic buffers have an internal spare field which is not exposed to user code. It's used for automatic resizing when data is appended to a buffer. Current call sites include compiler bytecode emission, JSON serialization, and global object built-ins. Other than these, the spare area is not used and could be removed.
Another motivation to remove the spare and the shared buffer append/insert operations (duk_hbuffer_ops.c) is that the generated code is neither very small nor very fast. In bytecode dump/load prototype a simpler approach was used which yields better code.

[ ] Remove buffer spare from duk_hbuffer struct
[ ] Implement a shared alternative for appending/inserting bytes into a growing buffer
[ ] Rework call sites that depend on buffer spare - at least Ecmascript compiler, RegExp compiler, JSON, and global object
[ ] Internal docs etc

I'm not sure I understand the motivation for the spares in the first place.  Was it just to ensure a realloc wouldn't fail at a critical moment or...?

Consider any serialization algorithm that produces an output string potentially one character at a time. No reasonable implementation would do a realloc() for one byte before every write. Instead, one would realloc() for more space once in a while, perhaps doing it 1kB or so at a time.
Dynamic buffer spare made that process part of the buffer itself so that growing the spare was entirely shared code. But because other parts of that approach don't generate very good code, it's probably better that the "spare" handling it outside the buffer object (it's still the same idiom but uses a "writer" object to manage it).

The resulting code for the shared buffer writing code is not very good because every field write generates a function call, and that function call always independently checks for available buffer size, and resizes if necessary. This is somewhat reasonable for e.g. the compiler where the amount of processing per emitted bytecode instruction (for example) is rather large anyway. But for things like dumping bytecode the overhead is quite dominating.
I quickly tested an alternative to the built-in buffer spare in the bytecode dump/load branch: a buffer writer helper that provides spare management for a target buffer so that the buffer itself doesn't need to know about it. The writer is also geared more for emitting data quickly (bytecode dumping does very little processing for emitted values). Checking for available output space is also explicit and not necessary for every operation, e.g. one can:

Ensure space for at least 8 bytes and get a pointer that'll be stable for writing at least those bytes.
Write two 32-bit values without further checks.

The assembly generated from this looks pretty good, e.g. for writing those two values in network order:
# Field 1, copied as is
416557:       8b 45 60                mov    0x60(%rbp),%eax
41655a:       0f c8                   bswap  %eax
41655c:       89 41 f8                mov    %eax,-0x8(%rcx)

# Field 2: write input value & 0xfffffffcUL
41655f:       8b 45 00                mov    0x0(%rbp),%eax
416562:       83 e0 fc                and    $0xfffffffc,%eax
416565:       0f c8                   bswap  %eax
416567:       89 41 fc                mov    %eax,-0x4(%rcx)

The comparable code using duk_hbuffer_ops.c helpers would do a function call for each write and would be slower and have a larger footprint.
Anyway, if this model works well, I'll see if it also works well for JSON and the other call sites, and hopefully some of the buffer code could be stripped.

So if I'm understanding it right, the spare is basically just what C++ std::vector does, where it reallocates the buffer to (as an example) twice the size when it runs out of space?  So it's not so much a "spare" as "slack space".  That makes more sense, I thought you were literally allocating two buffers for each buffer object and one was a "spare".  That's why I got confused.

Yes, it's just unused space already allocated. Now that you mention it "spare" it not a very good term for it.

Ok, I have a draft branch which removes the duk_hbuffer_dynamic spare and fixes all call sites to use bufwriter or some other solution. It needs some cleanup work so I'll push it after that, and merge to master after a lot more testing.
There's a slight code footprint increase at present (around +1.5 kB) but I can probably bring it down a bit. The call sites converted are a bit faster, e.g. some compilation tests are ~20% faster, also improvements to JSON parse/stringify, regexp compilation, etc.
I'll push the branch after a little bit of cleanup and also the results of a (rough) performance test run (takes several hours to run).

I'll work in a few JSON optimizations in the branch which should improve parsing just a little bit more.

Here's the current work branch after most of the necessary cleanup: https://github.com/svaarala/duktape/compare/remove-dynbuf-spare-size
Still needs a bit of work before a merge, and better test coverage for all affected places.,

Okay, this is now merged to master.  Because any bugs in the change may introduce very difficult-to-diagnose memory safety issues, I've tried to improve test coverage to cover all the affected code paths, and I've done quite a lot of testing with assertions and valgrind.  Also tested compilation on MIPS (big endian), and Windows Mingw, MSVC x86, and MSVC x64. But, if you encounter something weird, let me know.
Final change on code footprint compared to master (x64, gcc -Os):

+552 bytes with fastpaths disabled

+1472 bytes with fastpaths enabled (on x64 using gcc)

The new JSON fastpaths are enabled by default; for low memory environments, you may want to disable them to reduce code footprint slightly.

1.4k additional footprint for x64 isn't bad at all for a 22x speedup. :)

Looks like I will be updating today, thanks Sami!

@JoshEngebretson Just to note, this branch doesn't yet include the specific JSON.stringify() fastpath @fatcerberus was referring to. I've rebased that branch and it's close to being merge-able, there's one portability issue to resolve.

Oh ok, thanks for the clarification, I will hold off a little bit then, no problem.

@JoshEngebretson There are some performance improvements in master already but not that specific fastpath. It'd be very useful if you could test master quickly to ensure nothing has broken for you :)

I updated to master, the only different option I am using is DUK_OPT_NO_VOLUNTARY_GC
So far everything is working, I'll report if I run into any quirks!

Thanks Josh, it's very good to get coverage for the new code quickly :)

Atomic hits it pretty hard, no problem, I like being useful! :)

I think I should get Cygwin set up to build the distributables so I can test out the WIP 1.3.0 in minisphere, I'm missing out on a lot of neat stuff. :)

There's some progress in migrating to CMake so perhaps you can avoid Cygwin in the near future. But here's a snapshot with this change included: http://duktape.org/snapshots/duktape-1.2.99-20150805191826-v1.2.0-257-gb098f04.tar.xz
I'm pretty close to merging the JSON stringify fastpath branch so I'll post a snapshot link for that too.

Thanks Sami, you didn't have to do that. :)

I should probably change the cronjob to build when the master changes rather than nightly; there's no point building when master doesn't change and when it does, the snapshot should be online faster.

Ok, now it checks for updated master hourly and builds as needed.

All this time I never knew you had nightly builds available... That's nice, now I won't have to bug you for snapshots anymore. ;-)


[T4A4][W11-B2]Tan Wang Leng

Ready for review

Further commits removed the magic "strings". Prefixes now resides in class as constants.

@yamgent  good job! psl close PR


[BUG] The order of overloaded constructors definitions affects their calling

Describe the bug
I defined a class in a pyx file and defined two constructors. I found that defining the no-argument constructor first would make it uncallable.

I call the no-argument constructor of the class defined in the pyx file in the py file

I first define the PyC class as follows

3.The error message after I run it is as follows

After I switched the order of the two constructors, it worked fine

Code to reproduce the behaviour:
# pyxtest.pyx
cdef class PyC:
    def __cinit__(self):
        pass

    def __cinit__(self, int a):
        pass

# main.py
import pyxtest

pyc = pyxtest.PyC()

# setup.py
ex = Extension(
    'pyxtest',
    sources=['pyxtest.pyx'],
)

setup(
    name="pyxtest",
    ext_modules=cythonize(ex),
    language_level="3")

Expected behaviour
I should be able to call the constructors in any order.
OS
win11
Python version
3.12
Cython version
3.0.10
Additional context
No response

Interesting. Don't do that. The second declaration simply replaces the first one (as always in Python).
We should reject duplicate definitions also for __cinit__. It's probably just letting it pass through due to the special "no-args" case (which ignores all arguments that are passed into the constructor).


Sending JSON

Hello, I'm trying to send json object like
NSDictionary* headers = @{@"accept": @"application/json"};
NSDictionary* parameters = @{@"company_id":@"xxxx", @"type":@"nakup", @"customer_ids":@"123"};

UNIHTTPJsonResponse* response = [[UNIRest post:^(UNISimpleRequest* request) {
	[request setUrl:target];
	[request setHeaders:headers];
	[request setParameters:parameters];
	NSLog(@"%@", [request parameters]);
}] asJson];

but nothing happend... nothing is coming on my server.
I tried also
 UNIHTTPJsonResponse *response = [[UNIRest postEntity:^(UNIBodyRequest *request) {
 [request setUrl:@"http://httpbin.org/post"];
 [request setHeaders:headers];
 // Converting NSDictionary to JSON:
 [request setBody:[NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil]];
}] asJson];

But nothing happend. I want to send json like:
{
company_id: val,
type: val,
.....
}
someone can help me ? am I wrong ?

@Chipsi Have you set the Content-Type header to application/json.  I have found that often makes a difference.  Web servers may not realize that your request body is JSON unless you tell it so via the Content-Type header.  This happened on a project of mine.


reading<EMAIL_ADDRESS>parse result.descriptor error

Describe the bug
Error info:
unplugin-vue-define-options TypeError: Cannot read properties of undefined (reading 'script')
Reproduction
https://codesandbox.io/s/vue2-define-options-253lv4
System Info
System:
    OS: macOS 12.5.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 91.86 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.14.2 - /var/folders/_8/56jw43kd3736fw5wjm2hjj_m0000gn/T/fnm_multishells/5286_1662459564218/bin/node
    Yarn: 1.22.19 - ~/Library/pnpm/yarn
    npm: 8.5.0 - /var/folders/_8/56jw43kd3736fw5wjm2hjj_m0000gn/T/fnm_multishells/5286_1662459564218/bin/npm
  Browsers:
    Chrome: 104.0.5112.79
    Firefox: 100.0
    Safari: 15.6.1

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

Fixed, released as v0.11.2


Adding a check to make sure Fake Intake didn't lie to us about logs existing for a service

What does this PR do?
Added a check to make sure logs returned by the Fake Intake are not empty.
Motivation
Some of our K8s e2e tests are failing as the Fake Intake returned no logs even though it said logs existed for the given service.
Possible Drawbacks / Trade-offs
Our K8s e2e tests may fail more frequently due to Fake Intake sending us bad data.

/merge

/merge


TypeError: webpack_require.i(...) is not a function when using createMuiTheme

I'm getting TypeError: __webpack_require__.i(...) is not a function error when calling the createMuiTheme. I followed the example code from https://material-ui-1dab0.firebaseapp.com/customization/themes.
const theme = createMuiTheme({
  palette: createPalette({
    primary: purple, // Purple and green play nicely together.
    accent: {
      ...green,
      A400: '#00e677',
    },
    error: red,
  }),
});

Versions

Material-UI: 1.0.0-alpha.19
React: 15.6.1
Browser: Chrome 58.0.3029.110

Can you share the stack trace of the issue?

This is very strange. It is working now without changing anything. Just did a browser refresh and I'm not getting the error anymore.

Feel free to reopen the issue if you can provide a reproduction test case then. Sounds like a issue on webpack land.

@oliviertassinari While I got you here, I have some questions regarding theme customization.
I'm trying to change the primary color to blue, which works fine, except the focused input fields and labels still have the old color as you can see below:

Here's my theme:
import { blue } from 'material-ui/styles/colors';

const muiTheme = createMuiTheme({
  palette: createPalette({
    primary: blue,
  })
});

I think that it's expected, we use the accent hue of the primary color. Try out a different color to see that behavior.

How do you recommend changing the color of the focused input fields and labels to be the same as the primary color?

The easier one would be the change the A hues of the blue color. The more elegant one would be to overrides the MuiInput.inkbar&:after->backgroundColor style.

Thank you. I'll give that a shot.

@oliviertassinari I can't seem to figure out where to put the css overrides (MuiInput.inkbar&:after->backgroundColor and MuiFormLabel.focused->color). Can you give me some example please?

Here is an example: https://www.webpackbin.com/bins/-KnpurLIGtBVrZx27iEL
const styleSheet = createStyleSheet('HelloWorld', theme => ({
  inkbar: {
    '&:after': {
      backgroundColor: 'red'
    }
  }
}))

const HelloWorld = (props) => (
  <TextField label="hello" InputProps={{classes: props.classes}} />
)

export default withStyles(styleSheet)(HelloWorld);

// ...

import { MuiThemeProvider, createMuiTheme } from 'material-ui/styles';

const theme = createMuiTheme({
  overrides: {
    MuiFormLabel: {
      focused: {
        color: 'red'
      }
    }
  }
});

Thank you @oliviertassinari. That is very helpful.
I can get the overriding of MuiFormLabel.focused color working using the createMuiTheme, but the MuiInput.inkbar&:after override doesn't seem to be working.
Here's my code:
const muiTheme = createMuiTheme({
  palette: createPalette({
    primary: blue,
  }),
  overrides: {
    MuiFormLabel: {
      focused: {
        color: 'red'
      }
    },
    MuiInput: {
      inkbar: {
        '&:after': {
          backgroundColor: 'red'
        }
      }
    }
  }
});

I can see the style has been applied properly to the element in dev tool:

But I don't see the red underline when I focused on the field:

the MuiInput.inkbar&:after override doesn't seem to be working.

@krismartin I confirm, there is an issue here

@krismartin We are doing a deep merge now. I'm expecting the issue to be fixed.

I am facing the same problem but it is not getting resolved on browser refresh.
I am using React-boilerplate I created a MUIContainer and wrapped the App inside MuiThemeProvider
import React from 'react';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import withProgressBar from 'components/ProgressBar';
import theme from './material_ui_raw_theme_file';
import App from '../App';

const muiTheme = getMuiTheme({
  palette: {
    accent1Color: deepOrange500,
  },
});

export function MuiContainer(props) {
  return (
    <MuiThemeProvider muiTheme={theme}>
      <App {...props} />
    </MuiThemeProvider>
    );
}

MuiContainer.propTypes = {
  children: React.PropTypes.node,
};

export default withProgressBar(MuiContainer);

material_ui_raw_theme_file:
import { fade } from 'material-ui/styles/colorManipulator'
import * as Colors from 'material-ui/colors';
import { spacing, getMuiTheme } from 'material-ui/styles';

console.log('colors', Colors);

const rawBaseTheme = {
  ...spacing,
  palette: {
    primary: Colors.blue,
    accent: Colors.green,
    textColor: Colors.common.darkBlack,
    alternateTextColor: Colors.common.white,
    canvasColor: Colors.common.white,
    borderColor: Colors.grey,
    disabledColor: fade(Colors.common.darkBlack, 0.3)
  }
};

//Theme must be wrapped in funciton getMuiTheme
export default getMuiTheme(rawBaseTheme);

I am getting the error from getMuiTheme.
error:
Uncaught TypeError: __webpack_require__.i(...) is not a function
    at eval (eval at ./app/containers/MuiContainer/material_ui_raw_theme_file.js (main.js:1054), <anonymous>:28:131)
    at Object../app/containers/MuiContainer/material_ui_raw_theme_file.js (main.js:1054)
    at __webpack_require__ (main.js:687)
    at fn (main.js:106)
    at eval (eval at ./app/containers/MuiContainer/index.js (main.js:1046), <anonymous>:6:86)
    at Object../app/containers/MuiContainer/index.js (main.js:1046)
    at __webpack_require__ (main.js:687)
    at fn (main.js:106)
    at eval (eval at ./app/app.js (main.js:791), <anonymous>:21:83)
    at Object../app/app.js (main.js:791)

Getting same error after I updated from 1.0.0-beta.3 to 1.0.0-beta.5.
Here is the code:
import * as React from 'react';
import AppBar from 'material-ui/AppBar';
import Toolbar from 'material-ui/Toolbar';
import Button from 'material-ui/Button';
import IconButton from 'material-ui/IconButton';
import Typography from 'material-ui/Typography';
import MenuIcon from 'material-ui-icons/Menu';
import { withStyles, createStyleSheet } from 'material-ui/styles';

const styleSheet = createStyleSheet('Header', {
    root: {
        width: '100%',
    },
    flex: {
        flex: 1,
    },
});

const Logged = (props) => (
    <MenuIcon
        {...props}
        iconButtonElement={
            <IconButton></IconButton>
        }
        targetOrigin={{ horizontal: 'right', vertical: 'top' }}
        anchorOrigin={{ horizontal: 'right', vertical: 'top' }}
    >
        <MenuIcon primaryText="Refresh" />
        <MenuIcon primaryText="Help" />
        <MenuIcon primaryText="Sign out" />
    </MenuIcon>
);

function Header(props) {
    const classes = props.classes;
    return (<div>
        <AppBar position="static" className={classes.root}>
            <Toolbar>
                <Typography type="title" color="inherit" className={classes.flex}>
                    Predictor
                    </Typography>
                <Button color="contrast">Sign up</Button>
                <Button color="contrast">Login</Button>
            </Toolbar>
        </AppBar>
    </div>);
}

export default withStyles(styleSheet)(Header);

@Tonvengo have a look at the CHANGELOG.

Ok, thank you. Changed and it works now!
2017-08-17 17:21 GMT+02:00 Olivier Tassinari<EMAIL_ADDRESS>
@Tonvengo https://github.com/tonvengo have a look at the CHANGELOG.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/callemall/material-ui/issues/7238#issuecomment-323105194,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARwQ0umLY0kFoUQjkI8_7_SjiSlN-1pCks5sZFqAgaJpZM4OET6c
.

--
With the best regards,
Vladimir Shulgin

I got similar exception when using createMuiTheme in Kotlin
TypeError: $module$material_ui_styles is not a function
Other components work just great.
Any advices?


Merging Backend and Parser changes

-Added API endpoints
-Minor API model changes
-Finished (mostly) parser
-Deleted Python models as SQLAlchemy is not being used

:)


Use additional constraints to reduce matches to a single VPC

Hello there!
I hope PRs are welcomed :)
More constraints need to be used to reduce the VPC matches, because if you have more than one VPC, terraform will fail to apply the configuration with the following error:
module.eks.data.aws_vpc.default: data.aws_vpc.default: multiple VPCs matched; use additional constraints to reduce matches to a single VPC

@vlesierse Is there anything I can do to get this moved forward? Thanks!

@eana first of all, sorry that I missed your PR. Probably due to the notification during my vacation. Thanks for that. I'll merge it in and look at the other PR's. Hopefully to merge them and plan a release today.


ues strategy pattern modify refresh ShardingMetaData.

Codecov Report

Merging #5019 into master will increase coverage by 0.06%.
The diff coverage is 27.58%.

@@             Coverage Diff              @@
##             master    #5019      +/-   ##
============================================
+ Coverage     53.83%   53.90%   +0.06%
- Complexity      395      401       +6
============================================
  Files          1146     1153       +7
  Lines         20409    20413       +4
  Branches       3710     3703       -7
============================================
+ Hits          10988    11004      +16
+ Misses         8745     8737       -8
+ Partials        676      672       -4

Impacted Files
Coverage Δ
Complexity Δ

...jdbc/refreh/DropIndexStatementMetaDataRefresh.java
6.66% <6.66%> (ø)
1.00 <1.00> (?)

...bc/jdbc/refreh/AbstractTableStatementMetaData.java
10.00% <10.00%> (ø)
1.00 <1.00> (?)

...bc/refreh/CreateIndexStatementMetaDataRefresh.java
14.28% <14.28%> (ø)
1.00 <1.00> (?)

...jdbc/refreh/DropTableStatementMetaDataRefresh.java
20.00% <20.00%> (ø)
1.00 <1.00> (?)

...dbc/refreh/AlterTableStatementMetaDataRefresh.java
25.00% <25.00%> (ø)
1.00 <1.00> (?)

...bc/refreh/CreateTableStatementMetaDataRefresh.java
25.00% <25.00%> (ø)
1.00 <1.00> (?)

...ardingjdbc/executor/AbstractStatementExecutor.java
92.85% <33.33%> (+51.99%)
0.00 <0.00> (ø)

...dbc/refreh/SQLStatementMetaDataRefreshFactory.java
88.88% <88.88%> (ø)
0.00 <0.00> (?)

...jdbc/jdbc/core/context/ShardingRuntimeContext.java
84.21% <100.00%> (+0.87%)
0.00 <0.00> (ø)

... and 6 more

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 f0a3128...b9bf8ce. Read the comment docs.

Pull Request Test Coverage Report for Build 10738

17 of 58 (29.31%)  changed or added relevant lines in 9 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.05%) to 57.263%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sharding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/executor/AbstractStatementExecutor.java
2
3
66.67%

sharding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/refreh/SQLStatementMetaDataRefreshFactory.java
8
9
88.89%

sharding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/refreh/AlterTableStatementMetaDataRefresh.java
1
4
25.0%

sharding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/refreh/CreateTableStatementMetaDataRefresh.java
1
4
25.0%

sharding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/refreh/DropTableStatementMetaDataRefresh.java
1
5
20.0%

sharding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/refreh/CreateIndexStatementMetaDataRefresh.java
1
7
14.29%

sharding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/refreh/AbstractTableStatementMetaData.java
1
10
10.0%

sharding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/refreh/DropIndexStatementMetaDataRefresh.java
1
15
6.67%

Totals

Change from base Build 10733:
0.05%

Covered Lines:
11689

Relevant Lines:
20413

💛  - Coveralls


Profile URLs issue

we have to make sure the urls are correct, we have to validate the url and if wrong it should throw error, we can achive it via tests

issue #4 resolved


Can we show counter for total request in queue

Can we show total requests which are in queue and total request processed ?
Thanks

This is outside of the scope of this project to actually show this counter, as it would have too specific a use-case.  You should have everything you need to create this by listening to events, but if there's something missing, I'm happy to take a PR


Sorry not sure where else to put this:

Are there github projects to follow somewhere on https://github.com/lbryio for the progresses of Odysee for Android & Linux? Sorry, couldn't track down more information about this.

We will set up a repository for odysee-android soon.

Are there any updates to this @akinwale? I would be happy to contribute code to it

It's still private, will be made public in the next week or two.


Consider using https://github.com/lilab-bcb/backedarray for backed sparse csr and csr matrices

backedarray supports backed sparse csr and csc matrices in zarr and hdf5 formats. Happy to discuss. Thanks.

What functionality would this add? Or is the main purpose to split out the backed sparse arrays?
Also, you may be interested in https://github.com/GraphBLAS/binsparse-specification, where we're looking at creating a more standardized binary format for sparse arrays.

The main addition is that it supports zarr in addition to hdf5.


Add cargo make init to create minial Makefile.toml

Feature Description
Add cargo make init to create minial Makefile.toml
Describe The Solution You'd Like
Add cargo make init to create minial Makefile.toml
Code Sample
/// paste code here

the default makefile is embedded. you can start without any makefile. so what would you like to see there?

all these exist without any makefile, out of the box:
https://github.com/sagiegurari/cargo-make/blob/master/docs/cargo_make_task_list.md

so what would you like to see there?

I want to fully custom my task flow for my project, when i create a Makefile.toml in the root path of my project:
(base) root@DESKTOP-D2P8H7D:~/projects/books_ic_monorepo# ls -lah Makefile.toml
-rw-r--r-- 1 root root 197 Jun 11 23:00 Makefile.toml

with the content:

(base) root@DESKTOP-D2P8H7D:~/projects/books_ic_monorepo# cat Makefile.toml
[tasks.gendid]
command = "cargo"
args = ["test", "-p", "books_ic", "--target", "x86_64-unknown-linux-musl"]

[tasks.test]
command = "cargo"

then i ran cargo make --makefile ./Makefile.toml gendid:
(base) root@DESKTOP-D2P8H7D:~/projects/books_ic_monorepo# cargo make --makefile ./Makefile.toml gendid
[cargo-make] INFO - cargo make 0.36.10
[cargo-make] INFO - Calling cargo metadata to extract project info
[cargo-make] INFO - Cargo metadata done
[cargo-make] INFO - Build File: ./Makefile.toml
[cargo-make] INFO - Task: gendid
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: legacy-migration
[cargo-make] INFO - Running Task: workspace
/root/projects/books_ic_monorepo
[cargo-make][1] INFO - Calling cargo metadata to extract project info
[cargo-make][1] INFO - Cargo metadata done
[cargo-make][1] INFO - Project: books_ic
[cargo-make][1] INFO - Build File: Makefile.toml
[cargo-make][1] INFO - Task: gendid
[cargo-make][1] INFO - Profile: development
[cargo-make][1] ERROR - Task gendid not found
[cargo-make][1] WARN - Build Failed.
[cargo-make] ERROR - Error while running duckscript: Source: Unknown Line: 5 - Error while executing command, exit code: 1
[cargo-make] WARN - Build Failed.

I am new to cargo make, and i am learning hard on the docs. i want to know where the point i missed.

all these exist without any makefile, out of the box:

With cargo make init subcommand to generate the minial Makefile.toml probably make the out of the box task more customizable while still keeps out of box i think.

they are customizable. i think we should discuss it after you go over the docs about how to extend makefiles and tasks.

I figured it out. Great project, awesome!


It is possible that the description in the documentation for building the iOS environment is out of date.

Idea Description
In the Xcode project file, xcworkspace is supposed to exist in the app-ios directory, but no matter how you do it, xcworkspace is not generated and cannot be selected.🤯
So I was able to set up Run Configurations by specifying the project.xcworkspace file in the xcodeproj instead.
Is the app-ios.xcworkspace actually generated in the app-ios directory now?🤔
Reference images and links

I'm uncertain about this, but due to this issue https://github.com/DroidKaigi/conference-app-2023/issues/732, we may need to switch to using Xcode for iOS. If possible, updating the README might be advisable. 💭
@ry-itto @RyuNen344 Any thoughts?

If possible, updating the README might be advisable. 💭

I think this makes sense! I think KMP android studio plugin has issue with *.xcodeproj scheme.

I think this makes sense! I think KMP android studio plugin has issue with *.xcodeproj scheme.

I fix it at 👇
https://github.com/DroidKaigi/conference-app-2023/pull/846
maybe we can now build ios on Android Studio ...?


Mobile browser rendering issue...

I'm having an issue with both the mobile version of Chrome and Safari on my iPhone 12 Pro Max server.addOptionBox menu tabs on the top portion of the window.  When I bring up the device's /setup page on either browser the "Wifi Setup" appears visible and the other addOptionBox sections I've defined are collapsed into a small three horizontal bar icon.  I would expect this should expand to show the other addOptionBox sections as somewhat of a pull-down menu but the expansion doesn't work and I have no access to the other sections.  If I rotate my iPhone horizontally the other sections expand and I can access them.
note: this also happens on my desktop Chrome browser on Windows if I size the window down horizontally until the addOptionBox sections collapse into the three bars.
I'm running the latest async-esp-fs-webserver 1.0.5 library on an ESP32 (NodeMCU-32S) and building the project in the latest version of the Arduino IDS with all other libraries updated to current.

+1
Same problem for me.

Seems to come from the change of "responsive" to "resp" class modification in showMenu() and switchPage().
See my previous comments in the commit.
https://github.com/cotestatnt/async-esp-fs-webserver/commit/e2f82c5157bc7b3b1a902818ab3dc7a72a1dfede#r142046669
https://github.com/cotestatnt/async-esp-fs-webserver/commit/e2f82c5157bc7b3b1a902818ab3dc7a72a1dfede#r142046611
Please review.

Only tested by modifiying value directly in Chrome Debug tool (F12).
Because change in app.js, need recompilation, minifiying, Bin2C... etc > Not done.


[Proposal] Let's move all thumbnails on changing storage location

File#setFileStorageLocation moves files of all versions of the File, but it drops it's thumbnails. We can restore thumbnails with rescan the File, but editing to thumbnails will be also reset. So my proposal is move all thumbnails on change storage location. Thoughts?

Hmm. I'm worried about how this will actually end up working. We do have a queuing system but I'm not sure that we have the ability to schedule a job like a mass file migration and perform it in a way that we don't end up with out of memory errors or 30 second page loads.
For example, imagine we're moving our files to an encrypted storage drive and it takes 150ms to move a single file. That's not so bad right? But if we have 100 files and 15 thumbnail types, that's 1500 thumbnails and 5 minutes of migrating to wait for.
Thoughts?

Fixed by #4957 ?

Woo I accidentally fixed this!
On Tue, Jan 17, 2017, 11:14 AM Andrew Embler<EMAIL_ADDRESS>wrote:

Closed #3973 https://github.com/concrete5/concrete5/issues/3973.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/concrete5/concrete5/issues/3973#event-926040404, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAM-qZEiZPtkum2Go47KA_8BQBBJqOV3ks5rTOjEgaJpZM4I7piH
.


Incoming calls don't get status callbacks

I noticed that incoming calls don't get status callbacks, mainly disconnect.
I fixed it by setting the delegate on an incoming connection here:

-(void)device:(TCDevice *)device didReceiveIncomingConnection:(TCConnection *)connection {
self.connection = connection;
self.connection.delegate = self;
[self javascriptCallback:@"onincoming"];
}

Thanks! I'll see about merging that fix in.

@jclardy thanks for the point, right now i am facing this issue, can you please explain a bit further how i can modify my code in xcode. Thanks for your time.

yes i have resolved the issue while modifying "TCPlugin.m" in cordova plugin "com.phonegap.plugins.twilioclient"... i can now accept or reject incoming call correctly. thanks for the point.


[SPARK-21738] Thriftserver doesn't cancel jobs when session is closed

What changes were proposed in this pull request?
When a session is closed the Thriftserver doesn't cancel the jobs which may still be running. This is a huge waste of resources.
This PR address the problem canceling the pending jobs when a session is closed.
How was this patch tested?
The patch was tested manually.

Can one of the admins verify this patch?

ok to test

Test build #80705 has started for PR 18951 at commit ac7f0d4.

Test build #80705 has finished for PR 18951 at commit ac7f0d4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/80705/
Test PASSed.

LGTM
cc @cloud-fan @jiangxb1987  @wangyum @debugger87 @jerryshao

LGTM based on my limited knowledge on area 😄 .

Thanks! Merging to master.

Hi, @gatorsmile and @mgaido91 .
Can we have this fix in branch-2.2, too?

@dongjoon-hyun I think there is no problem, should I submit a new PR on branch-2.2 too then?

Thank you, @mgaido91 . Please! :)

This issue is not a regression. That is why I did not merge it to branch-2.2

I see. @gatorsmile . Sorry, @mgaido91 and @gatorsmile .

What happens when a connection is not gracefully closed ? (connection.close() not called, process exits). Does sessions somehow listen to underneath Jetty connection and somehow close themselves ?

Can someone please update on @doruchiulan 's statement? I want to know the same thing.

cc @yaooqinn

FYI, org.apache.thrift.server.TServerEventHandler#deleteContext


Loaders not working

Hi all!
I am having an error when trying to load gltf file:
RuntimeError: Unable to load from /meshes/mesh.gltf: importMesh of unknown

Here is my code:
import { SceneLoader } from '@babylonjs/core/Loading';
import '@babylonjs/loaders';

console.log(SceneLoader.IsPluginForExtensionAvailable('gltf'));
// => false

SceneLoader.OnPluginActivatedObservable.add(console.log);
// => {name: 'babylon.js', extensions: '.babylon', ...

SceneLoader.ImportMeshAsync(['mesh'], '/meshes/', 'mesh.gltf', scene, null, 'gltf').then(console.log);

After forcing loader to use gltf in ImportMeshAsync method also seeing this in console:
Unable to find a plugin to load gltf files. Trying to use .babylon default plugin.

Versions:
"@babylonjs/core": "^5.1.0",
"@babylonjs/loaders": "^5.1.0",

TY

my bad, it was .gltf


Static Property

Can we have support to add static properties in the schema such that it's replicated into the data.
// schema.json
// code before this
    "someKey": {
      "type": "array",
      "items": {
         "someInnerKey": {
         },
         "someStaticKey": {
         },
      },
    },
// code after this

And the resulting data would look like this, where the contents of someStaticKey is the same for all array elements of someKey.
// data before this
    "someKey": [
         {
           "someInnerKey": {
             // InnerKeyData1
           },
           "someStaticKey": {
             // StaticData
           },
         },
         {
           "someInnerKey": {
             // InnerKeyData2
           },
           "someStaticKey": {
             // StaticData
           },
         },
    ],
// data after this

Hi, as far as I know this kind of restriction cannot be represented in a JSON-Schema.
Nevertheless maybe you can change your schema to something like
// code before this
"someInnerKey": {
    "type": "array",
    "items": {
    "type": "..."
  }
},
someStaticKey": {
    "type": "..."
},
// code after this

and then compose you final structure with the values returned by the form


mypy no longer checking buffer as I modify the buffer

I'm running in a virtualenv created by python version 3.5.0.
ALEInfo Output:
Current Filetype: python
Available Linters: ['flake8', 'mypy', 'pylint']
Enabled Linters: ['flake8', 'mypy']
Linter Variables:
let g:ale_python_flake8_executable = 'flake8'
let g:ale_python_flake8_options = ''
let g:ale_python_flake8_use_global = 0
let g:ale_python_mypy_executable = 'mypy'
let g:ale_python_mypy_options = '--warn-no-return --ignore-missing-imports'
let g:ale_python_mypy_use_global = 0
Global Variables:
let g:ale_echo_cursor = 1
let g:ale_echo_msg_error_str = 'Error'
let g:ale_echo_msg_format = '%s'
let g:ale_echo_msg_warning_str = 'Warning'
let g:ale_enabled = 1
let g:ale_keep_list_window_open = 0
let g:ale_lint_delay = 200
let g:ale_lint_on_enter = 1
let g:ale_lint_on_save = 1
let g:ale_lint_on_text_changed = 'always'
let g:ale_linter_aliases = {}
let g:ale_linters = {'python': ['mypy', 'flake8']}
let g:ale_open_list = 1
let g:ale_set_highlights = 1
let g:ale_set_loclist = 1
let g:ale_set_quickfix = 0
let g:ale_set_signs = 1
let g:ale_sign_column_always = 1
let g:ale_sign_error = 'ϟ'
let g:ale_sign_offset = 1000000
let g:ale_sign_warning = 'C▸'
let g:ale_statusline_format = ['⨉ %d', '⚠ %d', '⬥ ok']
let g:ale_warn_about_trailing_whitespace = 1
Command History:
(finished - exit code 0) ['/bin/bash', '-c', '''flake8'' --version']
(finished - exit code 0) ['/bin/bash', '-c', 'cd ''/Users/stewtj3/tmp/nvim_test'' && ''mypy'' --show-column-numbers --warn-no-return --ignore-missing-imports ''/Users/stewtj3/tmp/nvim_test/foo.py''']
(finished - exit code 0) ['/bin/bash', '-c', '''flake8'' --stdin-display-name ''/Users/stewtj3/tmp/nvim_test/foo.py'' - < ''/var/folders/1y/ydkrq2vd0m76mlsh2cgr2_nm7vspb2/T/nvimmtFhFD/4/foo.py''']
(finished - exit code 1) ['/bin/bash', '-c', '''flake8'' --stdin-display-name ''/Users/stewtj3/tmp/nvim_test/foo.py'' - < ''/var/folders/1y/ydkrq2vd0m76mlsh2cgr2_nm7vspb2/T/nvimmtFhFD/5/foo.py''']
(finished - exit code 0) ['/bin/bash', '-c', '''flake8'' --stdin-display-name ''/Users/stewtj3/tmp/nvim_test/foo.py'' - < ''/var/folders/1y/ydkrq2vd0m76mlsh2cgr2_nm7vspb2/T/nvimmtFhFD/6/foo.py''']
(finished - exit code 1) ['/bin/bash', '-c', '''flake8'' --stdin-display-name ''/Users/stewtj3/tmp/nvim_test/foo.py'' - < ''/var/folders/1y/ydkrq2vd0m76mlsh2cgr2_nm7vspb2/T/nvimmtFhFD/7/foo.py''']
(finished - exit code 0) ['/bin/bash', '-c', '''flake8'' --stdin-display-name ''/Users/stewtj3/tmp/nvim_test/foo.py'' - < ''/var/folders/1y/ydkrq2vd0m76mlsh2cgr2_nm7vspb2/T/nvimmtFhFD/8/foo.py''']
(finished - exit code 0) ['/bin/bash', '-c', '''flake8'' --stdin-display-name ''/Users/stewtj3/tmp/nvim_test/foo.py'' - < ''/var/folders/1y/ydkrq2vd0m76mlsh2cgr2_nm7vspb2/T/nvimmtFhFD/9/foo.py''']
(finished - exit code 1) ['/bin/bash', '-c', '''flake8'' --stdin-display-name ''/Users/stewtj3/tmp/nvim_test/foo.py'' - < ''/var/folders/1y/ydkrq2vd0m76mlsh2cgr2_nm7vspb2/T/nvimmtFhFD/10/foo.py''']
(finished - exit code 0) ['/bin/bash', '-c', '''flake8'' --stdin-display-name ''/Users/stewtj3/tmp/nvim_test/foo.py'' - < ''/var/folders/1y/ydkrq2vd0m76mlsh2cgr2_nm7vspb2/T/nvimmtFhFD/11/foo.py''']
I start off with a buffer named foo.py with the following contents that are a valid, well-typed Python file:
def foo() -> int:
return 3
I then change the int to str:
def foo() -> str:
return 3
mypy should complain about this type mismatch but it's silent.  I save the file and no mypy warnings/errors are displayed.
If I reload the buffer with :e! then I see the correct mypy error:
Incompatible return value type (got "int", expected "str")
Another way for me to get mypy to reflect the current state of the buffer is to save the buffer (:w) and then run :ALELint
mypy used to lint on the fly as would type.  Could this following change be the cause?
https://github.com/w0rp/ale/blame/master/ale_linters/python/mypy.vim#L72

That's correct. It used to try and check for errors on the fly, but it doesn't work in practice.
Guido mentions an undocumented --shadow-file option here: https://github.com/python/mypy/issues/2119
That might make it possible to check files on the fly in future.

I asked Guido to document and support option there, and it has been done. I'll figure out which versions of mypy contain the undocumented flag.

0.4.4 appears to be the earliest version which supports --shadow-file, released in August 2016.

Now ALE supports that version as a minimum, and uses --shadow-file to check for problems while you type.
mypy can take a while to come back with results, and that's just because mypy can be pretty slow. Configuring mypy so it does less work might help.

Recent versions speed things up a lot, so I recommend using the latest version of mypy. ALE supports running it from virtualenv directories, so it should be easy to update it.


Issue with Git-LFS and Unity auto-pull

Probably more of an issue with Unity's builtin Package Importer, but I had to manually pull in the image files since they are being hosted with Git-LFS.
Could possibly mention in the wiki about needing to download the image files in Runtime/RenderPipelineResources/Texture separately.

The installation guide in the wiki has since been updated to mention the requirement of git LFS if using the git url install method. https://github.com/pastasfuture/com.hauntedpsx.render-pipelines.psx/wiki/Installation-Guide#installation-via-git-url-in-packagesjson-file-requires-git--git-lfs


Add getRangeFontName to TextNodeStub

Hi,
I have proposed a change to add getRangeFontName to TextNodeStub
I have just returned the existing font information or the default.
Let me know if your thoughts.
Thanks.

Hey, @abhijeetnarvekar! Thank you very much for the PR. Could you make changes by comments, please?

Thanks for your review. I have made the suggested changes and removed package.lock.json. Let me know your feedback.


[BUG] Too long list of available filtering values in filters panel

Describe the bug
In the filtering panel we have a lot of some filters and below all of these filters we have let's call these "values" to filter by. Sometimes we have too many "values" and the list gets ultra long, which makes it hard to spot the next filter.
Expected behavior
Consider adding some kind of "More..." button to expand the long lists of available filters. By default we shouldn't show all of the available ones.
Actual behavior

#523  I think here is a solution 🚀


NameError: cannot link Java class org.neo4j.graphdb.DynamicLabeL

c:\Dominic\programming\jruby\rails\myapp>jruby bin\rails s
NameError: cannot link Java class org.neo4j.graphdb.DynamicLabel, probable missing dependency: org/neo4j/graphdb/DynamicLabel : Unsup
ported major.minor version 51.0
for_name at org/jruby/javasupport/JavaClass.java:1286
get_proxy_class at org/jruby/javasupport/JavaUtilities.java:34
const_missing at file:/C:/Dominic/rubies/jruby-1.7.18/lib/jruby.jar!/jruby/java/java_package_module_template.rb:4
EmbeddedLabel at C:/Dominic/rubies/jruby-1.7.18/lib/ruby/gems/shared/gems/neo4j-core-4.0.0/lib/neo4j-embedded/embedded_label.rb:6
     Embedded at C:/Dominic/rubies/jruby-1.7.18/lib/ruby/gems/shared/gems/neo4j-core-4.0.0/lib/neo4j-embedded/embedded_label.rb:3

        Neo4j at C:/Dominic/rubies/jruby-1.7.18/lib/ruby/gems/shared/gems/neo4j-core-4.0.0/lib/neo4j-embedded/embedded_label.rb:2

       (root) at C:/Dominic/rubies/jruby-1.7.18/lib/ruby/gems/shared/gems/neo4j-core-4.0.0/lib/neo4j-embedded/embedded_label.rb:1

      require at org/jruby/RubyKernel.java:1071
       (root) at C:/Dominic/rubies/jruby-1.7.18/lib/ruby/gems/shared/gems/neo4j-core-4.0.0/lib/neo4j-embedded.rb:1
      require at org/jruby/RubyKernel.java:1071
       (root) at C:/Dominic/rubies/jruby-1.7.18/lib/ruby/gems/shared/gems/neo4j-core-4.0.0/lib/neo4j-embedded.rb:7
      require at org/jruby/RubyKernel.java:1071
       (root) at C:/Dominic/rubies/jruby-1.7.18/lib/ruby/gems/shared/gems/neo4j-core-4.0.0/lib/neo4j-core.rb:1
      require at org/jruby/RubyKernel.java:1071
       (root) at C:/Dominic/rubies/jruby-1.7.18/lib/ruby/gems/shared/gems/neo4j-core-4.0.0/lib/neo4j-core.rb:24
         each at org/jruby/RubyArray.java:1613
       (root) at C:/Dominic/rubies/jruby-1.7.18/lib/ruby/gems/shared/gems/neo4j-4.1.1/lib/neo4j.rb:1
         each at org/jruby/RubyArray.java:1613
       (root) at C:/Dominic/rubies/jruby-1.7.18/lib/ruby/gems/shared/gems/neo4j-4.1.1/lib/neo4j.rb:12
       (root) at C:/Dominic/rubies/jruby-1.7.18/lib/ruby/gems/shared/gems/bundler-1.7.12/lib/bundler/runtime.rb:1
      require at C:/Dominic/rubies/jruby-1.7.18/lib/ruby/gems/shared/gems/bundler-1.7.12/lib/bundler/runtime.rb:76
      require at org/jruby/RubyKernel.java:1071
      require at C:/Dominic/rubies/jruby-1.7.18/lib/ruby/gems/shared/gems/bundler-1.7.12/lib/bundler/runtime.rb:72
          tap at org/jruby/RubyKernel.java:1886
      require at C:/Dominic/rubies/jruby-1.7.18/lib/ruby/gems/shared/gems/bundler-1.7.12/lib/bundler/runtime.rb:61
      require at C:/Dominic/rubies/jruby-1.7.18/lib/ruby/gems/shared/gems/bundler-1.7.12/lib/bundler.rb:134
       (root) at c:/Dominic/programming/jruby/rails/myapp/config/application.rb:16
      require at org/jruby/RubyKernel.java:1071
       (root) at bin\rails:4

HERES MY JRUBY INFORMATION
c:\Dominic\programming\jruby\rails\myapp>jruby --version
jruby 1.7.18 (1.9.3p551) 2014-12-22 625381c on Java HotSpot(TM) 64-Bit Server VM 1.6.0_45-b06 +jit [Windows 7-amd64]
c:\Dominic\programming\jruby\rails\myapp>bundle show
Gems included by the bundle:

actionmailer (4.2.0)
actionpack (4.2.0)
actionview (4.2.0)
active_attr (0.8.5)
activejob (4.2.0)
activemodel (4.2.0)
activerecord (4.2.0)
activesupport (4.2.0)
arel (6.0.0)
builder (3.2.2)
bundler (1.7.12)
coffee-rails (4.1.0)
coffee-script (2.3.0)
coffee-script-source (1.8.0)
erubis (2.7.0)
execjs (2.2.2)
faraday (0.9.1)
faraday_middleware (0.9.1)
globalid (0.3.0)
hike (1.2.3)
httparty (0.13.3)
httpclient (<IP_ADDRESS>)
i18n (0.7.0)
jbuilder (2.2.6)
jquery-rails (4.0.3)
json (1.8.2)
loofah (2.0.1)
mail (2.6.3)
mime-types (2.4.3)
minitest (5.5.1)
multi_json (1.10.1)
multi_xml (0.5.5)
multipart-post (2.0.0)
neo4j (4.1.1)
neo4j-community (2.1.5)
neo4j-core (4.0.0)
net-http-persistent (2.9.4)
nokogiri (1.6.5)
orm_adapter (0.5.0)
os (0.9.6)
rack (1.6.0)
rack-test (0.6.3)
rails (4.2.0)
rails-deprecated_sanitizer (1.0.3)
rails-dom-testing (1.0.5)
rails-html-sanitizer (1.0.1)
railties (4.2.0)
rake (10.4.2)
rdoc (4.2.0)
sass (3.4.10)
sass-rails (5.0.1)
sdoc (0.4.1)
sprockets (2.12.3)
sprockets-rails (2.2.2)
therubyrhino (2.0.4)
therubyrhino_jar (1.7.4)
thor (0.19.1)
thread_safe (0.3.4)
tilt (1.4.1)
turbolinks (2.5.3)
tzinfo (1.2.2)
tzinfo-data (1.2014.10)
uglifier (2.7.0)
zip (2.0.2)

I'm afraid I'm not exactly sure how to go about troubleshooting this... I'll see if we can get help from someone who's done work with JRuby and Java dependencies. Are you able to do jruby bin\bundle exec rails s?

Going to close this out since there hasn't been any more activity. I think it has to do with loading the Java dependency in Windows. If anyone else runs into this, please get in touch.


Custom menu colors

Added all of the imgui color styles used as config options and created a menu to configure all of them.
Variables in the menu class are removed and all instances are replaced with the config items which requried new color_t to imcolor function.
Default menu colors are still the default
Here are some example menus i made

HELL YEAH


Update go.mod

correcting the repo

going to hold on this for a week or so to confirm validity of the change.

Looks to be valid, GitHub redirects:
$ curl https://github.com/denis-tingajkin/go-header -v 2>&1 | grep -i location:
< location: https://github.com/denis-tingaikin/go-header

@y0k41sec this is missing the changes to the go.sum file. you'll need to add it for us to merge this PR.

Hi, it looks like this is an indirect dependency which implies that you are not using this dependency within the project, but there is some module that imports them. I find that go.sum creates a hash, so this is not a vulnerability, there is no risk of downloading a malicious dependency in this case. I'll close this pull request, thanks everyone for taking a look.


Incorrect HTTP status in log files with devise 4.4.1

Environment

Ruby [2.4.1]
Rails [5.1.4]
Devise [4.4.1]

Current behavior
I upgraded my gems several weeks ago. I just typed bundle upgrade unconsciously. Then I found that when I raised an uncaught error, Completed 401 Unauthorized appeared in log files, it should be Completed 500 Internal Server Error. But the HTTP status client received is the correct 500 Internal Server Error. I downgraded the gems one by one. Finally I found that when I downgraded devise to the original 4.3.0, the problem goes away. And when I upgraded it to 4.4.1, the problem appeared.
Expected behavior
Instead of Completed 401 Unauthorized, it should be Completed 500 Internal Server Error in log files when errors occur.

And I can reproduce the problem in a new Rails program.

Could you please provide us a sample application that reproduces the issue in isolation?
That would help us find the issue.

I created a new program, which only includes devise 4.4.1.
git clone git@github.com:FX-HAO/devise_demo.git
cd devise_demo
bin/rails server

Then run curl <IP_ADDRESS>:3000, you will see Completed 401 Unauthorized in the console.
Honestly, it's a serious bug.

@FX-HAO This was broken in https://github.com/plataformatec/devise/pull/4375, but it was reversed in  4.4.2.
If you update it's going to work.


vector_translation_from_transform

Grab the translation component from a transform matrix

It looks like we didn't write a stub for this in #22 . Would you like me to create one, or did we decide to skip this function? (I can't remember.)

Nvm, I found the stub. It's called vector_from_matrix_position (I was looking for the wrong name).


Export.graphml crashes on whitespaces

 Issue by roschaefer
Friday Sep 06, 2019 at 13:20 GMT
Originally opened as https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/1283

Guidelines
Export/Import with apoc might be an alternative to neo4j-admin load and neo4j-admin dump which require the database to be stopped (that's a big turnoff :-1: ).
So I found https://medium.com/@niazangels/export-and-import-your-neo4j-graph-easily-with-apoc-4ea614f7cbdf and was excited.
However when I try to export the database as graphml and import the database again, I see the following error:

In my editor "neovim" the character  is displayed as ^S, some sort of whitespace.
Expected Behavior (Mandatory)
Exporting and re-importing should work just fine.
Actual Behavior (Mandatory)
See error above :point_up:
How to Reproduce the Problem
I don't know a good file hoster for that purpose, to preserve whitespace, so I searched for "Upload file" and uploaded it here (expires after 30 days):
https://ufile.io/7r3div9y
(Feel free to send me a link to an alternative file hoster or your email addresses to reproduce the problem)
So download this file to /tmp/complete-graph.graphml and run the following import statement:
CALL apoc.import.graphml('/tmp/complete-graph.graphml', {batchSize: 10000, storeNodeIds: false})

Specifications (Mandatory)
Currently used versions
Versions
robert@e480 ~> cat /proc/version
Linux version 5.2.9-arch1-1-ARCH (builduser@heftig-119803) (gcc version 9.1.0 (GCC)) #1 SMP PREEMPT Fri Aug 16 11:29:43 UTC 2019
robert@e480 ~> neo4j version
Error: Could not find or load main class org.neo4j.server.CommunityEntryPoint
robert@e480 ~> ls /var/lib/neo4j/plugins/
apoc-<IP_ADDRESS>-all.jar

weird that neo4j version gives me an error message, so:
robert@e480 ~> pacman -Q neo4j-community
neo4j-community 3.5.3-1

 Comment by conker84
Monday Sep 09, 2019 at 16:09 GMT

HI @roschaefer ,
thanks a lot for the feedback!
We look into this ASAP, in the meanwhile can I suggest to use the Cypher Export/Import process (via cypher-shell)?
Can you look into this?
https://medium.com/neo4j/efficient-neo4j-data-import-using-cypher-scripts-7d1268b0747
And if you need some additional info please ask.

 Comment by conker84
Monday Sep 09, 2019 at 16:10 GMT

Btw can you provide a small dataset in order to reproduce the problem?
Thanks

 Comment by roschaefer
Friday Sep 13, 2019 at 08:58 GMT

Hey @conker84!
Thank you for your reply.
I imported our production database, removed all but one node which has the whitespace in the attribute content.
Match (n) where not exists(n.slug) or n.slug <>'aufsteh-treffen-in-harzgerode-31119' detach delete n

Then I exported a dump into various formats with the following commands:
CALL apoc.export.cypher.all('/tmp/complete-graph.cypher',{format:'cypher-shell', useOptimizations:{type:'unwind_batch_params',unwindBatchSize: 2}})

CALL apoc.export.graphml.all('/tmp/complete-graph.graphml', {useTypes:true, storeNodeIds:false})

And on the command line:
sudo neo4j-admin dump --to=/tmp/complete-graph.dump

When I check the filesizes:
robert@e480 ~> du -sh /tmp/complete-graph.*
4.0K  /tmp/complete-graph.cypher
196M  /tmp/complete-graph.dump
4.0K  /tmp/complete-graph.graphml

The neo4-j-admin dump command must have dumped a lot more than just the data
which is in the database right now. @conker84 do you have an explanation for
this?
For the same reason I'm unwilling to share the 196MB dump of my production
database because I believe it contains sensitive data.
Instead I used the export-to-cypher command to create a dump with graphml and
indeed the same error is reproducible.
So here is a .zip file with both a .graphml export and a .cypher export:
https://ufile.io/igf1ipos
Feel free to tell me a better file hoster (how do you share files on Github?).
I never had the need of uploading a file because of whitespaces.

 Comment by roschaefer
Friday Sep 13, 2019 at 09:09 GMT

By the way, if I use cypher-shell export, I takes a while and consumes a lot of memory and the I see:
Index :`Post`(`title`,`content`) is in failed state.: Cause of failure:
==================
java.lang.RuntimeException: java.lang.IllegalArgumentException: Index key-value size it to large. Please see index documentation for limitations. | GB+Tree[file:/var/lib/neo4j/data/databases/graph.db/schema/index/native-btree-1.0/37/index-37, layout:GenericLayout[version:0.5, identifier:5643935348791705600, fixedSize:false], generation:2/4]
	at org.neo4j.kernel.impl.index.schema.WorkSyncedNativeIndexPopulator.add(WorkSyncedNativeIndexPopulator.java:94)
	at org.neo4j.kernel.impl.api.index.BatchingMultipleIndexPopulator.lambda$doFlush$2(BatchingMultipleIndexPopulator.java:171)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	at org.neo4j.helpers.NamedThreadFactory$2.run(NamedThreadFactory.java:122)
Caused by: java.lang.IllegalArgumentException: Index key-value size it to large. Please see index documentation for limitations. | GB+Tree[file:/var/lib/neo4j/data/databases/graph.db/schema/index/native-btree-1.0/37/index-37, layout:GenericLayout[version:0.5, identifier:5643935348791705600, fixedSize:false], generation:2/4]
	at org.neo4j.index.internal.gbptree.TreeNodeDynamicSize.validateKeyValueSize(TreeNodeDynamicSize.java:369)
	at org.neo4j.index.internal.gbptree.InternalTreeLogic.insert(InternalTreeLogic.java:353)
	at org.neo4j.index.internal.gbptree.GBPTree$SingleWriter.merge(GBPTree.java:1281)
	at org.neo4j.kernel.impl.index.schema.NativeIndexUpdater.processAdd(NativeIndexUpdater.java:133)
	at org.neo4j.kernel.impl.index.schema.NativeIndexUpdater.processUpdate(NativeIndexUpdater.java:88)
	at org.neo4j.kernel.impl.index.schema.NativeIndexPopulator.processUpdates(NativeIndexPopulator.java:286)
	at org.neo4j.kernel.impl.index.schema.NativeIndexPopulator.add(NativeIndexPopulator.java:164)
	at org.neo4j.kernel.impl.index.schema.WorkSyncedNativeIndexPopulator$IndexUpdateApply.process(WorkSyncedNativeIndexPopulator.java:144)
	at org.neo4j.kernel.impl.index.schema.WorkSyncedNativeIndexPopulator$IndexUpdateWork.apply(WorkSyncedNativeIndexPopulator.java:168)
	at org.neo4j.kernel.impl.index.schema.WorkSyncedNativeIndexPopulator$IndexUpdateWork.apply(WorkSyncedNativeIndexPopulator.java:148)
	at org.neo4j.util.concurrent.WorkSync.doSynchronizedWork(WorkSync.java:231)
	at org.neo4j.util.concurrent.WorkSync.tryDoWork(WorkSync.java:157)
	at org.neo4j.util.concurrent.WorkSync.apply(WorkSync.java:91)
	at org.neo4j.kernel.impl.index.schema.WorkSyncedNativeIndexPopulator.add(WorkSyncedNativeIndexPopulator.java:81)
	... 5 more

==================

 Comment by roschaefer
Friday Sep 13, 2019 at 09:31 GMT

Looking at the generated .cypher export, I see that indices are created after the nodes are created.
:begin
CREATE (:`Post` {`content`:"....", `createdAt`:"2019-01-24T17:36:20.326Z", `deleted`:false, `disabled`:false, `id`:"5c49f79402e5d6001cf0860b", `slug`:"aufsteh-treffen-in-harzgerode-31119", `title`:"Aufsteh-Treffen in Harzgerode 31.1.19", `updatedAt`:"2019-01-25T05:57:20.922Z", `visibility`:"public"});
:commit
:begin
CREATE INDEX ON :`Post`(`title`,`content`);
CREATE CONSTRAINT ON (node:`Organization`) ASSERT node.`id` IS UNIQUE;
CREATE CONSTRAINT ON (node:`Organization`) ASSERT node.`slug` IS UNIQUE;
CREATE CONSTRAINT ON (node:`Post`) ASSERT node.`id` IS UNIQUE;
CREATE CONSTRAINT ON (node:`Tag`) ASSERT node.`id` IS UNIQUE;
CREATE CONSTRAINT ON (node:`EmailAddress`) ASSERT node.`email` IS UNIQUE;
CREATE CONSTRAINT ON (node:`Comment`) ASSERT node.`id` IS UNIQUE;
CREATE CONSTRAINT ON (node:`Post`) ASSERT node.`slug` IS UNIQUE;
CREATE CONSTRAINT ON (node:`Category`) ASSERT node.`id` IS UNIQUE;
CREATE CONSTRAINT ON (node:`Category`) ASSERT node.`slug` IS UNIQUE;
CREATE CONSTRAINT ON (node:`User`) ASSERT node.`id` IS UNIQUE;
CREATE CONSTRAINT ON (node:`User`) ASSERT node.`slug` IS UNIQUE;
:commit
CALL db.awaitIndex(':`Post`(`title`,`content`)');
CALL db.awaitIndex(':`Organization`(`id`)');
CALL db.awaitIndex(':`Organization`(`slug`)');
CALL db.awaitIndex(':`Post`(`id`)');
CALL db.awaitIndex(':`Tag`(`id`)');
CALL db.awaitIndex(':`EmailAddress`(`email`)');
CALL db.awaitIndex(':`Comment`(`id`)');
CALL db.awaitIndex(':`Post`(`slug`)');
CALL db.awaitIndex(':`Category`(`id`)');
CALL db.awaitIndex(':`Category`(`slug`)');
CALL db.awaitIndex(':`User`(`id`)');
CALL db.awaitIndex(':`User`(`slug`)');

Wouldn't it be much more performant to setup indices before you import things?

 Comment by sim51
Saturday Feb 01, 2020 at 16:11 GMT

@roschaefer for your question about the indexes, the response is no.
It's better to create the nodes, then to create (and wait) the indexes/constraints, and finally to create the relationships.
In this way the indexes can be populated with batches, and it's more performant than by transactions.
Moreover, indexes are only used for the relationships creation (due to the MATCH MATCH CREATE pattern).

Fixed by https://github.com/neo4j/apoc/pull/199


adding unit test - clean up and ...

To address https://github.com/aghaeifar/SpinWalk/issues/21

more unit tests - clean up - and more


fix(api): Must home as a defined error

Overview
closes https://opentrons.atlassian.net/browse/RQA-3583.
make a MustHomeError as a defined error.
Test Plan and Hands on Testing
in the jira ticket.
Changelog
catch the must home error and raise a defined must home error (FE is expecting a MustHomeError type).
Review requests

I wanted this to match https://github.com/Opentrons/opentrons/pull/16861/files but its injecting the model_utils in a bunch of new places. thoughts?
what about other errors that catch this exception?

Risk assessment
low. bug fix - just for drop tip in place for now.

@sfoster1 and @mjhuff discussed in person, details here: https://opentrons.slack.com/archives/C06M9F26YGH/p1731951648792859


upgrade archaius

Coverage increased (+0.1%) to 68.012% when pulling a53d04c21abcb1cd4c46e406e2233dd3d204d66e on tianxiaoliang:master into 78a0fdc0cba6f8c265599f0481126f6115a42418 on go-chassis:master.


Provisioning an Alert with value_aggregation_type=NONE and a non-empty group_by_aggregation_fields creates a noisy dif

resource logzio_alert alert_service_errors {
  title       = "${local.service_name}-service-errors-${terraform.workspace}"
  description = <<-EOT
    Increase in application errors detected for the ${local.service_name} service.

    Created by Terraform: DO NOT EDIT.
  EOT

  alert_notification_endpoints   = [
    data.terraform_remote_state.monitoring.outputs.logzio_slack_alerts_endpoint_id
  ]
  notification_emails            = []
  suppress_notifications_minutes = 60
  is_enabled                     = true

  operation                   = "GREATER_THAN_OR_EQUALS"
  search_timeframe_minutes    = 10
  query_string                = "service:\"${local.service_name}\" AND env:\"${local.deploy_env_name}\" AND level:\"error\""
  group_by_aggregation_fields = [
    "msg"
  ]
  value_aggregation_type      = "NONE"

  dynamic severity_threshold_tiers {
    for_each = local.error_alert_thresholds[terraform.workspace]
    content {
      severity  = severity_threshold_tiers.value.severity
      threshold = severity_threshold_tiers.value.threshold
    }
  }
}

The above alert runs successfully every time, however, if left the same then every Dif on subsequent applies looks like so...
  # logzio_alert.alert_service_errors will be updated in-place
  ~ resource "logzio_alert" "alert_service_errors" {
        alert_notification_endpoints   = [
           XXXXX,
        ]
        description                    = <<~EOT
            Increase in application errors detected for the XXXXX service.

            Created by Terraform: DO NOT EDIT.
        EOT
        filter                         = jsonencode(
            {
                bool = {
                    filter   = []
                    must     = []
                    must_not = []
                    should   = []
                }
            }
        )
        group_by_aggregation_fields    = [
            "msg",
        ]
        id                             = "XXXXX"
        is_enabled                     = true
        notification_emails            = []
        operation                      = "GREATER_THAN_OR_EQUALS"
        query_string                   = "service:\"XXXXX\" AND env:\"dev\" AND level:\"error\""
        search_timeframe_minutes       = 10
        suppress_notifications_minutes = 60
        tags                           = []
        title                          = "XXXXX-service-errors-dev"
      ~ value_aggregation_type         = "COUNT" -> "NONE"

        severity_threshold_tiers {
            severity  = "INFO"
            threshold = 1
        }
    }

It is easily remedied by changing value_aggregation_type from NONE to COUNT.

@amarine7882 thanks for letting us know. Will check that soon

@amarine7882 this isn't really a bug, it doesn't really make sense to set value_aggregation_type to NONE when the group_by_aggregation_fields is not empty, so the server decides to set it to COUNT by default. Hence the constant diff

That does make sense to me, however, if you use the other aggregation field value_aggregation_field then the API returns an error if you have value_aggregation_type set to NONE.
resource logzio_alert alert_service_errors {
  title       = "${local.service_name}-service-errors-${terraform.workspace}"
  description = <<-EOT
    Increase in application errors detected for the ${local.service_name} service.

    Created by Terraform: DO NOT EDIT.
  EOT

  alert_notification_endpoints   = [
    data.terraform_remote_state.monitoring.outputs.logzio_slack_alerts_endpoint_id
  ]
  notification_emails            = []
  suppress_notifications_minutes = 60
  is_enabled                     = true

  operation                   = "GREATER_THAN_OR_EQUALS"
  search_timeframe_minutes    = 10
  query_string                = "service:\"${local.service_name}\" AND env:\"${local.deploy_env_name}\" AND level:\"error\""

  value_aggregation_type  = "NONE"
  value_aggregation_field = "msg"

  dynamic severity_threshold_tiers {
    for_each = local.error_alert_thresholds[terraform.workspace]
    content {
      severity  = severity_threshold_tiers.value.severity
      threshold = severity_threshold_tiers.value.threshold
    }
  }
}

The above results in this error, which even implies that the other incorrect way should also return an error.
Error: if valueAggregationType is set to None, valueAggregationField and groupByAggregationFields must not be set

  on logzio.tf line 1, in resource "logzio_alert" "alert_service_errors":
   1: resource logzio_alert alert_service_errors {

I see, this is a backend bug in our old alerts API, we are working to replace that  in our TF provider with the new v2 alerts.

Hi @amarine7882 , we added support to the Alerts V2 API (#69). Please let us know if this solved your issues.

This did solve the issue. The new docs and improvements are great as well thanks!


Change langchain version operator

So any langchain version big then 0.0.130 can poetry install success, otherwise there will be version solving failed.

@amosjyng hi, can we accept this pr, and  release a new version.
We try use langchain-visualizer in langchain project, but with poetry, it report a version solving failed:
Because langchain-visualizer (0.0.19) depends on langchain (>=0.0.130,<0.0.131)  and genius-chatbot depends on langchain (0.0.134), langchain-visualizer is forbidden. So, because genius-chatbot depends on langchain_visualizer (0.0.19), version solving failed.

@amosjyng ping...

Sorry about that, I was out for the last week. Great idea, I've now merged these changes in #33 , and it should be available in v0.0.20 which I just pushed out!


Add a state display provider

The provider is used for debugging to help displaying current rebar's state.
Usage:
    rebar3 state

If the documentation could say this is for debugging purposes, I think this would be good for me. @tsloughter opinion?

Augmented to use ?CONSOLE per Fred's comment.

Augmented to use ?CONSOLE per Fred's comment.

Removed --state command-line option leaving just "state".

I'm all for merging this, but I'm wondering if it might be a good idea to set {bare, false} for this, so it doesn't show up in help (it's a debug function anyway) and so we don't commit to maintaining backwards compatibility on this functionality forever?
Any opposition or support for this?

I would think that if it doesn't get displayed in the help, then for someone not thoroughly familiar with the options, it would be hard to figure out that the 'state' option exists.  I would vote for your last proposal.

I agree it should be {bare, false} and we then mention it in documentation about developing on rebar3, debugging and writing custom providers.
Can you also rebase on the current master so it is mergeable

Rebased on master with added {bare, false}. For some reason github is showing that the branch has conflicts, though I am able to compile everything and git shows no conflicts.


Fixed for ST_COMPONENT_MODE with a proxy

Motivation

Include http proxy for secure tunneling when aws-iot-device-client is built in st_component_mode
Issue number: #449

Modifications
Change summary
Http proxy configuration is loaded even if DISABLE_MQTT is defined. This allow for secure tunneling (aws-iot-device-client in st_component_mode) to work with a proxy.
Testing
Is your change tested? If not, please justify the reason.
Please list your testing steps and test results.

Tested by building the aws-iot-device-client in st_component_mode, with a proxy. I was able to established secure tunneling connection from AWS IoT Console.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@HarshGandhi-AWS yes, its for a ST use case with a custom GGv2 component.

Pushing the change on behalf of @brnaba-aws . I see some authentication failures while running the CI CD tests. Will create an action item to work on it separately unblocking this PR from being merged.


Wrong amount in Send actionsheet #2661

Closes #2662, Closes  #2661

So this PR would fix #2655 too?

@vladyslav-iosdev also see if https://github.com/AlphaWallet/alpha-wallet-ios/issues/2662#issuecomment-804614729 and the comments after that might be relevant?

@all-contributors please add @vladyslav-iosdev for code

#2655

yep, it should

@vladyslav-iosdev it works on iOS 12.4 simulator, but I tried on an iPhone 11 Pro (device) with iOS 14.5 and changing the locale in-app to and after restarting the app, the keyboard and textfields still show "." as the decimal separator. Does it work for you?

@vladyslav-iosdev going to merge this in and I'll create a separate PR to hide (and undo) the in-app language settings for now until we sort it out.


Error cause to blank page issue in Import Job Office 365 Compliance Admin Portal

Hay Fellas,
Greetings. I just wanted to drag your attention to an issue when I use Import job wizard this "https://compliance.microsoft.com/informationgovernance?viewid=import" specifically.
I go through to step one naming the import job. Then the method of uploading the PST using Network or Ship a drive.
When I proceed after step2 I reach blank page like the below figure. I tried all kind of browsers and the issue is everywhere only in my machine and all other pages and features are working fine with me.

@Mghannaj Thank you for your feedback. I was able to test this in our lab and it works as expected.

This could be a permission issue on your end. To create import jobs, you must be assigned the Mailbox Import Export role in Exchange Online. After this role is assigned, it might take up to 24 hours before you can start creating jobs.
Thanks
Sri

The same account working fine on different machine. I know the issue is only related to my machine. Can you direct me where to troubleshoot this issue?
Thank you

@Mghannaj You can contact Microsoft support for troubleshooting this issue. Please use the need help icon on your M365 Admin center to work with a Microsoft support engineer.
Hope this helps!
Thanks
Sri

@msbemba  Thank you very much for the contribution and sharing this explanation. @Mghannaj Considering the nature of the issue, as advised, please open a service ticket in your tenant and follow with them for the resolution. We proceed to close it as here we are limited to documentation fixes and improvements only.
We will be very happy if you can share the outcome or resolution with us if you see documentation update is required. We will certainly update this documentation with that valuable information. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


pua: treat 325 as false value

cc @flaneur2020  @ICEYSELF

325 is innocent, maybe a global variable RANK325 as False is better.

I still prefer the idea of just let 325 be a false value, just like 三二五 in the language.
Feel free to ignore.

就这样吧。


Tracking: Set up unit and functional test CI for Linux

This tracking issue is intended as a roadmap of the steps required to implement the full functional test suite of VFSForGit in Azure DevOps CI for the Linux platform.

Enable full Linux unit test CI on the features/linuxprototype branch:

[x] Enable the PR - Linux - Build and Unit Test pipeline with MirrorProvider build tasks on all PRs to branch (thanks, @jrbriggs!)
[x] Merge microsoft/vfsforGit#1128, then remove the CPPFLAGS environment variables from the MirrorProvider build tasks.
[x] Merge #21 into microsoft/vfsforGit#1125.
[x] Implement github/libprojfs#71 (#20) (#24) (#27) (#28)
[x] Merge microsoft/vfsforGit#1125, then enable the VFSForGit build tasks within the PR - Linux - Build and Unit Test pipeline.
[x] Implement github/libprojfs#72 (#23)
[x] Support case-sensitive file matching (#29) (microsoft/VFSForGit#1232) (microsoft/VFSForGit#1412) (microsoft/VFSForGit#1503) (microsoft/VFSForGit#1531)

Resolve any outstanding problems running the functional test suite on Linux:

[x] Enable all relevant functional tests marked Mac-only or Windows-only. (#33)
[x] Ensure any necessary PRs are merged into features/linuxprototype (microsoft/VFSForGit#1432)
[x] Ensure any necessary PRs are merged into master (microsoft/VFSForGit#1411) (microsoft/VFSForGit#1412) (microsoft/VFSForGit#1413) (microsoft/VFSForGit#1448) (microsoft/VFSForGit#1529) (microsoft/VFSForGit#1535)

Resolve custom Git installation and packaging:

[x] Rewrite "git build Linux installer" task to create .deb package within NuGet package and push to MyGet.
[x] Add Linux build task to "git - build installers" pipeline.

Enable full Linux functional test CI on the features/linuxprototype branch:

[x] Either an Azure DevOps task group, or, if following the Mac model, a GitHub CI job instead.

Possible additional steps:

Once functional test CI is successfully working on features/linuxprototype:

Refactor out all duplicate code between the Mac and Linux implementations, expanding the POSIX layer (e.g., introducing a ProjFS.POSIX set of classes as per the posix-projfs-virt-instance branch.
Merge features/linuxprototype into  master and convert both CI jobs to run against master.
🍾 or 🍨, as desired.

Functional tests ran to completion on Linux in https://github.com/microsoft/VFSForGit/pull/1310 WIP branch.

Automatic CI execution of the functional tests has been enabled for a while now on the features/linuxprototype branch.


crowdin-cli: init at 3.6.4

Motivation for this change
Add crowdin-cli
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 133178 run on x86_64-linux 1

1 package built:

crowdin-cli

Thank you very much for your feedback @SuperSandro2000! It is very much appreciated. I took it all into account but left 2 questions for you.

Thank you again for your suggestions that I applied. There is still one question from me regarding the use of rec vs. let.

Result of nixpkgs-review pr 133178 run on x86_64-linux 1

1 package built:

crowdin-cli


Will it Work for Multiple printers

Will the module support to print the receipt into multiple printers simultaneously

Yes. you can send print data into multiple printers.
Example codes in Node.js:
import { SerialPort } from 'serialport';
import { Printer, Text, Cut, render } from 'react-thermal-printer';

const data = await render(
  <Printer type="epson">
    <Text>Hello World</Text>
    <Cut />
  </Printer>
);

const port1 = new SerialPort({ path: 'COM1', baudRate: 9600 });
const port2 = new SerialPort({ path: 'COM2', baudRate: 9600 });

port1.write(Buffer.from(data));
port2.write(Buffer.from(data));


blacklist the giraph jersey jars (fixes #7)

Fixes #7

Hi @kwmonroe
just merged to master, verified that the smoke-test successfully completes execution and adjusted the description in my push request to bigtop. Thanks once again!

Sweet!  I did a quick test as well and all looks good.  Rev 5 is promoted to stable:
https://jujucharms.com/giraph/
Thanks!


WIP [feat] func.yaml structure refactoring

Changes
This PR is in progress, do not merge.

:gift: The changes implemented in this PR follow the team discussion in the linked issue. The new structure reflects different func sub-commands and their properties. By grouping these properties by sub-command (build, run , deploy) it is easier for the user to understand where these properties will be used.
:gift: Besides the Function struct changes, this PR also introduces a migration to 1.0.0. Because the new file structure is incompatible with the old one (it cannot be marshaled into the new structure), the new migration needs to run first, so the new structure is initialized.

Fixes #817
/kind api-change
Release Note
TBD

Docs
TBD

closing in favor of this new PR: https://github.com/knative-sandbox/kn-plugin-func/pull/1254


Refactor basename check into environment variable.

What is the context of this PR?
This PR aims to leverage the Webpack environment configuration to determine if basename should be set between development and production.
During the build script, the BASE_NAME environment variable is set for 'production' builds.
The Webpage config defaults to an empty base name whilst in development mode.
The code which uses the basename has been refactored so as to not require the environment check.
How to review
Ensure that base name is configured appropriately for development and production builds.
Advise on any improvements to how I'm handling config in this PR.

@samiwel the basename seems to be causing issues on ghp at the moment, eg. clicking the "create" button takes you https://onsdigital.github.io/eq-author/#/eq-author/create. Does this PR fix this too?

That, to me, suggests we don't actually need a base path since we switched to hash routing?

I think browserHistory routing was preferred but I read somewhere that it didn't play too nicely with GitHub pages.

Browser history is a little pointless without server-side rendering, or a server that knows to catch all requests and return the same result for any path

 Environment-specific vars (1)


[Feature Request] Add footer slot for cards

Existing Component
Yes
Component Name
el-cadr
Description
It would be great, if el-card has footer slot - for submit/cancel buttons, etc.

Sorry, we have no plan to support this. You can already add submit/cancel buttons in the default slot.

@ircop it is easy to make your own based on the original
https://jsfiddle.net/tnerbovik/Ln1ajwv5/1/