Usage problem

Hi, I'm trying but I can't make this work.
How do I define TestItems? Should it be a new class with a property called TestText?
Thanks a lot.-

<TextBox
Width="250"
HorizontalAlignment="Center"
Text="{Binding TestText, UpdateSourceTrigger=PropertyChanged}"
behaviors:AutoCompleteBehavior.AutoCompleteItemsSource="{Binding TestItems}"

Oh...I have also same problem...struggling alone with internet for 5 days..
Among many autocomplete codes, I decided to adopt this code because it seems this code matches my project best.
Mr. Nimbogle would you verykindly please help me to provide simple example which is binding to column of sql database table like (Column Name, Row1 Bill Gates, Row2 Warren Buffet, Row3 Hillary Clinton, Row4 Barrack Obama and so on with many Row(names)) ?
My program will be distributed as 100 % free forever to Korean pharmacies and I'm much sure my program contributes big positiveness to Korean society to be more healthy.
Autocomplete is much different concept of many other data bindings, it's really confusing to understand the role of TestText in autocomplete functioin and Binding to column with many rows of Sql database table.
I installed through Nuget and proceeded only to step 2 of Readme..
I'm not a person of software programming industry and I have used to be salesperson of pharmaceutical industry in Korea, East Asia. Therefore, I've been developing software by learning books alone in Library and feel so sorry to request you this kind of easy example..
Please be the light of mission to our society..

Hey @cacapis,
TestText should be a public String property on your DataContext.
TestItems should be a property that is collection of Strings on your DataContext.
Are you using an MVVM framework?


Jak should be able to work for non text files.

I mean, the title says it all. right now we can only read text files and I can't off the top of my head think of why. It may well be as easy as reading the file as binary instead of text and bob (pun intended) is your uncle.

PR is open for this issue. closing.


Fix devtron app lint warnings

I got Devtron installed in the devtools of IPFS Desktop. To access it I had to:

npm i --save-dev devtron
Open the dev tools on the webui window and detach them, then close it... just to get the dev tools window to default to opening in detached mode.
Use the keyboard shortcut to open the dev tools on the main menubar window. ⌥ + ⌘ + i on macos.
run require('devtron').install() in the dev tools console. (this doesn't work in the webui browser window devtools.)

but once that tricky process was out of the way, it offered up this list of electron app lint warnings that we should review and fix.

After going through Devtron's warnings, they're all fixed by now. Closing this!


[chore] Add Dockerfile for OpenShift containerized test execution on Prow CI.

We will be running end-to-end tests for Jaeger Operator in our OpenShift release using Prow CI jobs. These jobs will encompass various cluster configurations, and the Dockerfile will containerize the tests for execution within the Prow CI.

/hold


Make autocast a Transform

Currently autocast (transforms/autocast.py) is carried over from the old-style transforms on callable and invoked like
jit(autocast(fn))

it would be good to make this a AutocastTransform to be invoked as
jit(fn, transforms=[Autocast])

for better composability.
This should be vaguely doable with the transforms e.g. as explained in Thunder Sessions Episode 7 plus the bsym mapping provided by the existing mechanism, so it might be a good first or second issue.

@t-vi I am interested in working on this.


missing styles for form-control-lg errors (and for -sm appendix too)

Try this:

Go to https://getbootstrap.com/docs/4.0/components/forms/ and find an input with .form-control class that also has .is-invalid class.
change form-control class for form-control-lg class. You'll see that error message disappears and also error styles disappear.

so yeah - styles for these class combinations are missing. Found within beta2.1

Hi @OdifYltsaeb this is what I see:

Can you provide a codepen that spots the problem please?

Do not change the .from-control for .form-control-lg—the latter is a modifier class. You need both classes.


Add requirements and performance data

It would be helpful for making a decision to use whether weppy or not to see server and python requirements of weppy like dependencies, RAM and CPU usage and some performance data like how many requests weppy can process without struggling.

@GiantCrocodile weppy doesn't have any strict requirements about the hardware of the machine used; the only requirement is the python version you're using.
In fact, the RAM and CPU usage depends more on you're application code rather than the framework itself (and this is true with any web framework you're using); it would be quite hard supposing the RAM usage of weppy without any information about the specific application.
The only benchmarks I've seen including weppy are available at http://klen.github.io/py-frameworks-bench, they should give you an idea on how it performs in terms of requests per second compared to other frameworks.
As soon as I'll see more benchmarks involving weppy I'll populate a page on the main website.
At the moment, this is all I've got :)


ACCUMULO-4620 Consolidate all Maven modules into one directory (1.8)

PR for 1.8 branch.

Closing this PR as it should only be applied to master branch.


libencrypt.so

libencrypt.so: cannot open shared object file: No such file or directory

What I did, you are on Linux I assume, is edit the venv/src/pgoapi/pgoapi/pgoapi.py file such that lib_path points to the absolute location of my compiled libencrypt.so file

you need to compile encrypt.c into libencrypt.so.
encrypt.c cannot be distributed, so you will have to find it on your own.

I used "LD_LIBRARY_PATH" environment variable to specify the path to the so file.

I am using mac os, how can I find "encrypt.c"? Since I search on finder cannot see any related material. Could anyone give me some suggestion?

Sorry, I found the solution in here: https://github.com/PokemonGoF/PokemonGo-Bot/issues/2778

OSError: libencrypt.so: cannot open shared object file: No such file or directory


Replace "#SparseVec64" with "CV64"

In several places throughout our code base (e.g. in tersify_mlir) and documentation, we have two names for sparse vector encodings, #SparseVec64 and #CV64.
#SparseVec64 = #sparse_tensor.encoding<{
  dimLevelType = [ "compressed" ],
  pointerBitWidth = 64,
  indexBitWidth = 64
}>

We should be consistent and pick one. I vote for #CV64.

+1 for #CV64

https://github.com/metagraph-dev/mlir-graphblas/pull/191 replaces #SparseVec64 with #CV64.


:art::heavy_plus_sign: Use dotenv for configuration and reduce code smell

:heavy_plus_sign: Add python-dotenv for loading configuration.
:rotating_light: Refactor code to follow PEP guidelines.
:recycle: Refactor identifier names to make them easily understandable.
:see_no_evil: Add gitignore

Welcome

Thanks


Migrate to AWS_ENDPOINT_URL

Adopt AWS_ENDPOINT_URL as the official endpoint variable introduced by AWS.
See https://docs.localstack.cloud/user-guide/tools/transparent-endpoint-injection/
/cc repo maintainer @tinyg210
Suggested Follow-Up
It would be better to inject the SNS topic ARN through IaC rather than hardcoding it in the application code.

Thanks, @joe4dev !
I've been meaning to do some proper upgrades on the app. I'll do that soon.


Branch 2.6

hi , We have some questions about the openairinterface(lte) and ovs. . Now we are using RYU try to match tunnel id this field, but can't work . Are the openflow tunnel id and GTPv2 teid the same thing? if  yes what can we solve this problem? thanks

Please use<EMAIL_ADDRESS>for your questions.


Let ccc turn Coercions into categorical objects

This (still PoC-level) patch, as asked for by @mikesperber, changes ccc to not use coerce when encountering a Cast, but actually descend into the given Coercion and build an arrow in the target category “implementing” that coercion, using repr, abst, fmap, compose, etc.
The high-level idea is to take a coercion co :: t1 ~ t2 and turn it into an arrow t1 `k` t2 in the target category.
It is still partial, and falls back to coerce when it finds a Coercion it cannot handle.

While it works successfully on all coercions in a single, but non-trivial test case provided by Mike, it seems it cannot handle all coercions in the test case here.
In particular, when it finds as a coercion FunCo <t1> co :: (t1 -> a) ~ (t1 -> b) for co :: a ~ b, the current strategy is to use fmapC (goCoercion co), which requires `FunctorCat, which does not exist in all categories.
I am unsure if

that’s ok, it just doesn’t work in these cases
we need more instances or
we need a different strategy when applying these coercions or
these coercions shouldn’t even be there, and are a result of a mistake

Effect of this patch on the golden tests: https://gist.github.com/86ed8d282ac59b1ff5ab02749d24395a

Patch to unbreak the test suite upcoming.


Emulate Church encoding?

Church-encoded booleans are:

true ≡ λ x, y . x
false ≡ λ x, y . y

At type-checking, the bool type can be retained and made a subtype of those lambdas, i.e.:
bool ≤ ∀ α . α → (α → α)
At evaluation, BooleanValue can be made a subclass of Closure.

It gets more complicated with natural numbers because the natural type would become a subtype of both integer and the Church-encoded lambdas. The order relationship on types is partial, so there is no problem in doing this from a mathematical standpoint; but the JavaScript implementation needs attention.
Church encoding for natural numbers:

0 ≡ λ x, y . y
1 ≡ λ x, y . x y
2 ≡ λ x, y . x x y
3 ≡ λ x, y . x x x y
…

Typing:
natural ≤ integer
natural ≤ ∀ α, β . (α → β) → (α → β)

With proper definitions of operators, this might allow to drop the Polish notation.
For example, with a proper definition of +, this feature might allow for:
2 + 3

which would actually yield 5. This could also be done for booleans, but the implementation for real and complex numbers would be a problem because there is no Church encoding for them.
Optimizing this would be a completely different story, but it could also provide a way to fix it for real and complex numbers.
The only problem with this view is that standard operator precedence would not be respected because left associativity of application would still hold, i.e.:
1 + 2 * 3

would be resolved as:
(((1 +) 2) *) 3

and it would yield 9 instead of 7.

Also, the idea doesn't cover unary operators.
The not operator doesn't actually need any change. The unary - operator would still need to be written as a binary operation between 0 and another number, i.e. 0 - 5 instead of -5.

If this infix notation is implemented, it would be a good idea to introduce explicit operator types (as subtypes of appropriate lambdas) to improve the typing of operations so that numbers can be applied to operators only instead of any suitable lambda.

Nice side effect: partial applications still yield functions that operate on the second operand.
That is:

old style: + 2 yields a function that adds 2 to whatever argument;
new style: 2 + yields the same.

Nice example use case: doubling all the numbers in an array.
Old style: {1, 2, 3, 4, 5}.map (* 2).
New style: {1, 2, 3, 4, 5}.map (2 *).
Unfortunately neither style works well with non-commutative operations. Example use case: squaring all the numbers in an array; both styles have to explicit a lambda:

old style: {1, 2, 3, 4, 5}.map fn x -> ** x 2;
new style: {1, 2, 3, 4, 5}.map fn x -> x ** 2.

The new style actually opens new possibilities to satisfy the latter use case (squaring all the numbers of an array or otherwise apply a non-commutative operator).
Operators can be defined such that when applied to the right-hand operand they return something that the left-hand operand can be applied to, to return the final value.
That is:

3 ** returns a function that raises 3 to the specified power;
** 2 returns a function that squares the specified argument;
3 ** 2 equals (3 **) 2 and returns 3 to the power of 2, i.e. 9.

What 3 (** 2) returns can be easily inferred. Given that:

3 ≡ λ x, y . x (x (x y))
** 2 ≡ function that squares the argument

3 (** 2) must return a function that squares the argument 3 times. That is, 3 (** 2) raises the argument to the power of 8.
In this way the use case of squaring all numbers in an array becomes as nice as the other cases with commutative operations:
{1, 2, 3, 4, 5}.map (** 2)

The design of the infix notation turns out to be incompatible with the Church encoding.
Given 3 ≡ λ x, y . x (x (x y)), in order to achieve 3 + 2 = 5, + must be a function that, when applied 3 times to 2, yields 5. So + must be the successor function, also known as succ. The successor function applied to any natural number n returns n+1.
We have:
3 + 2 =
(3 +) 2 =
(3 succ) 2 =
succ (succ (succ 2)) = 5

This works well with any pair of operands, but it's incompatible with the above design of + 2 returning a function that adds 2. If + is the successor function, + 2 simply returns 3.
There are other incompatibilities, the sum operation seems to be the one that works best. We need to choose between implementing Church encoding and keeping the Polish notation or implementing the infix notation and dropping Church encoding.

Pros of Church encoding:

Very standard in the academic community.
There are standard definitions for booleans, naturals, and tuples/lists. The latter can be extended to arrays and strings.

Cons:

Nobody in the industry knows it.
It lacks a definition for integer numbers and floating point numbers.

Given that the cons outweigh the pros, Church encoding will be dropped in favor of #92.


Improper configuration of port for deployment

Related to #60

Expected Behavior

Server starts successfully and accepts API calls.
Current Behavior

Fails to start server.

Possible Solution

Heroku exposes a port that the application is supposed to bind with. Any others will not work. Relevant link
Change const port = 5001; to const port = process.env.PORT || 5001; in server.js
Steps to Reproduce

Deploy server.
Attempt to access the server.

Context (Environment)

The backend server was successfully deployed, however fails to start.

Server fails to start due to improper configuration of port.
Detailed Description

Server should bind to process.env.PORT in production, and to the port manually specified in development.

I approve
Cheers,
Timo
On Mon, Mar 16, 2020 at 11:10 PM wooneh<EMAIL_ADDRESS>wrote:

Related to #60
https://github.com/se701-group6/se701-assignment1/issues/60
Expected Behavior
Server starts successfully and accepts API calls.
Current Behavior
Fails to start server.
[image: image]
https://user-images.githubusercontent.com/21334474/76743805-128c4180-67d8-11ea-9be4-e9582cbca5ee.png
Possible Solution
Heroku exposes a port that the application is supposed to bind with. Any
others will not work. Relevant link
https://help.heroku.com/P1AVPANS/why-is-my-node-js-app-crashing-with-an-r10-error
Change const port = 5001; to const port = process.env.PORT || 5001; in
server.js
Steps to Reproduce

Deploy server.
Attempt to access the server.

Context (Environment)
The backend server was successfully deployed, however fails to start.
Server fails to start due to improper configuration of port.
Detailed Description
Server should bind to process.env.PORT in production, and to the port
manually specified in development.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/se701-group6/se701-assignment1/issues/61, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AANUN6SWYNIHAY55VGUXUTDRHX3HPANCNFSM4LMA3DPQ
.

I approve

I approve


Fix type hint and docs for from_pandas

Codecov Report

Merging #328 into master will decrease coverage by 0.02%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##           master     #328      +/-   ##
==========================================
- Coverage   94.06%   94.03%   -0.03%
==========================================
  Files          35       35
  Lines        3454     3454
==========================================
- Hits         3249     3248       -1
- Misses        205      206       +1

Impacted Files
Coverage Δ

databricks/koalas/namespace.py
90.27% <85.71%> (ø)
:arrow_up:

databricks/koalas/__init__.py
88.88% <0%> (-3.71%)
:arrow_down:

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 c150b86...6db6237. Read the comment docs.


Add database content in json

Is your feature request related to a problem? Please describe.
Since the database has been removed from the repository, it is necessary to have some similar content in our database for Development purposes

Describe the solution you'd like
I want to create a json file that will contain database content which contributers can load into their database. This permit contributers to have a prefilled database when they run the project.

Okay , it will be a good Adition . Im assigning to myself .
Will do it .

Okay , it will be a good Adition . Im assigning to myself .
Will do it .

Alright great 😊


[Bug/Crash] Rift crashes when generating new worlds

When generating a new World, Rift crashes with a NullPointerException.
Crash Log
Thie Issue is caused by File#listFiles() returning null here.
https://github.com/DimensionalDevelopment/Rift/blob/4b64e4efde69890850298154f15c12ae30a1e5f6/src/main/java/org/dimdev/rift/resources/ModPack.java#L98
seems like the issue was introduced in https://github.com/DimensionalDevelopment/Rift/commit/263d0b0bf479c6d4e9d5c8f4b8aef0da91d04104

In rift Rift-1.0.3-44 new worlds generating fine on my client. Or do you mean on server side?

I'd rename this, since the crash log is that of a server.
rename? why? it's rift that is crashing, not a server.


Total test count is not set for reports

For Version 1.0.2 the total test count is blank on each report.
We came across this when our TAP reader failed to parse a report. In our particular case all tests are passing and there is no console output to influence parsing. I double checked the issue by confirming the value was missing from multiple formats:

TAP Report: 1..
JUnit Report: testsuite name="default" tests="" time="2015-06-12T18:26:51.309Z"
Json Report: {"type":"runner","total":null,"start":"2015-06-12T18:49:43.042Z","_teaspoon":true}

This seems to be due to the report total not being set upstream from this point. (Probably an obvious point, but I figured any help would be beneficial, and I am out of time myself. :sweat:)
Thanks, and fantastic work on the latest releases - cleaned up our infrastructure greatly.

Thanks for the report @crgee. I've pushed a fix up to master to solve this. It will go out with the 1.0.3 release (no date set yet). In the meantime, you can point your Gemfile at master.

Great, thanks


Add redirecting links to emails in contact us page

Is your feature request related to a problem? Please describe.
There are some email addresses on the Contact us page. When a user clicks on an email, it should redirect to the email app.
Describe the solution you'd like
Add anchor tags with mailto hrefs. Read this to get a basic idea: https://www.w3docs.com/snippets/html/how-to-create-mailto-links.html
Describe alternatives you've considered
N/A
Additional context
N/A
Are you working on it?
No

Shall i work on this

shall I work on this ?

shall i

Shall I work on this ?

Assigned @VishwaAmarasinghe

Assigned @VishwaAmarasinghe

thanks @Piumal1999 brother


Enhance Dnsimple::Options::ListOptions to support pagination

@weppos @jacegu @jcaudle Please review. Thanks!

thanks!


More updates

Motivation for this change
Fixes the TrackerTokenizer issue
Things done

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

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Great stuff, thanks! I've been digging into a few of the other issues like GPaste but it's not super obvious what's going wrong because it's the dbus process that can't find the service file. It might need a reload to go and find the new service files?

I think 1 could be related to https://github.com/NixOS/nixpkgs/issues/27481


Potential Bug Risks and Anti-Patterns

Description
Hi @DarshanDeshpande 👋
I ran DeepSource Static Code Analysis upon the Project, the results for which are available here.
The Static Code Analysis Tool found potential bugs and anti-patterns in the Code, that can be detrimental at a later point in time with respect to the Project. DeepSource helps you to automatically find and fix issues in your code during code reviews. This tool looks for anti-patterns, bug risks, performance problems, and raises issues.
Some of the notable issues are:

Missing Arguement in Function Call (here)
Unnecessary Generator (here)
f-string used without any expression (here)
Detected subprocess popen call with shell equals True (here)
Bad Expect Order (here)

There are plenty of other issues in relation to Bug Discovery and Anti-Patterns which you would be interested to take a look at.
If you would like to integrate DeepSource to autofix some of the common occurring issues, I can help you set that up :)

Yes I know that some code cleaning is required.  This analysis seems interesting. We could use a tool like this for future proofing

Yes I know that some code cleaning is required. This analysis seems interesting. We could use a tool like this for future proofing

Hi @DarshanDeshpande 👋
Shall I raise a PR for the same and provide some cleanup with the Autofix tool? It would be a good way to judge the efficiency of the tool.

Yes that sounds good

PR Merged. Closing this issue


feat: add protoc helper

As title says - pinging @greschd for visibility

Awesome, thanks @RobPasMue! 🚀


custom pyd in local site package folder

i have a pyd file compiled from c++ code in windows env, can i use it in azure function?

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

ID: d955d169-8fb8-c511-8911-3e49f95c5ce6
Version Independent ID: 8a3d927c-51ce-d7d4-e5d1-acd928826db2
Content: Python developer reference for Azure Functions
Content Source: articles/azure-functions/functions-reference-python.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@xmseraph
Thanks for your feedback! We will investigate and update as appropriate.

according to the reference page, it sounds like the python azure function is only supposed running in linux OS, so including my pyd file in the .python_packages/lib/site-packages and publish with --no-build doesn't really work, all the required packages including my pyd file are included in the zip file stored in the storage container, but still can't import my module in pyd.

my pyd file is a python c extension, if i can make it a linux wheel, will it work after installed?

@xmseraph Sorry for the delay in response. Yes, you are correct. Python Azure Functions use Linux OS and hence you cannot .pyd file that is compiled on Windows in this runtime stack https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#operating-systemruntime.
Did you mean converting it to ".so" file?

@xmseraph Please use ".so" on Linux and let us know if you have any questions or issues. We will be happy to assist you.
We are closing this thread for now and feel to add a comment or reopen if needed.


Add VisualStudioCodeCredential

Great job adding test coverage to this not-so-easy-to-cover feature 👍


Add ability to set schedulerName in CRDs

In order to run storage hyper-converged (co-locate compute and storage on same machine) it's necessary to set the schedulerName field in order to use a custom scheduler like stork that takes replica placement into consideration.
However it doesn't seem like kubedb exposes this field in its CRDs, is this correct or did I miss something?

You can set scheduler name in next release via spec.podTemplate.schedulerName.
-https://github.com/kubedb/apimachinery/blob/389e0d09df92218ff79fcbf1010deda9b0d36390/apis/kubedb/v1alpha1/elasticsearch_types.go#L79

https://github.com/kubedb/apimachinery/blob/389e0d09df92218ff79fcbf1010deda9b0d36390/vendor/kmodules.xyz/offshoot-api/api/v1/types.go#L64

wonderful @tamalsaha - thank you for the very quick response!

My pleasure!


Add sales object to products

What I'm trying to achieve
Fetch sale details for products
Use case
• Displaying sale details and terms on the PDP
• Programmatically removing from all sales
Describe a proposed solution
query SaleInProducts {
  products(first: 10, channel: "default-channel") {
    edges {
      node {
        name
        sales {
           name
           type
           startDate
           endDate
        }
      }
    }
  }
}

for the product connection it would also be nice to have the ability to do sorting on sale by amount of discount in percentage or price.

@timuric how about this? Currently, we fetch all sales to display pricing.
When we add it to PricingInfo we receive sales field in Product, ProductVariant, and ProductChannelListing.
query SaleInProducts {
  products(first: 10, channel: "default-channel") {
    edges {
      node {
        name
        pricing {
          onSale
          sales {
            name
            type
            startDate
            endDate
          }
        }
      }
    }
  }
}

Personally, I would say, that sale should not be a part of pricing. The effect of applying discount from sale is something that belongs to pricing (like price on VariantPricingInfo that already include the discount from Sale) but not a whole object.


RuntimeError: Given groups=1, weight of size [512, 137, 3], expected input[32, 8, 98] to have 137 channels, but got 8 channels instead

what is the matter ? please help me

The default value of  '--enc_in' and '--dec_in'  you give is 137, but your dataset has 8 columns except 'date'. 把 '--enc_in' 和 '--dec_in' 这几个地方的值改为8应该就可以了。


Watchdog<->file worker deadlock on shutdown

Observed a few times in the wild: watchdog is trying to shut down and waiting on all commTasks:
#0  0x00007fad46a9dc5e in __futex_abstimed_wait_common () from /nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52/lib/libc.so.6
#1  0x00007fad46aa04c0 in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52/lib/libc.so.6
#2  0x00007fad4b9efccf in std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) () from /home/jmc/.elan/toolchains/leanprover--lean4---nightly-2024-09-06/lib/lean/libleanshared.so
#3  0x00007fad4b9ccc9b in lean_task_get () from /home/jmc/.elan/toolchains/leanprover--lean4---nightly-2024-09-06/lib/lean/libleanshared.so
#4  0x00007fad4b9ea65c in lean_io_wait () from /home/jmc/.elan/toolchains/leanprover--lean4---nightly-2024-09-06/lib/lean/libleanshared.so
#5  0x00007fad4a3f1623 in l_Lean_RBNode_forIn_visit___at_Lean_Server_Watchdog_shutdown___spec__1 () from /home/jmc/.elan/toolchains/leanprover--lean4---nightly-2024-09-06/lib/lean/libleanshared.so
#6  0x00007fad4a3f1be7 in l_Lean_Server_Watchdog_shutdown () from /home/jmc/.elan/toolchains/leanprover--lean4---nightly-2024-09-06/lib/lean/libleanshared.so

At least one commTask is waiting for the child to exit, which it does after any error in the forwardMessages loop (unclear which error in this case, as std handles should still be open):
#0  0x00007fad46b06577 in wait4 () from /nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52/lib/libc.so.6
#1  0x00007fad4b9ee552 in lean_io_process_child_wait () from /home/jmc/.elan/toolchains/leanprover--lean4---nightly-2024-09-06/lib/lean/libleanshared.so
#2  0x00007fad4a3b54dd in l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_forwardMessages_loop () from /home/jmc/.elan/toolchains/leanprover--lean4---nightly-2024-09-06/lib/lean/libleanshared.so

Meanwhile the file worker itself is trying to exit, waiting on its std handles lock:
#0  0x00007f83afbbae4a in __lll_lock_wait_private () from /nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52/lib/libc.so.6
#1  0x00007f83afbb8525 in _IO_flush_all () from /nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52/lib/libc.so.6
#2  0x00007f83afbb88fa in _IO_cleanup () from /nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52/lib/libc.so.6
#3  0x00007f83afb723f0 in __run_exit_handlers () from /nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52/lib/libc.so.6
#4  0x00007f83afb7242e in exit () from /nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52/lib/libc.so.6
#5  0x00007f83b4bea736 in lean_io_exit () from /home/jmc/.elan/toolchains/leanprover--lean4---nightly-2024-09-06/lib/lean/libleanshared.so
#6  0x00007f83b3695937 in lean_server_worker_main () from /home/jmc/.elan/toolchains/leanprover--lean4---nightly-2024-09-06/lib/lean/libleanshared.so

Which is held by a thread trying to write to stdout, which presumably is full:
#0  0x00007f83afc2d70f in write () from /nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52/lib/libc.so.6
#1  0x00007f83afbb651d in _IO_file_write@@GLIBC_2.2.5 () from /nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52/lib/libc.so.6
#2  0x00007f83afbb47e4 in new_do_write () from /nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52/lib/libc.so.6
#3  0x00007f83afbb55e9 in __GI__IO_do_write () from /nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52/lib/libc.so.6
#4  0x00007f83afbb5cd8 in __GI__IO_file_sync () from /nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52/lib/libc.so.6
#5  0x00007f83afba9364 in fflush () from /nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52/lib/libc.so.6
#6  0x00007f83b4be866c in lean_io_prim_handle_flush () from /home/jmc/.elan/toolchains/leanprover--lean4---nightly-2024-09-06/lib/lean/libleanshared.so
#7  0x00007f83b0e2499f in l_IO_FS_Stream_ofHandle___elambda__6___boxed () from /home/jmc/.elan/toolchains/leanprover--lean4---nightly-2024-09-06/lib/lean/libleanshared.so
#8  0x00007f83b4bd69f0 in lean_apply_1 () from /home/jmc/.elan/toolchains/leanprover--lean4---nightly-2024-09-06/lib/lean/libleanshared.so
#9  0x00007f83b366996e in l_Lean_Server_FileWorker_initializeWorker_mkLspOutputChannel___lambda__1 () from /home/jmc/.elan/toolchains/leanprover--lean4---nightly-2024-09-06/lib/lean/libleanshared.so

Possible solution: the watchdog should close the file worker's stdout before invoking Child.wait.


Issue 1257: Minor refactoring of the strongbox-data-service module

Fixes #1257.
Minor refactoring of the strongbox-data-service module
OrientDB configuration-related refactoring:

[x]  Create package called org.carlspring.strongbox.config.orientdb.
[x]  Move InMemoryOrientDbConfig under org.carlspring.strongbox.config.orientdb.
[x]  Move EmbeddedOrientDbConfig under org.carlspring.strongbox.config.orientdb.
[x]  Move CommonOrientDbConfig under org.carlspring.strongbox.config.orientdb.
[x]  Rename OrientDBProfile to OrientDbProfile and move it under org.carlspring.strongbox.config.orientdb.

Hazelcast configuration-related refactoring:

[x]  Create package called org.carlspring.strongbox.config.hazelcast.
[x]  Move HazelcastConfiguration under org.carlspring.strongbox.config.hazelcast.
[x]  Move HazelcastInstanceId under org.carlspring.strongbox.config.hazelcast.

Acceptance Test

[x]  Building the code with mvn clean install -Dintegration.tests still works.
[x]  Running mvn spring-boot:run in the strongbox-web-core still starts up the application correctly.
[x]  Building the code and running the strongbox-distribution from a zip or tar.gz still works.
[ ] The tests in the strongbox-web-integration-tests still run properly.

Hi!
Thank you for your contribution!
Would you mind signing the ICLA, as described in the Contributing page?
Kind regards,
Martin

@carlspring build is passing, ignore failing smoke test (it's related to #1251).

@steve-todorov : Thanks for clarifying! :)

@Rathan-Naik ,
Have you had a chance to look into the ICLA? :)

@carlspring Just signed and sent by mail.
Thanks

Thanks for your help and congratulations on your first pull request! :)

Thank you.
Looking forward to making more contributions.
On Wed, May 1, 2019 at 6:04 AM Martin Todorov<EMAIL_ADDRESS>wrote:

Thanks for your help and congratulations on your first pull request! :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/strongbox/strongbox/pull/1258#issuecomment-488162570,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHKU72E45W23ZUIYCFIGA73PTDQQLANCNFSM4HI5476Q
.


Pin older dask-cuda packages to pandas<1.6

cc @jakirkham @galipremsagar
Checklist

[ ] Ran python show_diff.py and posted the output as part of the PR.
[ ] Modifications won't affect packages built in the future.

Here is the diff:
noarch::dask-cuda-22.12.0-pyhd8ed1ab_0.conda
-    "pandas >=1.0",
+    "pandas >=1.0,<1.6.0dev0",
noarch::dask-cuda-23.2.0-pyhd8ed1ab_0.conda
-    "pandas >=1.0",
+    "pandas >=1.0,<1.6.0dev0",
noarch::dask-cuda-23.2.1-pyhd8ed1ab_0.conda
-    "pandas >=1.0",
+    "pandas >=1.0,<1.6.0dev0",
noarch::dask-cuda-23.2.1-pyhd8ed1ab_1.conda
-    "pandas >=1.0",
+    "pandas >=1.0,<1.6.0dev0",

Marking this as draft for now as there is still some ongoing conversation around these pinnings in https://github.com/conda-forge/dask-cuda-feedstock/pull/21#discussion_r1164718619

Thanks Charles! 🙏


The following pattern ignores all JSON/JSONC files in the repo, but not biome.jsonc. It's impossible to ignore that file, no matter what I do.
  "files": {
    "ignore": ["*.json*"]
  },

Expected result
It should follow the config and ignore that file.
Code of Conduct

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

Can you please be more precise about the semantics of "ignore"? Biome needs to read it, and provide diagnostics if it's broken.
Failing to have a valid configuration is vital, and Biome should not function if the configuration isn't correct

I don't want to format it.

For this use case, doesn’t it make more sense to move the ignore into the formatter section. Not sure if that works today though.

I don't understand though why is the "files-being-formatted" related to the self-config of the app. I think the two has nothing to do with each other. The self-config shouldn't receive special treatment.

"Ignoring" a file in biome means that we don't process the file, and therefore don't emit diagnostics for errors in that file, whether those are for parsing, formatting, or linting. However, we must process the config file in order to read the configuration. By default, "processing" includes formatting.
You should be able to add an override that disables the formatter.
"overrides": [
    {
        "include": ["biome.json"],
        "formatter": {
            "enabled": false
        },
    }
]


Clean up vendor directory

Removed all packages listed as unused,  a la:
    govendor list +u

Fixes  #2023

Hall of fame PR. LGTM.


[release-1.8] Fix dashboard controlz could not port forward to istiod pod

Manual cherrypick required.
#30467 failed to apply on top of branch "release-1.8":
Applying: Fix dashboard controlz could not port forward to istiod pod
Using index info to reconstruct a base tree...
M	istioctl/cmd/dashboard.go
M	istioctl/cmd/dashboard_test.go
Falling back to patching base and 3-way merge...
Auto-merging istioctl/cmd/dashboard_test.go
CONFLICT (content): Merge conflict in istioctl/cmd/dashboard_test.go
Auto-merging istioctl/cmd/dashboard.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Fix dashboard controlz could not port forward to istiod pod
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

Closed by https://github.com/istio/istio/pull/30495

Closed by https://github.com/istio/istio/pull/30495


Numba-dpex examples suggestion

This issue is to suggest writing certain examples in numda-dppy:

[ ] Kernel-based example of boolean reduction (does my array contain any nan values?)
[ ] Kernel-based example of inclusive scan (accumulation, cumulative sum)
[ ] Kernel-based example of merge (or any kind of) sorting
[ ] Kernel-based example of median/mean filter on 2D/3D array

@mingjie-intel have a look. These suggested use cases can serve as good motivating examples for your reduction kernel work.

@roxx30198 The examples suggested by @oleksandr-pavlyk are a good starting point for you to get familiarized with numba-dpex and parallel-programming in general.


Conda is out of date

Checklist

[x] Checked the nixpkgs master branch

[x] Checked the nixpkgs pull requests

Project name
nix search name: conda

current version: 4.6.14
desired version: 4.9.2
Notify maintainers

maintainers: @jluttine @bhipple
The current version in nixpkgs 4.6.14 is about 2 years old and has many issues that have been fixed since.
Tried upgrading it in https://github.com/mausch/nixpkgs/commit/e1a43684368c3fc4314e0834e4326fd9dfd5af38 .
However when I run conda-install I get:
/home/mauricio/.conda/conda.exe: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
As you can see I tried adding zlib to the list of dependencies but still getting the same error.
Workaround: Use the current version and upgrade conda with conda itself: conda install conda=4.9.2
Note for maintainers
Please tag this issue in your PR.

In general it's pretty out of date because I've found the normal nix packages have much better coverage than they did a few years ago, so I haven't used conda much.  This is particularly true with all of @tbenst's hard work over in https://github.com/nix-community/nix-data-science.

Filed PR #170122. @mausch, if you are still interested, would be great if you could have a look that this works for you as well. Thanks

conda-shell-chrootenv:bhipple@brh-x1cg6:~/src/nixpkgs$ conda-install
PREFIX=/home/bhipple/.conda
installing: python-3.7.3-h0371630_0 ...
Python 3.7.3
installing: ca-certificates-2019.1.23-0 ...
...
installation finished.
conda-shell-chrootenv:bhipple@brh-x1cg6:~/src/nixpkgs$

Thanks @hhoeflin for the fix, it seems to be working now!

@bhipple Just to make sure - could you please check that you actually have the right version installed now?
You had:
conda-shell-chrootenv:bhipple@brh-x1cg6:~/src/nixpkgs$ conda-install
PREFIX=/home/bhipple/.conda
installing: python-3.7.3-h0371630_0 ...
Python 3.7.3
installing: ca-certificates-2019.1.23-0 ...
...
installation finished.

However, conda 4.11.0 should install a version 3.9.7 of python.

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/why-is-it-so-hard-to-use-a-python-package/19200/12


Manage Households VF pages throwing Contact Validation Rules erroneously

HUB thread: https://powerofus.force.com/0D58000001vhiEa

This appears to be a Salesforce platform issue: https://success.salesforce.com/issues_view?id=a1p30000000T2L3AAK

Bummer! Hope they fix it soon.


Reusing regexs

Hi!
Please add an option to save regexs as templates for faster reusing.
Thank you!

this can be done using the multi command extension.


Add CloseWhenIdle config option (defaulted to TRUE)

We need a new closeWhenIdle setting that controls the im_file's CloseWhenIdle setting.
It should default to TRUE, but be possible to configure as FALSE like this:
<watch files="C:\Windows\WindowsUpdate.log" type="plain">
        <closeWhenIdle>FALSE</closeWhenIdle>
	<field key="environment" value="ENV1" />
	<field key="service" value="WindowsUpdate" />
</watch>

@fandrei, After some internal discussions, I think its better if we leave the default as TRUE rather than FALSE.
Its better to ship duplicates than risk locking in nearly all cases.

@mrdavidlaing, why don't make it an attribute instead of sub-element?

attribute instead of sub-element
Fine by me


[styles] Use react-jss hook API internally

As we want to move toward a style adapter architecture (JSS, styled-components, etc) #16238, the more we can depend on the existing style solutions, the better. @kof and his team have done a great job with their new react-jss hook API. it's x2 faster for dynamic props than what we have, and only ~25% slower than styled-components. It should solve most of the problems in

#15511 (@jmdsg)
#16111 (@city41)
#16316 (@NickCis)

I will resume it later.

@oliviertassinari what happens ? This not work correctly several empty tags classes don’t match and more not it’s only performance , don’t work box and others
Any plans for fix this or not ?

The long term priority is to leverage styled components. We will start to hide @material-ui/styles to the end users. So while this change is important, it's short/middle term oriented. If we can avoid any time investment in it, that would be perfect.

I understand the problem it’s the system don’t work if you want to use Box this don’t match ssr with the client never.
Btw thanks for the response .

They shouldn't be any SSR mismatch. It's very likely a miss configuration in the projet your are working with.

I use the default test and the server render has a different result, this it’s becouse the useStyles it’s called two times on the first render so the first time match but after don’t match becouse it’s execute two time on the first render so react don’t rehydrate the class


ERROR during TUYA Setup

Home Assistant release with the issue: 0.74.0

Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.): Hassbian

Component/platform: TUYA

Description of problem: Error during platform setup
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
tuya:
  username: !secret tuya_username
  password: !secret tuya_password
  country_code: 1

Traceback (if applicable):
2018-07-21 19:50:42 ERROR (MainThread) [homeassistant.components.switch] Error while setting up platform tuya
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py", line 129, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  File "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for
    return fut.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/homeassistant/.homeassistant/custom_components/switch/tuya.py", line 48, in setup_platform
    config.get(CONF_LOCAL_KEY)
  File "/srv/homeassistant/lib/python3.5/site-packages/pytuya/__init__.py", line 249, in __init__
    super(OutletDevice, self).__init__(dev_id, address, local_key, dev_type)
  File "/srv/homeassistant/lib/python3.5/site-packages/pytuya/__init__.py", line 146, in __init__
    self.local_key = local_key.encode('latin1')
AttributeError: 'NoneType' object has no attribute 'encode'

Additional information:

i was having same error, stumbed upon this closed issue with no fix/explanation .. for those who may encounter this ... our issue was that we created a "custom_component" for Tuya (which was the old way) and it was conflicting
Original solution post:
https://community.home-assistant.io/t/0-74-tuya-cloudflare-dns-push-camera-and-users-ui/60562/28


Feat/InputTextArea copy

What kind of change does this PR introduce?
feature - addresses #303
What is the new behavior?
Adds copy button to Input.TextArea
Additional context

@i-pip just need to remove the breadcrumb changes

@i-pip just need to remove the breadcrumb changes

done, a little git cleaning up and the breadcrumb changes are gone 😋

@i-pip just need to remove the breadcrumb changes

done, a little git cleaning up and the breadcrumb changes are gone 😋

@i-pip nice one!

I added support for actions and also added the error icon in.
Also tried to fix the padding issue with all the actions/buttons inside the text area.
small caveat though is the content of the textarea goes behind all of the actions/error icon.

:tada: This PR is included in version 0.37.0-beta.3 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 0.37.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Integration tests part II

This PR merges the ongoing work of integration testing for the toolbox plugin. This is not necessarily considered done but the integration tests have stabilized to the point where they are very helpful and we'd like to merge our progress so far and proceed from here for future additions.

DCO issues fixed in #85


[New game]:

🎮 Game Request
I want to add a Whac-a-mole game using html css and javascript
Point down the features
a user can experience this game virtually just tapping on mole they can earn the points
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Please assign me under girlscript summer of code @kunjgit

Hey @Shaba1406  ! we are already having the same game request in #20
Thank you for raising an issue 💗


PowerShell Guide Microservice

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx


Feature #209: initial implementation of download authorization

This is an implementation of crate download authorization for issue #209.
In our use-case we need to restrict download of crates on per user basis (we intend to use kellnr in our private crate registry in one of the projects).
Regarding the API design I tried to follow the HTTP semantics, so PUT/DELETE operate on a given user.
Also we would need more changes regarding user management and web-hooks that I would be happy to discuss them with you.

Hi @jauhien,
sry for the late response. I had some busy weeks. First: Thanks for putting in that much work!
What do we need to discuss to get the feature working an merged?

Hi @secana , the feature concerned in this MR as implemented can be merged and is working.
We would need other changes, but for now we are focused on other work, so I do not expect that we will be able to discuss them before September.
Regarding this MR I would be grateful if you could do code-review, so I can make changes based on your feed-back (if any) and the final version can be merged by you.

A question for clarification:
Is the introduction of a crate_user necessary? Wouldn't it be much easier to use the existing concept of a an owner and enhance it, such that it has a flag for "read" or "read/write" access? It seems to me that this would do the same with half the code.
Or do I miss something and the introduction of a crate_user relation has some more benefits?

Sorry for a long pause: I was on vacations and then had other topics to manage.
Your comment sounds reasonable to me, so I will redo those changes and update PR.

Dear @secana , I have thought a bit more and there is one thing that probably makes crate_user necessary: we do not want to allow crate owner with write access to be able to change crate users list as in our use case crates uploading is separated from granting access to crates.
In current implementation crate owners can change list of owners (which seems to be reasonable as there can be a necessity to pass upload authorization to other user or to revoke it).
So I can see two options: keep separated crate user entity or restrict crate owners changes to admins only.
Which option seems better to you?

@secana Hello! Is there something that is blocking this PR from merge?

Hi, I've reviewed most of it and think it's ready to be merged. As it is a big new feature, would you be so kind and add documentation about it for https://kellnr.io? The correspondig page for docs is here: https://github.com/kellnr/website/blob/main/src/views/DocumentationV5View.vue

@secana , thank you very much!
Surely, I can add the docs. I will have a look this week.

@secana , sorry for a longer pause, I have created a pull request on the website repo.
Please, do not hesitate to comment if you need more documentation.
From the side of user this feature is seen as an additional settings tab (available to administrator) and as a mechanism that rejects cargo pulls for unauthorized users, so documentation is not long.


Extension button not showing up

VSCode Version: Code 1.19.1 (0759f77bb8d86658bc935a10a64f6182c5a1eeba, 2017-12-19T09:46:23.884Z)
OS Version: Windows_NT x64 10.0.15063
Extensions:

Extension
Author (truncated)
Version

Bookmarks
ale
0.18.0

project-manager
ale
0.23.1

npm-intellisense
chr
1.3.0

path-intellisense
chr
1.4.2

bracket-pair-colorizer
Coe
0.10.14

vscode-svgviewer
css
1.4.3

file-icons
fil
1.0.7

color-highlight
nau
2.3.0

material-icon-theme
PKi
3.2.0

vscode-css-peek
pra
2.0.2

vscode-icons
rob
7.19.0

markdown-preview-enhanced
shd
0.3.1

Align
ste
0.2.0

ayu
tea
0.11.1

open-in-browser
tec
1.1.0

expresssnippet
vla
0.1.0

html-css-class-completion
Zig
1.15.0

(3 theme extensions excluded)

Steps to Reproduce:

Open VS Code
Extensions button doesn't show up, I can still access it using Ctrl+Shift+X.

Reproduces without extensions: Yes

Yeah, I'm having this same bug. A temporary workaround is to also press F1 and type ext and then Install Extensions


Mavenize the project

Hello.
I recently needed to use Dyn4j in an OSGi environment. Unfortunately, the Dyn4j jar didn't have any OSGi headers defined. Rather than add OSGI headers by hand (a very error-prone process), I took the opportunity to move the whole codebase to Maven conventions and add POM files for each module.
Mavenize the project

This reorganizes the source and resource files to match Maven/Gradle
conventions. Primarily, this means moving Java source files into
src/main/java, and moving resource files into src/main/resources.

It adds POM files for each subproject (the core, examples, sandbox,
and unit tests) that build jar files of bytecode, jar files of sources,
and jar files of JavaDoc. Additionally, it uses the Maven Bundle Plugin
to calculate accurate OSGi metadata, allowing Dyn4j to be used in OSGi
environments. The POM files conditionally use the GPG plugin to sign
all archives when the dyn4j.deployment property is defined. Finally,
the POM files use the Maven Nexus staging plugin to allow for deploying
jar files to Maven Central from the command line.

The test suite passes, and the sandbox application appears to work correctly. I'm not entirely sure about JNLP though, as I've not actually used it before. I'm not sure if I've broken it or not.

I'd be happy to walk you through all the changes, and discuss exactly what advantages this brings to the project.

Let me review the changes - I've been wanting to do this as well.

I manage this project out of Eclipse.  It looks like the project is broken.  Ideally, I would be able to pull down the project, open it in Eclipse, right click on the project and build with maven and it do everything you've stated.  Am I missing something?

Hm, that's strange. I switched to Intellij IDEA about a year ago, but Eclipse never had any problems with Maven projects when I was using it. I'll reinstall it today and see if there's something obviously wrong.

It appears that the problem was with the existing eclipse .project and .settings files in the source tree. I deleted these, removed the projects from the workspace, and then used File -> Import... -> Existing Maven projects. The projects imported without errors.
This is on Eclipse Neon 4.6.3, for reference.

Ok, cool.  I will take another look this evening.

Ok, I have it setup in Eclipse now.  This is looking good.  Being a novice at Maven, can you help fill in some gaps in my understanding:

Why are the tests, examples, and sandbox modules?  I don't intend to release these through maven.
What's the reasoning for splitting the resources and the source into two different source folders src/main/java & scr/main/resources?
Why does the main pom.xml define JUnit and JOGL dependencies?  I want to make sure that those using the released binary are not required to have these.
A follow up question is about core being a module.  When I deploy to maven for general availability I only want to deploy the core module, nothing else.  Will this work with the current setup?
What's the process with PGP and sonatype? Does the build prompt for credentials and the signing key?  I want to make sure I don't inadvertently check them in.

Thanks,
William

Why are the tests, examples, and sandbox modules? I don't intend to release these through maven.

Mainly this was to avoid having the core module depend on JOGL/GlueGen and/or anything else you might add at a later date. This gives you some freedom in that you can add as many new dependencies as you like for the purposes of tests or example code without those dependencies polluting the core library that others use. See below.

What's the reasoning for splitting the resources and the source into two different source folders src/main/java & scr/main/resources?

This is a Maven convention. I think they kept the sources and resources separate in order to make it easier to process resources at compile time without accidentally mangling sources. See the docs for the maven-resources-plugin for a rough guide to the sorts of things people do with resources at compile time. Some people go one step further and separate resources into resources and resources-filtered directories, subjecting the latter directory to various kinds of preprocessing. I don't have strong feelings on the sources/resources split convention either way, but I think it's a good idea to follow it as following conventions is what keeps all Maven projects familiar and uniform. Someone unfamiliar with the dyn4j codebase knows exactly where to find resources because they're in the same place as any other Maven project.

Why does the main pom.xml define JUnit and JOGL dependencies? I want to make sure that those using the released binary are not required to have these.

It actually just defines the versions so that you only have to specify them once. The dependencyManagement section basically pre-declares dependency versions, and then
the dependencies sections in each module can refer to those dependencies without having to repeat the version numbers. You can see that the core module doesn't have a dependencies section and therefore has no dependencies.

A follow up question is about core being a module. When I deploy to maven for general availability I only want to deploy the core module, nothing else. Will this work with the current setup?

Yep, no problem there. You'd just specify the dyn4j-parent and dyn4j  modules using the --projects command line flag:
$ mvn --projects .,core deploy

The --projects option specifies a comma-separated list of the modules you want to include in the build. In this case, . refers to the dyn4j-parent module and core is self explanatory. You do need to deploy dyn4j-parent to Central as this declares the various plugin and dependency versions used by core: When someone declares a dependency on org.dyn4j:dyn4j, their Maven will pull the org.dyn4j:dyn4j-parent POM from Central in order to get at the various bits of metadata contained within.

What's the process with GPG and sonatype? Does the build prompt for credentials and the signing key? I want to make sure I don't inadvertently check them in.

The way it works right now is that the maven-gpg-plugin is bound to the verify phase by default. It's configured to run in a profile that's only activated if a property dyn4j.deployment is defined. You could, for example, enable the profile if you were to do:
$ mvn -Ddyn4j.deployment=true verify

The reason for putting it in a profile is that, if the declaration wasn't in a profile, anyone building the library from source would be asked to PGP sign it. I'd guess most developers who aren't routinely deploying packages to Central don't have PGP set up properly, so this would be very annoying.
Rather than specify a property on the command line, the way I do it in my own projects is to put the following in my ~/.m2/settings.xml:
<?xml version="1.0" encoding="UTF-8"?>
<settings
  xmlns="http://maven.apache.org/SETTINGS/1.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">

  <profiles>
    <profile>
      <id>io7m</id>
      <properties>
        <gpg.useagent>true</gpg.useagent>
        <gpg.keyname>io7m.com (2017 release-signing)</gpg.keyname>
        <io7m.deployment>true</io7m.deployment>
      </properties>
    </profile>
  </profiles>

  <activeProfiles>
    <activeProfile>io7m</activeProfile>
  </activeProfiles>

</settings>

The above is pretty self explanatory. It sets io7m.deployment to true and declares some properties that the maven-gpg-plugin reads in order to determine what key to use for signing and whether or not to talk to a running gpg-agent instance. In my environment, when I use mvn deploy my GPG agent pops up a dialog box asking me for my GPG passphrase. Obviously in your case you'd define dyn4j.deployment instead!
As for actually deploying to Central, you need the following in ~/.m2/settings.xml:
<?xml version="1.0" encoding="UTF-8"?>
<settings
  xmlns="http://maven.apache.org/SETTINGS/1.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">

...
  <servers>
    <server>
      <id>sonatype-nexus-staging</id>
      <username>your sonatype user name here</username>
      <password>your sonatype password here</password>
    </server>
  </servers>

</settings>

You'd insert the username/password that you normally use for the Sonatype web interface there. When you type mvn deploy, the nexus-staging-plugin sees that you're deploying to the default server (sonatype-nexus-staging in this case, as declared in the main pom.xml) and looks up the corresponding credentials defined in your settings.xml. The packages will be pushed to a staging repository on Central, and then you can use the command line to close and release the staging repository the same way that you would via the web interface. To see the list of current staging repositories after the initial mvn --projects .,core deploy:
$ mvn nexus-staging:rc-list

On your first deploy, there'll be a repository in the list that will be named something like org-dyn4j-1000. You'd then do:
$ mvn nexus-staging:rc-close -DstagingRepositoryId=org-dyn4j-1000

Assuming that your artifacts pass the various quality checks they perform (you'll get an error if they don't), you can then do:
$ mvn nexus-staging:rc-release -DstagingRepositoryId=org-dyn4j-1000

I'm fairly certain that all of the required elements are there in the POM, so there shouldn't be any failures.

Great this helps a lot.  I think I'm getting what you are saying now.
So basically, to make dyn4j truely maven-ized, but yet have the core library declare no dependencies you had to split the other sources (tests, sandbox, and examples) into their own modules (and core as well).  This then allows the dyn4j project to add dependencies, but the core will remain dependency-less.
One thing I'm not clear on is what exactly is deployed to maven central.  Is it just the core module?  If it's all the modules, my next question would be is this a common practice?  If that is the case, then I wonder if a better design might be to split the tests, sandbox, and examples into their own maven projects & repos, and have them depend on this one.
What are you thoughts about splitting the projects into different maven projects (which wouldn't be deployed)?
William

So basically, to make dyn4j truely maven-ized, but yet have the core library declare no dependencies you had to split the other sources (tests, sandbox, and examples) into their own modules (and core as well). This then allows the dyn4j project to add dependencies, but the core will remain dependency-less.

Yep, that's right.

One thing I'm not clear on is what exactly is deployed to maven central. Is it just the core module? If it's all the modules, my next question would be is this a common practice? If that is the case, then I wonder if a better design might be to split the tests, sandbox, and examples into their own maven projects & repos, and have them depend on this one.

I think it is common practice to deploy everything, yes. But like I said, you control exactly what gets deployed by specifying an explicit set of modules with --projects when you type mvn deploy. If you don't specify the modules explicitly, everything is deployed. Personally, I'd deploy the whole lot. I switched to using Maven Central a couple of years back as the canonical hosting for all of my libraries (including all of their tests and example code) and associated applications, and haven't looked back.
Another thing I see people do fairly frequently (and I've taken to doing this as well) is to deploy additional runnable "one-jar" files for any applications that a library includes. My most recent example of this is smf: You can see on Maven Central that the com.io7m.smfj.cmdline module includes an extra main.jar (produced with Maven Shade). This main.jar contains all of the dependencies embedded in the jar file so that users can run it with java -jar main.jar without needing to set up a classpath or download any dependencies manually. This might be something to consider for the sandbox. I'd be happy to contribute extra definitions that sets this up (assuming that we can get JOGL to cooperate!).

What are you thoughts about splitting the projects into different maven projects (which wouldn't be deployed)?

I don't see a great deal of benefit to doing this. I could maybe see the sandbox being split into its own separate project given that it's more of an "application", but I'd consider the tests and example code to be pretty heavily coupled to the core and therefore there's a benefit to keeping them all as modules of the same project: They all get built and tested together.
I think if you were to separate all of the modules into their own projects, you'd still want to keep the dyn4j-parent parent POM in order to avoid duplicating version numbers and plugin definitions across all of the new projects.

I switched to using Maven Central a couple of years back as the canonical hosting for all of my libraries (including all of their tests and example code) and associated applications, and haven't looked back.

I probably should have mentioned that there's a little-known feature of Maven Central in that deployed artifacts are accessible as simple static file downloads and can therefore be linked to directly from "download" pages on sites and so on:
https://repo1.maven.org/maven2/org/dyn4j/dyn4j/3.1.11/

I'll close this PR so that I can reset my own fork to your master branch.


启动报错

03-30 03:34:42 [ERROR] nonebot | Failed to import "nonebot-plugin-setu"
Traceback (most recent call last):
  File "/usr/local/bin/nb", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/nb_cli/commands/main.py", line 30, in run
    run_bot(file, app)
  File "/usr/local/lib/python3.8/dist-packages/nb_cli/handlers/deploy.py", line 19, in run_bot
    module = importlib.import_module(module_name)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "./bot.py", line 28, in <module>
    nonebot.load_from_toml("pyproject.toml")
  File "/usr/local/lib/python3.8/dist-packages/nonebot/plugin/load.py", line 119, in load_from_toml
    return load_all_plugins(plugins, plugin_dirs)
  File "/usr/local/lib/python3.8/dist-packages/nonebot/plugin/load.py", line 53, in load_all_plugins
    return manager.load_all_plugins()
  File "/usr/local/lib/python3.8/dist-packages/nonebot/plugin/manager.py", line 128, in load_all_plugins
    return set(
  File "/usr/local/lib/python3.8/dist-packages/nonebot/plugin/manager.py", line 129, in <genexpr>
    filter(None, (self.load_plugin(name) for name in self.list_plugins()))
> File "/usr/local/lib/python3.8/dist-packages/nonebot/plugin/manager.py", line 106, in load_plugin
    module = importlib.import_module(
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 970, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'bot.plugins'; 'bot' is not a package

我试了下, 没问题啊

问题解决，是nonebot文件夹名称问题


Update a single row?

Hello there,
Is there a way to update a single row, ie, modify the row object and have the table catch up this new data. I have tried changing the original row object value and rowValues property but neither seem to work.
Is the only option to completely re-render the table, for example, replacing the data list?

Yes
On Wed, May 10, 2017 at 4:44 PM Cristiano Coelho<EMAIL_ADDRESS>wrote:

Hello there,
Is there a way to update a single row, ie, modify the row object and have
the table catch up this new data. I have tried changing the original row
object value and rowValues property but neither seem to work.
Is the only option to completely re-render the table, for example,
replacing the data list?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tannerlinsley/react-table/issues/261, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AFUmCQYxLXmsxJCdnc8xEdt7qx492h46ks5r4j26gaJpZM4NXT75
.


Fixed Neo4j io bugs and PGFrame bugs

Neo4j I/O fixes:

'NaN' props are skipped
Node types can be used as Neo4j node labels

PGFrame fixes:

Property values that are added to existing properties are aggregated into sets (and not replaced)

Codecov Report

Merging #61 (c62c4aa) into master (240ba3b) will decrease coverage by 0.56%.
The diff coverage is 39.13%.

@@            Coverage Diff             @@
##           master      #61      +/-   ##
==========================================
- Coverage   80.93%   80.36%   -0.57%
==========================================
  Files          41       41
  Lines        3378     3413      +35
==========================================
+ Hits         2734     2743       +9
- Misses        644      670      +26

Impacted Files
Coverage Δ

bluegraph/core/io.py
63.41% <0.00%> (-0.69%)
:arrow_down:

bluegraph/backends/neo4j/io.py
89.34% <50.00%> (-5.73%)
:arrow_down:

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 240ba3b...c62c4aa. Read the comment docs.


Moved saving of buffer to temp file

As title says, saves buffer to temp file (os independent thanks to the os package) and uses that file as the iframe src. Addresses issues #58 and #64.
Also adds a <base> tag to the beginning of the temp file, to allow relative links to work. For example, a <link> for a stylesheet still works with the relative path.
Example (note the buffer doesn't save at all):

Tested on OS X 10.10 and Windows 10. If anyone could test on Linux, that would be greatly appreciated.


Created Function Library

Created a folder with a library of scripts and toggles, as well as the basics of multiple keyboard layers. Feel free to contribute more toggles and scripts, and add to the README.md files, most of which are currently empty. Should have all the toggles and scripts from the current keyboard layout.

Awesome!

I'll try to edit the readme files for some tutorials


Tabbing completion doesn't always work on java 15

Tabbing completion doesn't always work on java 15

any errors, or any form of information beyond "doesn't work"?
The version of java is likely 100% irrelevant here, and more likely down to plugins, etc

@electronicboy sometimes you just can't tab any nickname. It started to happen after updating java to 15.

There is no information here for me to go off, completion of nick names is done by the client, not the server, common issues here are oddball plugins messing with the tab list, etc

@electronicboy even if I use TabCompleteEvent on bungee and add players to it? Thanks for closing

TabCompleteEvent is not fired for nickname completions, only for commands, which are handled on the server

@electronicboy yes! I call this event in commands to get players, you get it?

Well, provide basic info, you're giving me nothing to go off here, it's not the expectation that we're going to flood peoples email accounts trying to get basic info.
Can the client see the command? Do they have perms? Where is the plugin for this running? Can they see any commands? etc, etc

@electronicboy what email?
Yes. Yes. On the server in plugins. Yes? 1.8/1.16 client, server Travertine.


Remove this integration from analytics.js

Need to sit down with @calvinfo to hammer out how to go about the swap, but we should remove this integration from analytics.js and instead send them data only via the server-side integration :) This is just redundant code under maintenance in the meanwhile :)
One caveat: we'll need to implement page on the server

added to jira for internal triage https://segment.atlassian.net/browse/INT-162


fix(client): Properly pass array querystring

The goal of this PR is to fix the way we pass an array querystring:

fix this OpenAPI definition, since it was invalid
fix this code and check param.schema.type instead of param.type
consider the case when a querystring is defined as a union of string | string[] (since for most of the query parser, passing 1 element is considered as a string, while multiple ones as string[]

LGTM


.AsNoTracking() breaks .Include(...) for 1-M related (simple) entities

When setting AsNoTracking() on a query, .Include(...) does not work if the child object being included is a collection of 'simple' entities.  In other words, the entity does not have a relationship to any other entity, just a bag of properties.  The query for a customer that includes the relationship to the 'simple' entities always results in 0 'simple' entities, unless you remove .AsNoTracking().
So if you have "Customer" object which has "Addresses" (multiple "Address" objects), and "Address" is what I'm calling a 'simple' object, ie: just bag of values like "AddressLine1", "City", etc. without a relationship to another object.  And a "Customer" has "Sales", which are not 'simple'.  So they have a relationship to "Store" and "Product", etc.
Steps to reproduce
Calling...
var customer1 = context.AsNoTracking().Include(c => c.Addresses).SingleOrDefault(c => c.CustomerId = 1);
results in a customer object that does not have any Addresses.
But calling...
var customer1 = context.Include(c => c.Addresses).SingleOrDefault(c => c.CustomerId = 1);
results in a customer object that does have Addresses.
Calling...
var customer1 = context.AsNoTracking().Include(c => c.Sales).SingleOrDefault(c => c.CustomerId = 1);
works as expected. (note the related 1-M entity is a 'complex' object (Sales) instead of a 'simple' object (Addresses).
Further technical details
EF Core version: 2.2.6
Database provider: Microsoft.EntityFrameworkCore.InMemory (I have not tested it with SqlServer)
Target framework: 2.2.301
Operating system: Windows 10 Pro
IDE: Visual Studio 2019 16.1.6

@baloodevil - Try EF Core 3.0 if you haven't. The query pipeline has gone through significant changes in 3.0 and this issue may have already been fixed. If the issue still persist in 3.0 please share a small repro code demonstrating the issue. In your queries you are using context variable, generally which refers to DbContext but certainly query operators cannot be applied to it.

EF Team Triage: Closing this issue as the requested additional details have not been provided and we have been unable to reproduce it.
BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions.


No docs or how to

Please we need usage examples, installation etc

https://github.com/clue/php-redis-server#quickstart-example
I hope this helps? :+1:


Is it possible to download other branches?

Hi. I struggled to make my own competitor with kiwix and custom zim file so I'm there.
Looks like the app downloads some prepared archives and uses them in offline mode, so...
Is it possible to add the same kind of thing for e.g. Russian branch? I see you already have the scraper so this should be possible. If you need some Wikidot-specific access you can contact admins of Russian branch, they would surely help.

Also can I somehow tweak the crawler so it would also save discussion pages? May be useful because authors tend to explain their articles there.


StopError: Status code 3 received from RPC

Hello,
i took an example from your fork, but i still have an error:
(node:3962) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): StopError: Status code 3 received from RPC
(node:3962) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

And nothing happened.
I checked the status code from the previous wiki (3: Invalid input, The data sent was invalid), but i don't know what is wrong.
My code:
'use strict';

const pogobuf = require('pogobuf-vnext');
const POGOProtos = require('node-pogo-protos-vnext');

async function Main() {
    const username = 'm-username';
    const password = "my-password";
    const hashingKey = 'my-key';

    var lat = 47.906834;
    var lng = 1.906113;
    let client = new pogobuf.Client({
        authType: 'ptc',
        username: username,
        password: password,
        version: 6701,
        useHashingServer: true,
        hashingKey: hashingKey
    });
    client.setPosition(lat, lng);
    await client.init();

    const cellIDs = pogobuf.Utils.getCellIDs(lat, lng, 5, 17);
    //the error happen below  <======================
    let mapObjects = await client.getMapObjects(cellIDs, Array(cellIDs.length).fill(0));

    for (let cell of mapObjects.map_cells) {
        console.log('Cell ' + cell.s2_cell_id.toString());
        console.log('Has ' + cell.catchable_pokemons.length + ' catchable Pokemon');

        for(let catchablePokemon of cell.catchable_pokemons) {
            console.log(' - A ' + pogobuf.Utils.getEnumKeyByValue(
                POGOProtos.Enums.PokemonId,
                catchablePokemon.pokemon_id
            ) + ' is asking you to catch it.');
        }
    }

     client.cleanUp();
}

Main();

I also downgrade the version of the api, because i have this error with the 6702:
(node:4315) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Unsupported version for hashserver: 6702/0.67.2

Current API is 0.69.1.

i've got the same issue if i set
version: 6901

Then I guess your account is probably banned. Did you check with a new one?

it was because i haven't done the first tutorial, so i didn't myself on a real app.
I guess next time, i will be able to do it with:
markTutorialComplete(tutorialsCompleted, sendMarketingEmails, sendPushNotifications) ⇒ Promise  ?

yes.
you can find a full example here: https://github.com/pogosandbox/pogonode/blob/master/src/helpers/api.ts#L150


Return null instead of empty object when document doesn't exist

const { value, loading, error } = useDocumentData(...);

// if the document doesn't exist, value will be {}
// this means we have to check some arbitrary property to ensure existence

if (value.someRandomProperty) {
 ...
}

// by returning null, we are being more explicit that the document doesn't exist

if (value) {
 ...
}

Good catch, this was an oversight on my part - I'll get a bug release out next week.

This has been release as part of https://github.com/CSFrequency/react-firebase-hooks/releases/tag/v1.2.1


SQLite support

[x] Add required dependencies
[ ] Add USE_SQLITE env var
[x] Check which env vars have to be used in install script
[x] Check how to expose the data in the volume
[ ] Upgrade init script
[ ] Do some testing
[ ] Update doc (should probably do a table for each install to avoid a big mess)
[x] Study the usefulness of a 2-pipelines way to avoid useless dependencies? -> no needs

[x] Check deps installed by the build script
[x] Check deps installed by the dockerfile
[x] Remove all useless deps
[x] Check size difference between images
[x] Evaluate the need of a 2-pipelines way

Environment variables:
SERVER_IP
FILESERVER_PORT
Volume:
Create a sqlite folder in /shared and move /opt/seafile/seahub.db in it. Don't forget to bind the two with a symlink.


A rok API URL must be provided when compiling and running titanic jupyter lab

I have installed a fresh minikf and followed the steps outlined here. When I compile and run the pipeline, the loaddata step fails with the message:
ValueError: A Rok API URL must be provided either via the url' argument or the ROK_GW_URL' environment variable.
Any idea what this is about? See below screenshot. Thanks.

Hello @jackhawa !
Are you by any chance trying to run the guide inside a Vagrant box instead of the MiniKF available on Google Cloud?
I'm afraid you will not be able to complete this guide using the current MiniKF on Vagrant (v20190918.1.0), since it does not include the latest version of Rok and does not setup the required environment inside the pipeline pods to allow autosnapshotting.
If that was the case, can you please try the MiniKF available on Google Cloud instead?

Hi @klolos,
I am using MiniKF locally on my windows machine and yes it is inside a Vagrant box.
Is there any workaround or will I have to wait for the next Rok release?
If it is the latter, when will it be?
My company only works with Azure. Will this guide work with MiniKf on Azure Cloud?
Thanks.

On a side note, I also have built custom TFX components. Will kale be able to package up my custom code in a docker container and run it on the pipeline or does kale only work with imported libraries? Thanks.

The pipeline will at least complete under this setup if you disable 'Take Rok snapshots before each step' in the Kale Deployment Panel

although this obviously negates some of the advantages of having Rok

@klolos , I met the same problem when I integrate Kale in Kubeflow which is deployed on a kubernetes cluster on GCP.
I deployed MiniKF&Kale in my workstation with Virtualbox before. Everything works well to run the example.
Because when I switch to the kubernetes cluster on GCP, I met problems.
1, when I set up the notebook server, I add a data volume.  when I open the Kale deployment panel, I can't select "Use this notebook's volumes". So I select "create empty volume" in this panel When I run the pipeline, the error message is "ValueError: A Rok API URL must be provided either via the url' argument or the ROK_GW_URL' environment variable."
2, Then I disable the "Take Rok snapshots before each step" option, a new error comes out "Traceback (most recent call last):
File "", line 59, in
File "", line 16, in loaddata
ModuleNotFoundError: No module named 'seaborn'".     But I already pip intall seaborn before I submit the pipeline and the python code itself can run successfully.
Is any instruction about the storage volume setting in the case of storage class other than rok already existing?

https://github.com/kubeflow-kale/kale/issues/21#issuecomment-582336784 the option is greyed out for me and when the pipeline is run it throws the error for missing Rok url? Which image were you using?

same issue here, when i use minikf in gcp with default gcr.io/arrikto/jupyter-kale-py38 images.
someone has a fix?


Update test.css

This PR fixes #

That change to the test file is unnecessary and even breaks the integration tests


synthetic not available

Hi!
As described here, https://discuss.kotlinlang.org/t/synthetic-not-available-in-new-kmm-example-project/18997 the synthetic view binding is not available

https://discuss.kotlinlang.org/t/synthetic-not-available-in-new-kmm-example-project/18997/5

Synthetic type of extension have not been adopted to KMM so they might be not robust enough while used with KMM. We recommend to use View Binding extensions instead, they are fully supported by KMM


Add error messages to the team application form

It’s a little (very) hacky, but it adds nice user error messages.
@Pinpickle — can you check that it works, and that there are no obvious downsides (behavioural, not maintenance-related 😳 ) to this method?

I can't see anything too out of line.
Given what you've had to achieve, this looks like it's handled really well. Merging in, we'll see what happens...


[BEAM-2125] update JavaDoc of BoundedWindow

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @kennknowles

Retest this please

Coverage increased (+0.04%) to 69.852% when pulling cd1e159e4b34c2b3f219dec35388c7f56dccbd41 on XuMingmin:BEAM-2125 into 14d60b26e7e9b8a578038599341e66ccd99d012b on apache:master.

Coverage remained the same at 69.856% when pulling 4d31eb76ba9bc9650dd3d0b8e7b1dc80935b5bdb on XuMingmin:BEAM-2125 into 43443c94f5933698ec49648abd9e939eda0a7460 on apache:master.

Coverage increased (+0.007%) to 69.881% when pulling de0fdbc1ee7f233e9ae363c7162171135d3b7403 on XuMingmin:BEAM-2125 into 2047d8fc4a642b3c0ede6afe1c8ff76cb57573dd on apache:master.


Develop - Working 1.3 Update

1.3 Update:
Updated methods to be compatible with 1.3
Updated settings:
Removed DefOfRemover causing games to crash and replaced with a working harmony patch.
Updated mod settings class.
added raid settings and animal spawn settings.
Raid Settings:
Bahlrin raids can be disabled
Bahlrin raid chance for spawning can be adjusted.

@Scurvyez - feel free to pull the develop branch and test to see if it works for you. Once completed - merge the pull request.
I have made sure all the updates in main are reflected in this branch, so should merge without issue.


error with npm install

when i use npm install timbre
it appear following error message
CC(target) Release/obj.target/output/deps/mpg123/src/output/alsa.o
../deps/mpg123/src/output/alsa.c:19:28: fatal error: alsa/asoundlib.h: No such file or directory
 #include <alsa/asoundlib.h>
                            ^
compilation terminated.

(i have tried to install other lib, and it run successfully.)
is there anything i miss?

timbre.js uses ALSA (node-speaker) for Node.js support.
Please see the document of node-speaker:

https://github.com/TooTallNate/node-speaker

if you're on ubuntu then you can try apt-get install libasound2-dev

thank you guys, i install them successfully!


Inserting arguments for flake8

I would suggest the option of inserting arguments that flake8 available as -- show-source and -- ignore

ignore is nice to have. it just filter out some output right, without it. Different team has different requirements.

I guess it will be useful to allow flags by simply forwarding them. Will have to look into the implementation another time though.

Patches are always welcome, of course.

--ignore patch is in pull request

Great, that closes this issue.


Bump Python version to 3.9

https://phabricator.endlessm.com/T34273

@starnight I rebased this with master, now that the pyinstaller PR is merged.


problem of make PythonAPI

CARLA version: 0.9.15
Platform/OS: windows 11
Problem you have experienced: --build-dir "D:\carla\Build" --toolset msvc-14.2 --version 1.80.0 -j 20
The system cannot find the specified batch label - arg-parse
Full log： (CARLA) D:\carla>make PythonAPI
-[BuildUE4Plugins]: [Batch params]: --build --all
error: RPC failed; curl 28 Recv failure: Connection was reset
fatal: expected flush after ref listing
HEAD is now at 260273d Correct descriptor
-[BuildUE4Plugins]: STREETMAP has been successfully installed in "D:\carla\Unreal\CarlaUE4\Plugins"
-[Setup]: [Batch params]: --boost-toolset msvc-14.2 --generator "" --all
-[Setup]: Asynchronous jobs:  20
-[Setup]: Boost toolset:      msvc-14.2
-[Setup]: Generator:          "Visual Studio 16 2019"
-[Setup]: Install directory:  "D:\carla\Build"
-[Setup]: Installing zlib...
-[install_zlib]: [Batch params]: --build-dir "D:\carla\Build"
-[install_zlib]: A zlib installation already exists.
-[install_zlib]: Delete "D:\carla\Build\zlib-install" if you want to force a rebuild.
-[install_zlib]: Exiting...
-[Setup]: Installing libpng...
-[install_libpng]: [Batch params]: --build-dir "D:\carla\Build" --zlib-install-dir "D:\carla\Build\zlib-install"
-[install_libpng]: A libpng installation already exists.
-[install_libpng]: Delete "D:\carla\Build\libpng-1.2.37-install" if you want to force a rebuild.
-[install_libpng]: Exiting...
-[Setup]: Installing rpclib...
-[install_rpclib]: [Batch params]: --build-dir "D:\carla\Build" --generator "Visual Studio 16 2019"
-[install_rpclib]: A rpclib installation already exists.
-[install_rpclib]: Delete "D:\carla\Build\rpclib-install" if you want to force a rebuild.
-[install_rpclib]: Exiting...
-[Setup]: Installing Google Test...
-[install_gtest]: [Batch params]: --build-dir "D:\carla\Build" --generator "Visual Studio 16 2019"
-[install_gtest]: A Google Test installation already exists.
-[install_gtest]: Delete "D:\carla\Build\gtest-install" if you want to force a rebuild.
-[install_gtest]: Exiting...
-[Setup]: Installing "Recast & Detour"...
-[install_recast]: [Batch params]: --build-dir "D:\carla\Build" --generator "Visual Studio 16 2019"
-[install_recast]: A "Recast & Detour" installation already exists.
-[install_recast]: Delete "D:\carla\Build\recast-install" if you want to force a rebuild.
-[install_recast]: Exiting...
-[Setup]: Installing Boost...
-[install_boost]: [Batch params]: --build-dir "D:\carla\Build" --toolset msvc-14.2 --version 1.80.0 -j 20
The system cannot find the specified batch label - arg-parse
-[Setup]:
Ok, and error ocurred, don't panic
We have different platforms where you can find some help :)

Make sure you have read the documentation:
http://carla.readthedocs.io/en/latest/how_to_build_on_windows/

If the problem persists, you can ask on our Github's "Building on Windows" issue:
https://github.com/carla-simulator/carla/issues/21

Or just use our Discord channel
We'll be glad to help you there :)
https://discord.gg/42KJdRj
make: *** [setup] Error 1

same problem，How to solve it

me too

I encountered this problem. It occurs when Util/InstallersWin/install_boost.bat is checked out with Unix line endings instead of Windows line endings. Check your Git settings, or manually convert that file to have Windows line endings (CRLF).

thx, I'll try it.

great, it solved my issue


RuntimeError happend on Node.js

When i use this lib on Node.js V16, an error happend as below.
my code:
import { writeBarcodeToImageFile, setZXingModuleOverrides, readBarcodesFromImageFile } from 'zxing-wasm'
import { writeFile } from 'node:fs/promises'
import path from 'node:path'
/**
 * @type {import('node:process').process}
 */
import process from 'node:process'

// console.log(writeBarcodeToImageFile)

setZXingModuleOverrides({
  logReadFiles: true,
  locateFile: (a, prefix) => {
    if (a.endsWith('.wasm')) {
      const p1 = 'https://registry.npmmirror.com/zxing-wasm/1.2.1/files/dist/full/zxing_full.wasm'
      return p1
    }
    return prefix + a
  }
})

/**
 * save blob to local file
 * @param {Blob} blob
 * @param {String} path
 */
function saveBlob2File(blob, path) {
  return new Promise((resolve, reject) => {
    const reader = new FileReader()
    reader.onloadend = () => {
      const buffer = Buffer.from(reader.result)
      writeFile(path, buffer).then(resolve, reject)
    }
    reader.onerror = reject
    reader.readAsArrayBuffer(blob)
  })
}

for (let i = 0; i < 1; i++) {
  const content = Date.now() + '' + i
  writeBarcodeToImageFile(content, {
    format: ['QRCode', 'Code128']
  }).then(res => {
    if (res.error) {
      console.log(res.error)
    } else {
      saveBlob2File(res.image, path.resolve(process.cwd(), './outputs/' + content))
    }
  }).catch(console.log)
}

got the error:
PS E:\projects\demo\zxing-wasm-demo\node> npm start

><EMAIL_ADDRESS>start
> node index.js

failed to asynchronously prepare wasm: both async and sync fetching of the wasm failed
Aborted(both async and sync fetching of the wasm failed)
RuntimeError: Aborted(both async and sync fetching of the wasm failed). Build with -sASSERTIONS for more info.
    at de (file:///E:/projects/demo/zxing-wasm-demo/node_modules/zxing-wasm/dist/es/full/index.js:70:15)
    at file:///E:/projects/demo/zxing-wasm-demo/node_modules/zxing-wasm/dist/es/full/index.js:93:59

node version: v16.13.1

This package utilizes some of the APIs that are only present in the latest versions of Node: fetch, ReadableStream, Blob, .etc. As Node 16 is no longer maintained officially, I will not put extra efforts to keep its compatibility with 16, so this works is handed over to the package consumers to polyfill the APIs manually, or update the Node runtime to the latest version.
FWIW, I don't think you can use the FileReader in a Node program either. And there's a mistake in your writeBarcodeToImageFile function, in which the format option should accept a string, not an array.

This package utilizes some of the APIs that are only present in the latest versions of Node: fetch, ReadableStream, Blob, .etc. As Node 16 is no longer maintained officially, I will not put extra efforts to keep its compatibility with 16, so this work is handed over to the package consumers to polyfill the APIs manually, or update the Node runtime to the latest version.
FWIW, I don't think you can use the FileReader in a Node program either. And there's a mistake in your writeBarcodeToImageFile function, in which the format option should accept a string, not an array.

Thanks u, I found it works finely on Node v18.19.0 today. btw, thanks for note that mine mistake on FileReader.


[Removal]: Lucky Cream Lobster

Hotspot Name
Lucky Cream Lobster
Hotspot b58 Address
112iPwu9MhkYytKMQ3scHrdu1DyjdRdVhR2vGwH2rruj845W6Fxg
Discord Handle
No response
Hotspot Manufacturer
heltec
Removal Reason
This device is just purchased by me and its position has been changed. Please remove this hot spot from the blacklist
Modifications
Yes
Extra forwarders
No
Extra antennas
No
Additional Information

The  equipment has been installed in the new location!

You showed us a picture of hotspot. It does not justify your cause.

We have taken into account this removal request in the next iteration of the denylist. It may take some time before it's processed. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.


[Python] TypeError: Object of type int64 is not JSON serializable when converting pandas to arrow table

Describe the bug, including details regarding any error messages, version, and platform.
I am getting an error when converting from Pandas to arrow, I added a reproducible example here
https://colab.research.google.com/drive/1uPOv8qyj5xW4XfrnkLtZtYIaaQfhupjG#scrollTo=7USg9dd-1ivc
Component(s)
Python

Hi, thank you for opening an issue @djouallah!
I have been able to reproduce on my dev environment. For next time, it will be much easier to help if you present a simple reproducible example. The google colab you have linked has lots (lots!) of code not connected to the issue and I was very reluctant at first to download files and manipulate them but did so after taking time and checking the source and all the code.
Also, the possibility to actually get an answer on your issue will be higher with a simple example ;)
Here is a on I created that shows the issue:
>>> import pyarrow as pa

>>> data = {'UNIT': ["DUNIT", "DUNIT", "DUNIT", "DUNIT"],
...         'version'   : [1, 1, 3, 3]}
>>> df = pd.DataFrame(data)
>>> df.index = df['version']
>>> df.columns.name = np.int64(142564)     ------> The issue is here, numpy int64 column index name
>>> df
142564    UNIT  version
version
1        DUNIT        1
1        DUNIT        1
3        DUNIT        3
3        DUNIT        3

>>> pa.Table.from_pandas(df)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "pyarrow/table.pxi", line 4559, in pyarrow.lib.Table.from_pandas
    arrays, schema, n_rows = dataframe_to_arrays(
  File "/Users/alenkafrim/repos/arrow/python/pyarrow/pandas_compat.py", line 635, in dataframe_to_arrays
    pandas_metadata = construct_metadata(
                      ^^^^^^^^^^^^^^^^^^^
  File "/Users/alenkafrim/repos/arrow/python/pyarrow/pandas_compat.py", line 257, in construct_metadata
    b'pandas': json.dumps({
               ^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 231, in dumps
    return _default_encoder.encode(obj)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 200, in encode
    chunks = self.iterencode(o, _one_shot=True)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 258, in iterencode
    return _iterencode(o, 0)
           ^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 180, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type int64 is not JSON serializable

The code worked if I remove the column name
>>> df.columns.name = None
>>> pa.Table.from_pandas(df)
pyarrow.Table
UNIT: string
version: int64
__index_level_0__: int64
----
UNIT: [["DUNIT","DUNIT","DUNIT","DUNIT"]]
version: [[1,1,3,3]]
__index_level_0__: [[1,1,3,3]]

It would have also worked if python int type would have been used instead of numpy.int64.

The conclusion is that the issue can be fixed by renaming the column index name or removing it completely.
I do not think checking for numpy types in the column index names and converting them to a python type is something that would fit here. As I do not think this is a bug I will change the label type to usage.
cc @jorisvandenbossche

Closing. Feel free to reopen in case there is any further questions!


This comes in handy if you are running multiple instances of Coolify, e.g. for development, staging or production environments..

Thank you for the PR! It looks good! :)


Readme for creating legacy SVGs

Created a readme that clarifies the workflow for creating legacy SVGs in adobe illustrator. Also explains the existence of template frames with standard sizes.

@Dbarnes1 - Only/biggest comment is that this seems to only cover the "Full Frame" case but not the other more common cases (The one that use BoundingOctagon_H BoundingOctagon_V BoundingOctagon ) - this should be addressed before merge

@csmoore added commits that divide the instructions between full frame SVG creation and non full frame. @abouffard added a line questioning how DISA worked to get Sans-Serif fonts to work for these SVG's in illustrator. Ready to verify and merge.

Updates look good to me - but I'm not sure I'm permitted to do merges in this repo - I'll wait a day to hear back from @abouffard & merge then if I don't hear back.
This does remind me that the other repos, example - are moving toward having clearly defined primary and secondary/backup repo owners so there are 2 people available to do this. We are enforcing this on new repos, but this repo was released before this change - so I would like to identify the secondard repo owner for this repo and update the readme if this policy applies.

Never heard back from @abouffard, so going to go ahead and merge - I also added an issue to address/discuss the secondary repo owner issue that came up during this PR discussion: https://github.com/Esri/joint-military-symbology-xml/issues/259