[SPARK-15767][R][ML][WIP] Decision Tree Regression wrapper in SparkR

What changes were proposed in this pull request?
Implement a wrapper in SparkR to support decision tree regression. R's naive Decision Tree Regression implementation is from package rpart with signature rpart(formula, dataframe, method="anova"). I propose we could implement API like spark.rpart(dataframe, formula, ...) . After having implemented decision tree classification, we could refactor this two into an API more like rpart().
How was this patch tested?
Test with unit test in SparkR

Test build #60600 has started for PR 13690 at commit 7ea9544.

Test build #60600 has finished for PR 13690 at commit 7ea9544.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
  class DecisionTreeRegressorWrapperWriter(instance: DecisionTreeRegressorWrapper)
 class DecisionTreeRegressorWrapperReader extends MLReader[DecisionTreeRegressorWrapper]

Merged build finished. Test PASSed.

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

Test build #61050 has started for PR 13690 at commit 378607f.

Test build #61050 has finished for PR 13690 at commit 378607f.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
  class DecisionTreeRegressorWrapperWriter(instance: DecisionTreeRegressorWrapper)
 class DecisionTreeRegressorWrapperReader extends MLReader[DecisionTreeRegressorWrapper]

Merged build finished. Test PASSed.

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

Hi @vectorijk would you be interested in continuing this work?

Yes, sure. But I'm in a vacation this week. I will keep working on this and
update as soon as possible when I get back next week.
On Thu, Aug 11, 2016, 19:46 Felix Cheung<EMAIL_ADDRESS>wrote:

Hi @vectorijk https://github.com/vectorijk would you be interested in
continuing this work?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/spark/pull/13690#issuecomment-239326553, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADQu6Z5doEmjTpTXYESSYVlyiIM0c2sJks5qe7RFgaJpZM4I2xmp
.

Great! based on earlier discussions we might want to call this spark.decisionTreeRegression or similar? As you say, if we are very compatible we could have (another) alias like rpart (ie. with spark., like glm)

ping @vectorijk Have you started working on the random forest wrapper. If not and feel busy doing that, I can also work on that :)

Also, if you need any help with this PR, just let me know and we may work together to make it.

@junyangq I have started working on random forest wrapper. I will open PR as soon as possible. Also, I'll update this PR very soon. Thanks.

Sounds great. Thank you @vectorijk

Test build #64776 has started for PR 13690 at commit f8b3484.

Test build #64777 has started for PR 13690 at commit 2835a7a.

Test build #64777 has finished for PR 13690 at commit 2835a7a.

This patch fails some tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

Test build #64776 has finished for PR 13690 at commit f8b3484.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
  class DecisionTreeRegressorWrapperWriter(instance: DecisionTreeRegressorWrapper)
 class DecisionTreeRegressorWrapperReader extends MLReader[DecisionTreeRegressorWrapper]

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

Merged build finished. Test FAILed.

@vectorijk Is this ready for another round of review ?

@vectorijk hi - would you have time to update this?

hi @vectorijk - would you have time to update this? If not, I will try to follow up basing on your work.

@felixcheung I'll update the changes in this two days.

Thanks! Aside from having to rebase, there are some left over of "spark.rpart", a few some changes  and also would be great to add tests for this.

Test build #66438 has started for PR 13690 at commit b18b718.

Test build #66438 has finished for PR 13690 at commit b18b718.

This patch fails some tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #66442 has started for PR 13690 at commit 9787219.

Test build #66442 has finished for PR 13690 at commit 9787219.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

Test build #66448 has started for PR 13690 at commit d034735.

Test build #66448 has finished for PR 13690 at commit d034735.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

@felixcheung @shivaram @junyangq It's ready for the review.

could you fix the test failure?
Duplicated \argument entries in documentation object 'spark.decisionTree':
  'newData' '...' 'object' '...' 'x'

Test build #66567 has started for PR 13690 at commit 0694f84.

Test build #66567 has finished for PR 13690 at commit 0694f84.

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

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

Merged build finished. Test PASSed.

@felixcheung @vectorijk Should we close this PR ?

@shivaram I will update this today.

gentle ping @vectorijk


Any way to timeout the parser when it takes too long ?

Hi, is there any way to timeout the parsing process if it takes too long ?

hello @leryss,  there is no builtin timeout management in csly. you ll have to manage it on your own. see https://stackoverflow.com/questions/13513650/how-to-set-timeout-for-a-line-of-c-sharp-code for example.
But it' s strange that you'd need it. Maybe something is wrong with your parser. Share it and i will be glad to look at it if you want.
Olivier

hello @leryss,  there is no builtin timeout management in csly. you ll have to manage it on your own. see https://stackoverflow.com/questions/13513650/how-to-set-timeout-for-a-line-of-c-sharp-code for example.
But it' s strange that you'd need it. Maybe something is wrong with your parser. Share it and i will be glad to look at it if you want.
Olivier

@leryss , are you ok with my answer. I wait a bit before closing the issue


use multi-stream for TensorRT Engine Op

Is your feature request related to a problem? Please describe.
Hi all
TLDR We want to use multi-stream for TensorRT Engine Op.
Currently, the TensorRT Engine Op uses TensorFlow's default CUDA Stream.
https://github.com/alibaba/BladeDISC/blob/4d35390cc29cec95489c73a029e1ffc58b92ceae/tensorflow_blade/src/custom_ops/trt_engine_op/trt_engine_op.cc#L299-L311
During stability testing, it was discovered that the GPU driver would freeze almost 100% after running for a period of time. The problem was pinpointed using pstack and found to be related to the stream. The call stack appears as follows:
stream_executor::gpu::GpuDriver::SynchronizeContext(stream_executor::gpu::GpuContext*)()
...
tensorflow::GPUUtil::SyncAll(tensorflow::Device*)()

Describe the solution you'd like

Calling enqueueV2() in from the same IExecutionContext object with different CUDA streams concurrently results in undefined behavior. To perform inference concurrently in multiple streams, use one execution context per stream.

We want to use the multi-stream approach to avoid this issue, initializing instance_count IExecutionContext, each with a stream. When enqueuing in each context, synchronization can be used.
Do you have any suggestions? Thanks.
Describe alternatives you've considered
N/A
Additional context
N/A

Here's why a part of the code trt_engine_op, tf_blade in this project is used:
Currently, models for CTR scenarios such as search and recommendation are usually trained using TensorFlow or PyTorch, both domestically and internationally. We may want to use TensorRT to accelerate. If a CTR model trained with TensorFlow 2 can directly use TF2TRT in TensorFlow 2. If it's a PyTorch-trained CTR model, Torch TensorRT can be used directly. In China large companies, TensorFlow 1.15 is still widely used for CTR scenarios. Moreover, it typically involves a considerable amount of custom Ops. If we want to accelerate using TensorRT, we also need something similar to TF2TRT in TensorFlow 1.15. However, the implementation in TensorFlow 1.15 is too old and does not have very good support for various Ops.
We found that BladeDISC has relatively comprehensive support for this. We first use tf_blade to perform subgraph slicing, then use tensorflow-onnx and onnx-tensorrt for conversion, and finally use the runtime of trt_engine_op for online inference. We made some adaptations and changes based on this. Thanks all.

Currently, after making these modifications, the stability pressure test online did not reproduce the previous issue. I am synchronizing this information here. This issue has been closed for now. If there is a need for further discussion in the future, it can be reopened. Thanks to this outstanding project. cc @ispobock


lookup: use a more optimized variant

Björn's website has an adjusted version at the bottom recommended by Rich Felker which removes a shift from the loop by pre-multiplying the state values by 16. It is the recommended version to use and is a more meaningful comparison.
Additionally, I separated the tables to optimize better for ARM, as ARM's addressing modes cannot encode x = y[z + 256], only x = y[z] or x = y[256].

Thank you @easyaspi314 !


Offset limit

Coverage remained the same at 100.0% when pulling 6f60abd2a54f994fec6e36c9f55ba7b000f35e71 on offset-limit into cc052cc595aeef0d2b350058099d632b9025b993 on master.


KCL: Polygon function

Add a polygon function to the stdlib. It should take these parameters:

An object with fields {sideLength: f64, numSides: u64, center: [f64; 2]}
A sketchgroup

Define this in std/shapes.rs

Was working on implementing this and am getting an unexpected engine error.  I am creating the polygon by computing the vertex points and extending a path to each of the lines.  My implementation of the polygon sketch works with no shown errors:

There seems to be a BadRequest API error stating "The given edge has no opposite edge" when I try to extrude on this polygon sketch, see below.  The polygon still successfully shows the extrusion as expected, but this error comes up and this same error is also causing cargo nextest tests to fail.  I wasn't able to find any documentation or discussion in github about this error except for #3830, which vaguely alluded to the problem being in the engine in that instance.
.  My first guess is that this error is saying that the sketch is not closed, but it appears that it is.

@guptaarnav, have you tried adding |> close(%) on line 7 before the extrude if it's what you said about not being closed? This just came up in #4271.

An object with fields {sideLength: f64, numSides: u64, center: [f64; 2]}

What's the reason for using side length instead of radius? I guess I'm imagining wanting to keep a constant radius and change the number of sides. On the other hand, a side length parameter would need to be recomputed to keep the same overall size. But maybe that's not how people would actually use it?

@guptaarnav, have you tried adding |> close(%) on line 7 before the extrude if it's what you said about not being closed? This just came up in #4271. But I'd expect the polygon function to close it for you.

@jtran I already close it in the polygon function following what circle does to close the sketch.
But I tried anyways to throw an explicit close(%) before the extrude in the kcl code and close complained ("No such object exists of type Scene::Model::Brep::Path").  Is that confirmation that the polygon sketch is closed already?

An object with fields {sideLength: f64, numSides: u64, center: [f64; 2]}

What's the reason for using side length instead of radius? I guess I'm imagining wanting to keep a constant radius and change the number of sides. On the other hand, a side length parameter would need to be recomputed to keep the same overall size. But maybe that's not how people would actually use it?

I've usually seen two polygon buttons in CAD software, circumscribed polygon and inscribed polygon.  Both use radius and numSides rather than sideLength and numSides.  I agree that radius makes more sense. (also it might be weird for a user if they're messing with polygon numSides and the shape grows in correlation with the number of sides).
I think we should go with two polygon std lib functions in that case: circumscribedPolygon and inscribedPolygon ({radius: f64, numSides: u64, center: [f64; 2]})?
@adamchalmers, would you use a sideLength parameterized variant of polygon as you noted in the original Issue description?

I already close it in the polygon function following what circle does to close the sketch.
But I tried anyways to throw an explicit close(%) before the extrude in the kcl code and close complained ("No such object exists of type Scene::Model::Brep::Path"). Is that confirmation that the polygon sketch is closed already?

I think so, but not sure.

I think we should go with two polygon std lib functions in that case: circumscribedPolygon and inscribedPolygon ({radius: f64, numSides: u64, center: [f64; 2]})?

What about ...
polygon({radius: f64, numSides: u64, center: [f64; 2], inscribed: bool })

?

"No such object exists of type Scene::Model::Brep::Path" is the unfortunate error that gets returned when the object is already closed yeah.

figured out why I was getting the "The given edge has no opposite edge" error from the API, it was because I was not setting unique id's on the lines.  Not running into error anymore!

Closed by Polygon stdlib function #4300


Chapter04 Session08 - Open Source Vulnerability Management with Faraday with Federico Kirschbaum

Project link: https://github.com/infobyte/faraday
https://www.linkedin.com/feed/update/urn%3Ali%3Aactivity%3A6817142334447214592/

In this age of Super-computer and AI why can't we test the code through the super-computers or some great AI, can't we have a code without vulnerability if that's make sense?

How one can get started in cyber security? and any good resources ...?

@kanak22 theres a lot of labs... like tryhackme, hackthebox, overthewire, root-me... Or academies like Portswigger's or even Ekoparty's academy...

@Dannners  thanksss ;)

Tips or any Advice for beginners @fedirico would be nice to have one from you.

Not a question . Just a small feedback
Great session! Didn't have an idea about most of the stuff you talked about today, , got so much to learn :)

Not a question . Just a small feedback
Great session! Didn't have an idea about most of the stuff you talked about today, , got so much to learn :)

+1

If we have so much security issue in open source or internet then why we shifted on online Platforms (before Pandemic)?
So do we should frequently change passwords of our accounts?
What is Cryptography?

Question: Is it possible to run scheduled automatic scans or are you guys thinking about adding it up?

Are there any recommendations in the report on how to fix vulnerabilities after checking with faraday?

How to contribute to project?

What are red, blue, purple team's?
Resources to get started with develops  for beginners.
What is regression testing?
Some different type of various real world scenarios, use cases of DevSecOps
How the agents works?

It is possible to check the same web server again and compare the reports automatically so that we should know which problems have been resolved and which have not?

Are there any prerequisites for starting out in Cyberspace ?

What information do we need to oversee cyber risks? How to minimize them?

How to measure the effectiveness of cybersecurity strategy?

How to handdle and store the information from third parties for its further protection?

Sir, How we get to know when you take training/workshop on building security automation, pipelines,etc.?


Unexpected auto-commit when doing UPDATE... RETURNING *

I'm doing an "UPDATE... RETURNING *" call to Postgres, which doesn't really fit the normal usage pattern of MyBatis.  The SQL performs an update, but it also return data.  MyBatis doesn't really support that, as far as I can tell, but things work if I define the call as a  operation in my mapper XML (see below).
By defining the SQL in a , the update occurs and I get my data back out as desired.  The thing that is peculiar is that the UPDATE is auto-commited by the current session/transaction.  I have even tried to explicitly call SqlSessionFactory.openSession(false) to disable auto-commit, but the behaviour persists.
I notice that if I make an additional call to the invokes a standard  in the mapper XML, then MyBatis seems to correctly implement the expected behaviour.  Specifically, if I do the UPDATE as part of the open session/transaction, then all my activity (especially the earlier "UPDATE... RETURNING") is not auto-committed, and I can commit or rollback as desired.
As mentioned, this usage pattern doesn't really fit with MyBatis' expectations, and I know that performing an UPDATE in a declared  mapper is likely the source of the problem.  Is there a  more correct way to do this?
##MyBatis version
3.4.2
##Database vendor and version
PostgreSQL 10.1 on x86_64-apple-darwin15.6.0, compiled by Apple LLVM version 8.0.0 (clang-8<IP_ADDRESS>), 64-bit
Test case or example project
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">

    <mapper namespace="com.test.GiftcardInventoryMapper">

        <!-- Map database results to Java classes -->
        <resultMap id="GiftcardInventoryResult" type="com.test.dao.GiftcardInventoryDAO">
            <id property="id" column="id"/>
            <result property="status" column="status"/>
            <result property="created" column="created"/>
            <result property="updated" column="modified"/>
            <result property="pan" column="pan"/>
            <result property="cvd" column="cvd"/>
            <result property="account_id" column="account_id"/>
        </resultMap>

        <!-- We are doing an "UPDATE...(SELECT FOR UPDATE SKIP LOCKED) RETURNING *" which is not really a select, but we need to declare it as a select so MyBatis will return the results -->
        <select id="getNextAvailableGiftcard" resultMap="GiftcardInventoryResult">
            UPDATE giftcard_inventory
            SET status = 'RESERVED'
            WHERE id=(SELECT id FROM giftcard_inventory WHERE status='AVAILABLE' ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1)
            RETURNING *
        </select>
    </mapper>

Steps to reproduce
Expected result
Actual result

Argh-- Markdown editing now working.  Will create a new issue and resubmit...


changeDate event does not offer previous date.

how can I retrieve the previous date ? Normally these kinds of events offer the old value as an event attribute.
Any idea ?

Yup!.. I'm stuck with this issue too.. Can anyone offer some help?


Fix typo

Fix typos in configure-service-account.md, security-context.md.

This change is

@islinwbm, Please resolve the merge conflicts.
/lgtm

@steveperry-53 The merge conflict has been resolved. Thank you.

@islinwb Looks like there is a new merge conflict in docs/tasks/configure-pod-container/security-context.md.


Update README.md

Hi,
This small PR adds a button to get your app on F-Droid. You can later add a button for Google Play the same way :
[<img src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png"       alt="Get it on Google Play"       height="80">]()

Hello,
thanks for the PR, I'm not planning to add any play store or f-droid store download to this project README.md because this is a prototype project. it is better to download from the github release page as it contains debug version as well.

Ok, no problem


Support password_sha256_hex in external dictionaries

I'm using <password_sha256_hex> to store my user passwords in users.xml. The problem with dictionaries is that I am storing a MySQL password in plaintext in my dictionary file. I'd like to at least be able to store that encrypted, the same as user passwords.
cc @alex-zaitsev

sha256 is a hash function, there is no way to restore original password from hash.
But to connect to mysql server one need to have original password.
So there is no way to fulfill your request.
In case of encryption you CH needs to have a password to decrypt and it has no sense to put an encrypted mysql password and plain text password to decrypt the encrypted mysql password.
Just set rw-rw--- rights on your dictionary.xml

@den-crane that makes sense. My main concern is that I am checking my clickhouse xml files into git, where I'd prefer to not have passwords. What about allowing for environment variables to be referenced inside config files? That would solve a number of issues with macros and other replacements.

You can store connection credentials for dictionaries in substitutions file
/etc/metrika.xml' and include them like <password
incl="section_name_from_substitutions_file' />`.
Or even extract the whole <source> section into substitutions file.

This should be solved when #1616 makes it into a public release.


Can DirectX 12 and DirectX 11 be supported? :)

With a lot of time and energy, yes. (Or at least DX12 can be – I don't plan on ever supporting the legacy APIs). However, I don't intend to support them in the near or medium term; the Vulkan implementation still needs a lot of work, and even that I only work on occasionally in my spare time.
Of course, if someone else wanted to work on adding DX12 support I'd be more than happy to help with that.

Thanks, maybe I have some time！


MPS: Cannot add LoRA to Unet

System Info
peft v0.9.0
accelerate v0.26.1
apple m3 max
Who can help?
@sayakpaul
Information

[X] The official example scripts
[ ] My own modified scripts

Tasks

[X] An officially supported task in the examples folder
[ ] My own task or dataset (give details below)

Reproduction
@torch.no_grad()
def loftq_init(weight: Union[torch.Tensor, torch.nn.Parameter], num_bits: int, reduced_rank: int, num_iter=1):
    if num_bits not in [2, 4, 8]:
        raise ValueError("Only support 2, 4, 8 bits quantization")
    if num_iter <= 0:
        raise ValueError("Number of iterations must be greater than 0")

    out_feature, in_feature = weight.size()
    device = weight.device
    dtype = weight.dtype

    logging.info(
        f"Weight: ({out_feature}, {in_feature}) | Rank: {reduced_rank} "
        f"| Num Iter: {num_iter} | Num Bits: {num_bits}"
    )
    if not is_bnb_4bit_available() or num_bits in [2, 8]:
        quantizer = NFQuantizer(num_bits=num_bits, device=device, method="normal", block_size=64)
        compute_device = device
    else:
        compute_device = "cuda"

Expected behavior
The above code defaults to "cuda", but it should consider whether mps is available first, instead.

actually i'm not sure even if it works with MPS, once that's set up due to https://github.com/TimDettmers/bitsandbytes/issues/252
maybe just blocking the usage on mps systems is needed until the plumbing is there for it

Hmm https://github.com/TimDettmers/bitsandbytes/issues/252 is probably the reason why we default to cuda here. @younesbelkada can share more.

I don't have a MB to test this but it looks indeed like it wouldn't work. Note that you can download some LoftQ-initialized models from the hub if you don't want to run this process yourself, but of course using them still requires bnb to work.
In general, I think it's a good reminder for us to be more careful about hard-coding the device in our code, as the number of viable hardware accelerators continues to climb.

for simpletuner my workaround is to use gaussian init instead of loftq on mps boxes. obviously it would be nice to have feature parity across the board, but we just ain't there yet

Hi @bghira
Thanks for the issue! Indeed bnb is not compatible with MPS devices yet, LoftQ requires bnb so this won't work.
You can subscribe to: https://github.com/TimDettmers/bitsandbytes/issues/997 for more details about the ongoing progress with respect to bnb + apple sillicon integration


Error: Cannot read property 'object' of undefined

I was just editing two files in Atom (html and rb).
Atom v1.10.2 macOS
Error: Cannot read property 'object' of undefined
TypeError: Cannot read property 'object' of undefined
at ObjectsRegistry.get (/Applications/Atom.app/Contents/Resources/electron.asar/browser/objects-registry.js:44:28)
at EventEmitter. (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:309:31)
at emitMany (events.js:121:13)
at EventEmitter.emit (events.js:195:7)
at EventEmitter. (/Applications/Atom.app/Contents/Resources/electron.asar/browser/api/web-contents.js:141:25)
at emitTwo (events.js:100:13)
at EventEmitter.emit (events.js:185:7)
at metaToValue (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:178:13)
at undefined.remoteMemberFunction (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:112:18)
at AtomEnvironment.module.exports.AtomEnvironment.getWindowDimensions (/Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:636:29)
at AtomEnvironment.module.exports.AtomEnvironment.storeWindowDimensions (/Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:670:36)
at WindowEventHandler.module.exports.WindowEventHandler.handleWindowBlur (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:182:35)
at /Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61

Duplicate of https://github.com/atom/atom/issues/11692.


.qgs updates for bcfishpass_mobile and restoration_mobile

place to put changes that are common to both

[ ] add whse_fish.wdic_waterbody_route_line_svw so we can qa the fish data submission watershed codes


Best pose estimation model

Hi @choyingw,
I am trying to use your pose estimation model - the one reproduces the results in the paper (https://drive.google.com/file/d/13LagnHnPvBjWoQwkR3p7egYC6_MVtmG0/view?usp=sharing) - but get fixed pose predicted angles for images with different poses.
When I am using with the regular model you published (https://drive.google.com/file/d/1BVHbiLTfX6iTeJcNbh-jgHjWDoemfrzG/view?usp=sharing) this phenomenon doesn't happen and I get more logical results (but not SOTA for pose estimation).
I was wondering if this happens to you as well and is there a problem in the model you published?

@choyingw
I also took a look into the state_dict of the "best_pose.pth.tar" and found keys with "IGM" prefix (instead of "I2P") - when we cleaned this inconsistency and compared the rest of state dict with the current published PyTorch model class we found keys that are not appeared in what you published. For example the following keys:
'.classifier_pitch.1.bias', '.classifier_pitch.1.weight', '.classifier_roll.1.bias', '.classifier_roll.1.weight', '.classifier_scale.1.bias', '.classifier_scale.1.weight', '.classifier_texture.1.bias', '.classifier_texture.1.weight', '.classifier_trans.1.bias', '.classifier_trans.1.weight', '.classifier_yaw.1.bias', '.classifier_yaw.1.weight',
We believe that the model state dict you published for pose estimation doesn't match the pytorch model class.
Can you please clarify what to do?

Oops. I uploaded the wrong model. I've updated the readme and the link. Please check.

@choyingw Thanks for your quick response. I still get different results from what you reported on aflw2000 ( Yaw: 5.537 Pitch: 8.978 Roll: 6.132 || MAE: 6.882).
My implementation is similar to  https://github.com/vitoralbiero/img2pose/blob/main/evaluation/jupyter_notebooks/aflw_2000_3d_evaluation.ipynb
load image and pose (from mat file) -> face detection -> bbox+margin (as you did) -> crop -> extract pose
I tried to follow your evaluation code, but found several files that you didn't share. For example, './aflw2000_data/AFLW2000-3D_crop', './aflw2000_data/AFLW2000-3D_crop.list', './aflw2000_data/eval/ALFW2000-3D_pose_3ANG_excl.npy', './aflw2000_data/eval/ALFW2000-3D_pose_3ANG_skip.npy'.
If you can share how you created 'aflw2000_data' folder and even the folder itself using google drive- it will be great.

aflw2000-3D is shared in the link (ReadME, Single Image Inference Demo - Step4, Download the data)
python benchmark.py -w , you'll get the reported number.

@choyingw Even using the latest "best_pose.pth.tar" I am still getting constant poses for any input image, equal to
[ 0.35037747 -4.45007563 -0.32709743]

@bigdelys Hi, I didn't find this issue on my end. As I print out pose using AFLW2000-3D, the head pose angles are different.


allowTypeImport

Hey @maplesteve, you could contribute that back to my repo, seems like a useful addition 🙂


Draw the side titles inside the chart.

I am trying to achieve the design in this image, but fail to.

The best is get is this

Is if possible in fl_chart to:

have the leftTitles render on top of the lines, instead of to the left of the line?
have empty circles as index indicators? I now use getTouchedSpotIndicator FlDotCirclePainter to set the white border, but if I set the FlDotCirclePainter(color: Colors.transparent, the bar line will show to the middle of the dot circle like here

have the top/bottom line of the graph rendered as dots? it seems I can only render it as line or invisible via

borderData: FlBorderData(
        border: Border(
          bottom: BorderSide(
            color: Colors.yellow,
            width: 4.4,
            style: BorderStyle.none,
          ),

Related ticket: https://github.com/imaNNeoFighT/fl_chart/issues/1150
Thank you for your wonderful product which I already use in 2 projects. Wish you all the best!

Hi.
As you can pass a widget as a title, you leverage the power of flutter. Widgets.
You can wrap your Text widget (or any other widget) with Transform.translate  widget to move your text with an offset.
Check the below sample (full code is here):

Thank you very much. I am assuming pints #2 and #3 are not doable thane, right?

What do you mean?

There are 3 points to the ticket. I think you only answered the first one. Can you maybe reread the ticket text?

Aha I missed them.
2. You need to write your own Painter. (just read the FlDotCirclePainter to learn more about it)
3. Unfortunately you can't render as dots. You can only render them as dashed lines.

Thank you very much!
Keep up the awesome work!

Thank you!


Theme barbuk: Add ssh detection and user@host information in ssh session

Using an ssh session, this theme will now detect and display the user and fqdn to provide clear information about the remote host.
The theme keep the same format but prefix the prompt with user@hostname.
Documentation has been updated:

configuration usage to enable / disable ssh info
configuration usage to use short or long hostname
how to configure sudoer to keep the theme when using sudo -s.

A script like https://github.com/BarbUk/dotfiles#ssh-connect can be used to synchronise user dotfiles on remote host.

As suggested in https://github.com/Bash-it/bash-it/pull/1538#issuecomment-607090374, i have updated the specific theme variable with a new prefix.

Thanks - great additions!


Don't return 0 if some of the openstack services has failed.

No reply for 2 years, closing as a cleanup before the new release.


Add plotclick event to the charts

I have set clickable to true and tried binding plotclick to element in the flot directive but still plotclick is not triggered(I am using pie charts)

Make sure that clickable is set in both the grid and series options.

@mikkysati did you manage to solve the problem with @jbeharrell's tip?

Assuming the problem was solved. I'm closing this issue to keep the bug tracker clean but feel free to reopen if necessary.


Structured fields support for logging

In order to facilitate debugging and troubleshooting, it is desirable to include contextual information in errors and log messages in a structured manner. In particular, it is desirable to preserve semantic information about the values of request parameters or other variables in a way that makes it easy to later extract the original semantic meaning without having to perform log parsing and inference. At a high level, imagine if log messages where structured records (JSON documents) instead of simply arbitrary strings.
As a first step, it is desirable to have a simple mechanism and API that allows capturing the semantic boundaries of different fields and data types pushed through logging, or attached to errors for that matter.
One potential approach to address this issue is to include both in logs and errors, a collection (think list) of (key, value) tuples or fields. It would be desirable to be able to attach these fields to context.Context and extract those at logging time.

Basic functionality in #276 and #279. Extensions will be added based on the use cases.


Change color of Dates.

Hello sandeep,
i had change all from this library.. but i have not find a solution to change color of that dates who's have events.. can it's possible to change color of those dates text.
Thanks

Does anyone have idea abour this.

Hi @gurpreetsingh2591  try using this app:compactCalendarEventIndicatorStyle="fill_large_indicator"
Worked for me.


How to get the value from the select drop down

I am trying to get the value from the select drop down through onChange action  but the function not calling in react.
Here is my sample code  for select drop down

Code
Option 1
Option 2
Option 3

{this.state.registerFormError.countryCode}

Here is my react code
handleInputChange (event) {
alert("testing")
// event.persist();
this.setState((state) => { state.registerForm[event.target.name] = event.target.value });
}
componentWillMount(){
console.log("executed")
$(document).ready(function () {
$('.dropdown-button').dropdown({
constrainWidth: false,
hover: true,
belowOrigin: true,
alignment: 'left'
});
$('select').material_select();
$('.dropdown-button').dropdown({
constrainWidth: false,
hover: true,
belowOrigin: true,
alignment: 'left'
});
$('.button-collapse').sideNav();
});
}

React doesn't work well when used with other libraries. jQuery and Materialize are no exception.
Now, you have two options if you don't want to struggle more and more for every component you'll do :

If you absolutely want to use Materialize, I suggest you use a library that permits to integrate Materialize in React such as React Materialize. Cons: It probably won't be up-to-date.
You can use another library made for material-design, and that was especially made for React. I personnaly know material-ui which is quite complete, but be sure to verify it fulfills what you want to do with it. Cons: You'll have to learn to use it.

I know this probably isn't the answer you expected, but I still hope it will help you !
And for next posts, after pasting your code, select it and click the Insert code icon so it is more readable for everyone !

one example:
$(this.refs.your_select).material_select(this._handleChange.bind(this))


how to get price by crypto currency abbreviation ?

how to get price by crypto currency abbreviation ?

Check Issue https://github.com/man-c/pycoingecko/issues/13#issuecomment-650286400.
Best


Normalize Run Process | ... | timeout=0

Make timeout named argument accept the same values as keyword [Timeout] does.
None (case-insensitively), falsy, zero or negative values are treated
the same way as [Timeout] (i.e. ignored aka infinity)
This is in addition to ${None} being already ignored.
See also robotframework/robotframework#3365
Resolves robotframework/robotframework#3366
Signed-off-by: Stavros Ntentos<EMAIL_ADDRESS>

Thanks for the PR @stdedos!


More languages

How can I add more languages to this? I'm interested for Greek in particular.
Thank you for your great git.

How do you mean? Most of the statistics should work for greek as they work for any other language. Like Char-Counter etc.
The syllables-counter and all statistics that require syllables should be able to handle greek as well, as soon as there's a greek hyphenation dictionary for https://github.com/heiglandreas/Org_Heigl_Hyphenator available…
Do you know of a TeX-hyphenation dictionary for greek?

I've just found a greek hyphenation dictionary and added that to the Hyphenator. So after a composer update the text-statistics should also work for el_GR-locale ;)

Thank you very very... very much!

Did it work? ;-)


[SPARK-23875][SQL] Add IndexedSeq wrapper for ArrayData

What changes were proposed in this pull request?
We don't have a good way to sequentially access UnsafeArrayData with a common interface such as Seq. An example is MapObject where we need to access several sequence collection types together. But UnsafeArrayData doesn't implement ArrayData.array. Calling toArray will copy the entire array. We can provide an IndexedSeq wrapper for ArrayData, so we can avoid copying the entire array.
How was this patch tested?
TBD.

Test build #89057 has started for PR 20984 at commit 4f9752f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2096/
Test PASSed.

Test build #89059 has started for PR 20984 at commit 962d048.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2098/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2105/
Test PASSed.

Test build #89057 has finished for PR 20984 at commit 4f9752f.

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

Merged build finished. Test PASSed.

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

Test build #89068 has finished for PR 20984 at commit 962d048.

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

Merged build finished. Test PASSed.

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

cc @hvanhovell

LGTM

Thanks @kiszk

Test build #89103 has started for PR 20984 at commit ac8d5b4.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2135/
Test PASSed.

Test build #89105 has started for PR 20984 at commit a77128f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2136/
Test PASSed.

Test build #89105 has finished for PR 20984 at commit a77128f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #89103 has finished for PR 20984 at commit ac8d5b4.

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

retest this please.

Test build #89122 has started for PR 20984 at commit a77128f.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2152/
Test PASSed.

Merged build finished. Test PASSed.

Test build #89122 has finished for PR 20984 at commit a77128f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

retest this please

Test build #89139 has started for PR 20984 at commit a77128f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2166/
Test PASSed.

Test build #89139 has finished for PR 20984 at commit a77128f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

retest this please

Test build #89151 has started for PR 20984 at commit a77128f.

Test build #89152 has started for PR 20984 at commit a77128f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2177/
Test PASSed.

retest this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2180/
Test PASSed.

Test build #89158 has finished for PR 20984 at commit a77128f.

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

Merged build finished. Test PASSed.

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

ping @hvanhovell

Test build #89425 has started for PR 20984 at commit 77640c4.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2367/
Test PASSed.

Test build #89429 has started for PR 20984 at commit 8b5de0f.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2371/
Test PASSed.

Merged build finished. Test PASSed.

Test build #89425 has finished for PR 20984 at commit 77640c4.

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

Merged build finished. Test PASSed.

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

Test build #89429 has finished for PR 20984 at commit 8b5de0f.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Test build #89428 has finished for PR 20984 at commit 6e8a697.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Merged build finished. Test FAILed.

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

retest this please.

Test build #89434 has started for PR 20984 at commit 8b5de0f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2375/
Test PASSed.

Test build #89434 has finished for PR 20984 at commit 8b5de0f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

retest this please.

Thanks! @hvanhovell. I will create a small follow-up based on the comment at https://github.com/apache/spark/pull/20984#discussion_r180364984.


[NEW]: 5 Steps to List your Tokens as Collateral in Lending/Borrowing/Stablecoin Protocols

the name of your event
name = "5 Steps to List your Tokens as Collateral in Lending/Borrowing/Stablecoin Protocols"
shortest possible name (without year)
shortname = "5 steps to list your token as collateral"
type of the event
available types (you can choose more):
* meetup
* conference
* hackathon
* expo
* party
* other
types = ["workshop"]
status of the event
available types:
* idea
* planning
* published
status = "published"
the name of the group organizing the event
org = "Atomica.org"
the github handle of the directly responsible individual for this event
(this person will coordinate with #bbw24 organizers)
dri = "atomica-dev"
A point of contact (responsible person)
poc =<EMAIL_ADDRESS>the start date of the event
date = "2024-05-21"
how many days the event lasts (1 - N)
days = 1
the event times (shows up in the event card)
times = "15:00-18:00"
Link to venues from the Places table - use this OR enter venueName, venueUrl and venueAddress
venues = ["gabriel-loci"]
the event venue name
venueName = "Museum des Kapitalismus"
link to the venue on open-street maps
venueUrl = "https://maps.app.goo.gl/TpwPBsEKy7nVh6y19"
the event venue address
venueAddress = "Köpenicker Str. 172, 10997 Berlin, Germany"
the languages in which the event will take place (you can choose more)
languages = ["english"]
the max number of attendees of the event
attendees = 50
blockchains that the event deals with
if it is an interchain event, then leave blank
#chains = [""]
tags for the event, will show up as labels.
pick 1-4
tags = ["Web3", "risk", "insurance"]
A logo attachment
logo = "https://s3.us-east-2.amazonaws.com/dev.reports.srm/EthBerlin/5+steps+to+list+your+token+as+collatural.svg"
a description of the event.
description = """
You will learn 5 ways to get collateral status in borrowing and lending protocols for almost any token, so that your users can borrow against it, without selling it.
"""
[cfp]
link to call for particioation
link = "https://lu.ma/p59zu0km"
[registration]
type of registration
Possible values:
* tickets
* invites
* signup
type = "signup"
price of the ticket
price = "0 EUR"
link to the registration or ticket purchase page
link = "https://lu.ma/p59zu0km"
custom action button label
button = "Sign Up"
status of registrations
Possible values:
* available
* sold-out
* closed
status = "available"
[links]
the website of the event
make sure to have all the relevant information: dates, venue, program, ticketing (if any), etc.
web = "https://lu.ma/p59zu0km"
twitter account
twitter = "https://twitter.com/atomica_org"
public matrix channel
matrix = ""
public telegram group
telegram = "https://t.me/+wjXYe2ZgB844ODJh"
docs
docs = "https://linktr.ee/atomica.org"
discord
discord = ""

Your event is live :) Please double check https://blockchainweek.berlin/24


[UI] Change the file name of Filters to MesheryFilters

Current Behavior
We are having two files with the same name Filters and filters in the UI which may cause confusion.
Desired Behavior
Change the file name of Filters to MesheryFilters so they can be distinguished easily.
Implementation
Change the file name of Filters to MesheryFilters

Contributor Guide

Hi Gaurav, I would like to work on this issue. Could you assign me, please? Thanks!

@ahcodes Have you joined our slack? If not let's get started http://slack.layer5.io/

@ahcodes Are working on this issue?

@Chadha93 Hey man, yeah. Had some personal stuff, apologies for the delay.

Hey, please assign me this issue if it's available(or in future) else if @Chadha93 is working on it, then let it be. :)

Hey, please assign me this issue if it's available(or in future) else if @Chadha93 is working on it, then let it be. :)

Hey @ShivamSingh22, @ahcodes is working on this issue you can look at other issues as well.

Hello, I am a first-time contributor here and looking for a first-timers-only issue. I would be really glad if I could be helped in finding one.
Thanks!

Current Behavior
We are having two files with the same name Filters and filters in the UI which may cause confusion.
Desired Behavior
Change the file name of Filters to MesheryFilters so they can be distinguished easily.
Implementation
Task - To change the file name of Filters.js to MesheryFilters.js

Inside the Filter.js,filter.js, navigator.js (the filter under the configuration)
In the above files update the import MesheryFilters from "../../components/Filters"; accordingly.

Contributor Guide

Hello there @Chadha93 , If this issue is not resolved yet then I would like to work on this issue.


Add vendor folder to github

There are pros and cons to adding the vendor folder. Currently, it is not persistent in Github and there is an option to add it.

For now, we will table this as this is not a must for upstream projects ... later we might revise.


Add smaller ruler to bottom of ruler tool

Need to think about the UX - not always visible, maybe a button to make it appear.

This won't be added - I don't see this having practical use when measuring distances on a map given such a small area to work with.


Broken link to "curl"

In the "Get to-do items" section of this page, the link to "curl" is broken. There's a different link to "curl" earlier on this page that works.

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

ID: 583ae3e7-5915-f22b-e54c-6c100cf2a7da
Version Independent ID: 95f2549e-29f9-e31a-b4d0-432b971643ff
Content: Create a Web API with ASP.NET Core and Visual Studio for Windows
Content Source: aspnetcore/tutorials/first-web-api.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Thanks for reporting @jwatkin ... I'll patch it up.


[PDI-15523] - Select Values Step Throws Errors when multiple fields with same field name occur

there are two commits:

fix a couple minor dependency inconsistencies
real fix and unit tests

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/unit-test -f core/build.xml clean-all resolve jacoco && ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/integration-test -f core/build.xml jacoco-integration checkstyle publish-local
ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/unit-test -f engine/build.xml clean-all resolve jacoco && ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/integration-test -f engine/build.xml jacoco-integration checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  core/ivy.xml
  core/src/org/pentaho/di/core/row/RowMeta.java
  core/test-src/org/pentaho/di/core/row/RowMetaTest.java
  engine/ivy.xml
  engine/test-src/org/pentaho/di/trans/steps/fieldsplitter/FieldSplitterTest.java

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.core.row.RowMeta

Branch Change:  + 1.88%
Complexity Change:  + 1.04%
Instruction Change:  + .58%
Line Change:  + .63%

org.pentaho.di.job.entries.evalfilesmetrics.JobEntryEvalFilesMetrics

Branch Change: -.39%:small_red_triangle_down:
Complexity Change: -.51%:small_red_triangle_down:
Instruction Change: -.08%:small_red_triangle_down:

org.pentaho.di.job.entries.sql.JobEntrySQL

Instruction Change:  + 3.28%
Line Change:  + 3.87%

org.pentaho.di.repository.kdr.KettleDatabaseRepositoryCreationHelper

Branch Change: -1.64%:small_red_triangle_down:
Complexity Change: -.69%:small_red_triangle_down:
Instruction Change: -2.40%:small_red_triangle_down:
Line Change: -3.51%:small_red_triangle_down:

org.pentaho.di.trans.step.StepMeta

Instruction Change:  + .19%
Line Change:  + .27%

org.pentaho.di.trans.steps.combinationlookup.CombinationLookupMeta

Instruction Change: -.04%:small_red_triangle_down:

org.pentaho.di.trans.steps.datagrid.DataGridMeta

Instruction Change:  + .09%

org.pentaho.di.trans.steps.dimensionlookup.DimensionLookupMeta

Branch Change:  + .66%
Complexity Change:  + .41%
Instruction Change:  + .50%
Line Change:  + .24%

org.pentaho.di.trans.steps.groupby.GroupByMeta

Branch Change: -2.08%:small_red_triangle_down:
Complexity Change: -2.11%:small_red_triangle_down:
Instruction Change: -.14%:small_red_triangle_down:
Line Change: -.37%:small_red_triangle_down:

org.pentaho.di.trans.steps.ifnull.IfNullMeta

Branch Change:  + 2.00%
Complexity Change:  + 1.89%
Instruction Change:  + .17%

org.pentaho.di.trans.steps.insertupdate.InsertUpdateMeta

Instruction Change: -.05%:small_red_triangle_down:

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change: -1.18%:small_red_triangle_down:
Complexity Change: -1.35%:small_red_triangle_down:

org.pentaho.di.trans.steps.processfiles.ProcessFilesMeta

Branch Change:  + 3.57%
Complexity Change:  + 2.13%
Instruction Change:  + .33%

org.pentaho.di.trans.steps.rowgenerator.RowGeneratorMeta

Instruction Change:  + .08%

org.pentaho.di.trans.steps.singlethreader.SingleThreaderMeta

Instruction Change: -.08%:small_red_triangle_down:

org.pentaho.di.trans.steps.sort.SortRowsMeta

Instruction Change: -.08%:small_red_triangle_down:

org.pentaho.di.trans.steps.uniquerows.UniqueRowsMeta

Instruction Change:  + .18%

Integration test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.trans.step.BaseStep

Complexity Change: -.18%:small_red_triangle_down:
Instruction Change: -.20%:small_red_triangle_down:
Line Change: -.38%:small_red_triangle_down:
Method Change: -.49%:small_red_triangle_down:

@bmorrise @mdamour1976 @mbatchelor @mattcasters @matthewtckr could some of you review/merge?
not sure why coverage for some classes has decreased - I did not touch them.
everything I have implement was covered with unit tests.


Fix z-index/overlap in iframe HTML examples

When an example HTML page includes content in the top-right, it can cause issues with the "open in fullscreen" icon button:

It would be good to find a way to add enough padding around this icon button so that it doesn't get lost.

Wow, that's quite a corner case 🥇


Clean the logic flow for goto, hover and similar actions

It works fine as well but it could be cleaner.

Done.


Add autumn-sonata profile photo

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@77a32bf). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #2   +/-   ##
=========================================
  Coverage          ?   72.15%
  Complexity        ?      399
=========================================
  Files             ?       70
  Lines             ?     1232
  Branches          ?      125
=========================================
  Hits              ?      889
  Misses            ?      311
  Partials          ?       32

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


Issue: no module named queue

I am installing jupyterlab-dash on my subsystem Ubuntu in Windows 10. While running jupyterlab and import the module, I have the following error message:

It seems that Jupyter Lab loads python 2.7 which lacks the queue.py module. Is there anyway to solve this issue? Thanks!

I tried solve the issue by running:
sudo pip install future
python3 -m pip install ipykernel
python3 -m ipykernel install --user
python3 -m pip install dash
After these, by changing Jupyter Lab's kernel to Python 3, I had no problems importing the package. But when I run the testing codes, the viewer.show(app) doesn't generate any output.

Hi @kangnade,
That's correct that the extension doesn't support Python 2 right now.  Could you try installing into a fresh Python 3 environment following the instructions at https://github.com/plotly/jupyterlab-dash#installation?  Thanks!


Ability to better specify what the previous commit is

Hey this is awesome! Thank you so much for the project AND the very clear "add these 10 lines to your Gradle script to try this out", because I did want to quickly test it out and not play fight the Gradle to do it.
I have one kind of small issue: the previous commit stuff is kind of awkward for my use case.
What I want to do is run this in CI jobs testing branches. I want to know what changes have been made since that branch diverged from the main branch. Thus CI can focus on those modules only, and Do Things(TM).
In ChangedFilesProvider you get the user's specified previous commit, then always add "~" to it.
This does show what changed in only the current commit, but I want to see what's happened in the entire branch.
To do this by hand in git diff I could do git diff main HEAD --name-only (which works!) OR get fancy and use the dotted range notations from git-ref - also where I got docs about ~.
But:

ChangedProjectsTaskPlugin initCommitIds forces a ~ when I give it a previous commit, getting the previous commit to that. If I specify main then I get a diff INCLUDING the last commit on main AND my branch.

or if I did want to do dotted ranges, initFilteredChanges prevents me (it is "%s %s")

Would you be willing to either add such a use case, or accept a PR that provides it, if I did it?

Thanks for the feedback.
Glad you liked the "how to test it part"
Would a switch to decide how the previous and current behavior work be fine.
Like a -PcommitCompareMode=("branch"|"commit"|"branchTwoDotted") with "commit" being the default.
This way I would not add the ~ to the previous, but leave it be and either add the dots or not.

Would a switch to decide how the previous and current behavior work be fine.

Yes, that would be excellent! We squash merge so running this on main the way it works now is awesome... except it's not quite there for pull request workflows

Alright, I will probably start working on it this weekend

I have published version 1.2 with the changes we discussed, please check the read me for more information 😄

OK this looks awesome! I can't wait to try to hook this up on Monday!!!!!!!

This is awesome, thank you very much!!!!!


[Event Request] CodeUnit 5760 "Whse.-Post Receipt"

Hello,
Could you please add the following events into PostSourceDocument procedure in CU5760?
 DATABASE::"Transfer Line":
                begin
                  //START NEW CODE
                  OnPostSourceDocumentOnBeforePostTransferHeader(TransferHeader, WhseRcptHeader, SuppressCommit,
                  CounterSourceDocOK, IsHandled);
                  if not IsHandled then begin
                  //END NEW CODE
                    if HideValidationDialog then
                        TransferPostReceipt.SetHideValidationDialog(HideValidationDialog);
                    TransferPostReceipt.SetWhseRcptHeader(WhseRcptHeader);
                    TransferPostReceipt.SetSuppressCommit(SuppressCommit or PreviewMode);
                    TransferPostReceipt.SetPreviewMode(PreviewMode);
                    TransferPostReceipt.SetCalledBy(Codeunit::"Whse.-Post Receipt");
                    if PreviewMode then
                        PostSourceTransferDocument(TransferPostReceipt)
                    else
                        case WhseSetup."Receipt Posting Policy" of
                            WhseSetup."Receipt Posting Policy"::"Posting errors are not processed":
                                PostTransferErrorsNotProcessed(TransferPostReceipt);
                            WhseSetup."Receipt Posting Policy"::"Stop and show the first posting error":
                                PostSourceTransferDocument(TransferPostReceipt);
                        end;
                    Clear(TransferPostReceipt);
                    //START NEW CODE
                    end;
                    OnPostSourceDocumentOnAfterTransferHeader(TransferHeader)
                    //END NEW CODE
                end;

[IntegrationEvent(false, false)]
local procedure OnPostSourceDocumentOnBeforePostTransferHeader(var TransferHeader: Record "TransferHeader";
WhseRcptHeader: Record "Warehouse Receipt Header"; SuppressCommit: Boolean; var CounterSourceDocOK: Integer; var
IsHandled: Boolean)
begin
end;

[IntegrationEvent(false, false)]
local procedure OnPostSourceDocumentOnAfterPostTransferHeader(TransferHeader: Record "TransferHeader")
begin
end;

There're events for Sales and Purchase Source Types, but not for Transfer

If you don't need SuppressCommit you could use OnBeforePostSourceDocument.

Hi
Unfortunately i cannot use that event, because i need the standard code in PostSourceDocument for Sales and Purchases, but for Transfer Order i need to use OnPostSourceDocumentOnBeforePostTransferHeader and return IsHandled value as true, so it doesn't process standard code .
I Could copy standard, use the Event you suggested and return isHandled=true, but then there're 4 publishers that will be gone, and i need that aswell for later development.

Hi
Unfortunately i cannot use that event, because i need the standard code in PostSourceDocument for Sales and Purchases, but for Transfer Order i need to use OnPostSourceDocumentOnBeforePostTransferHeader and return IsHandled value as true, so it doesn't process standard code .
I Could copy standard, use the Event you suggested and return isHandled=true, but then there're 4 publishers that will be gone, and i need that aswell for later development.

The event is called in a loop for every line, so you can check for the "Source Type" = Transfer Line (as in PostSourceDocument).
Then you can set IsHandled to true and execute your own transfer line posting logic. The other cases (WhseRcptLine."Source Type" <> Transfer Line) will still be executed.
[EventSubscriber(ObjectType::Codeunit, Codeunit::"Whse.-Post Receipt", OnBeforePostSourceDocument, '', false, false)]
    local procedure OnBeforePostSourceDocument(var WhseRcptLine: Record "Warehouse Receipt Line"; PurchaseHeader: Record "Purchase Header"; SalesHeader: Record "Sales Header"; TransferHeader: Record "Transfer Header"; var CounterSourceDocOK: Integer; HideValidationDialog: Boolean; var IsHandled: Boolean);
    begin
      if WhseRcptLine."Source Type" = Database::"Transfer Line" then begin
         IsHandled := true;

         // your special code for transfer lines

      end;
    end;

But you can keep the request open, I just wanted to help so you don't have to wait for the event.
PS: The mentioned "TransferHeader" variable in your event request does not exist in this method.

Thank you for help!
I'll leave the request open, so the events are consistent through standard :D

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10952.


Code format syntax

We are using IDE's of our preference, we need to stick to a specific code formatting syntax like Google code style or something else.
I found the Google code style has plugins for popular IDE's and linting tools which can be used to verify code formatting during CI phase. This makes code review easier.

@authorjapps this issue and #278 needs to be taken care. Need your thoughts on this.


Why don't I create Amazon lightsailclient and set up UserData?

var shuju = new CreateInstancesRequest()
{
BlueprintId = "centos_7_1901_01",
BundleId = "micro_2_0",
AvailabilityZone = "ap-northeast-1d",
InstanceNames = new System.Collections.Generic.List() { "test" },
UserData = "echo root:test123456- |sudo chpasswd root\r\nsudo sed -i 's/^#\?PermitRootLogin./PermitRootLogin yes/g' /etc/ssh/sshd_config;\r\nsudo sed -i 's/^#\?PasswordAuthentication./PasswordAuthentication yes/g' /etc/ssh/sshd_config;\r\nsudo reboot\r\n"
};
If it takes effect, it will support root account login, but UserData is not executed. Why?

This question is beyond scope of support from the .NET SDK team.  Could you please open a case with Premium Support or post on the LightSail AWS Forums instead?


Migrate custom commands from 10up/restricted-site-access

Looks like we already have all commands from https://github.com/10up/restricted-site-access/blob/develop/tests/cypress/support/commands.js migrated within previous PRs

[x] Login and logout
[x] createPermalink as createTerm
[x] openDocumentSettingsSidebar
[x] openDocumentSettingsPanel
[x] setPermalink as setPermalinkStructure


refactor: abstract tenant-specific settings

What kind of change does this PR introduce?

This PR attempts to decouple tenant-specific configuration before starting the API server

closing for now since this needs further discussion


Use Secrets to pass config in Whitelister

Whitelister use some sensitive options like GitHub Access Token, AWS role arn etc. It must use Secrets to load config from Kubernetes.

very good suggestion @usamaahmadkhan should be a quick fix!


Fix server websocket exec error handling

Change the roda request handler to run the RPC /containers/create_exec request outside of the r.websocket block, allowing it to fail via the normal roda error handling. The r.websocket block only registers the websocket handlers, which is not expected to fail.
Rewrite the Docker::StreamingExecutor:

Split up setup vs start(ws) for error handling purposes

Deduplicate the register_stdin_ws_events vs register_run_ws_events

Better debug logging

Fix MongoPubsub.subscribe do ... to use EventMachine.schedule { @ws.write(...) }
The socket is owned by EventMachine, and the pubsub subscription thread should not be doing concurrent writes to the websocket.

Fix the @ws.on :message handler to abort the websocket on any errors, not just JSON::ParserError

Design review because I'm not sure if this is suitable as a bugfix for 1.4.
Still needs specs.

This shouldn't change the functionality of the code, and the websocket exec has fairly good tests. I think this would still be suitable for 1.4.1.


Release/2.1

This version comes with a number of minor fixes and important new feature: the remote configuration.
We will gradually improve the remote configuration of the tracker in the upcoming version but this first version of the remote configuration already allow to configure the fundamental aspects of the tracker: TrackerConfiguration, NetworkConfiguration, SubjectConfiguration and SessionConfiguration.
You can find more information in the upcoming blog post where we will present the feature with more details and examples.
Among the fixes:

Fixed an issue that prevent a SelfDescribing event created with the v1 API to set the trueTimestamp field.
Fixed an issue that blocked the sending of automatic events when the tracker doesn't have programmatic events to send first.

CHANGELOG
Enhancements:

Add remote configuration (#452)
Fix missing base64encoding in remote config (#454)

Bug fixes:

Fix trueTimestamp not set by SelfDescribing builder (#451)
Fix screenView autotracking unable to send events (#455)

@paulboocock
Some notes for the PR review:

All the commits after "Add remote configuration" need code review.
Each commit can be reviewed separately rather than all in once as they concern to very different things.
Would be nice to have a double check to the PR description as it will be the content of the Discourse post.


Discord links in README are invalid

Clicking on the Discord link in the README (both the Discord badge and in the Getting Help section) goes to an "Invite Invalid" page:

Is Discord still the recommended way to ask questions, or should I post them as Issues? I'm curious about this project :)

Hi @steve-marmalade, thanks for your interest! The existing Discord links do still seem to work for me, but here's another invite link you could try -- https://discord.gg/DBsUVbTS. Let me know if this works

Hi @carolineechen , thanks for the quick response. When clicking the URL I still get the invalid link message, but when I paste the link into the Discord "Add Server" prompt directly it worked fine. So it could be something wrong with my environment. Will close!


How can I resolve dask's “unknown job_id” error?

I'm try to run dask on my local super computer (TSCC at the San Diego Supercomputer Center) for the first time. I'm using dask_jobqueue's PBSCluster. I'm seeing the following error (and associated debug messages) which is stopping my code from running:
DEBUG:started job: 21190023
DEBUG:adding worker tcp://<IP_ADDRESS>:46023
DEBUG:job id for new worker: 21190003.tscc-mgr7
DEBUG:21190003.tscc-mgr7 is a new job or restarting worker
ERROR:Unknown job_id: 21190003.tscc-mgr7 for worker tcp://<IP_ADDRESS>:41595

I'm guessing this is because in some parts of the code the job id is seen as 21190023 while in others it is seen as 21190003.tscc-mgr7, but I don't know how to get those two to sync up.
Has anyone else run into this issue? Any suggestions?
(Note: I've successfully run jobs through manually written PBS scripts on my cluster, so the underlying scheduler works. When running my code I also see the jobs dask has submitted to the queue, so they're there, dask just needs to interface with them appropriately).
Reproducing code:
import logging
import subprocess as sp

# Use Dask to smooth the PBS submission process
import dask
import dask.distributed
import dask_jobqueue

# Turn on debug level logging for dask
logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.DEBUG)

@dask.delayed
def subset_strs(chrom):
    print("do something")

def main():
    cluster = dask_jobqueue.PBSCluster(
        name="STR_subset",
        walltime="48:00:00",
        log_directory=output_dir
    )
    cluster.scale(22)
    client = dask.distributed.Client(cluster)

    jobs = []
    for chrom in range(1, 23):
        jobs.append(subset_strs(chrom))

    futures = client.compute(jobs)

    with open("~/foo.txt", 'w') as results_file:
        for chrom, future in enumerate(futures):
            chrom += 1
            result = future.result()
            print(result)

if __name__ == "__main__":
    main()

My config:
jobqueue:
  pbs:
    name: dask-worker
    cores: 1
    memory: '3.9 GB'
    processes: 1
    shebang: "#!/usr/bin/env bash"

    local-directory: $TMPDIR
    log_directory: $ME/dask/logs

    resource-spec: "nodes=1:ppn=1"
    queue: hotel
    walltime: 00:30:00

    dashboard_address: ':8713'

    job-extra: ['-M<EMAIL_ADDRESS>'-m a', '-V']

Thanks @mrocklin
@LiterallyUniqueLogin  I've tested myself on TSCC with the latest dask and dask-jobqueue from conda and cannot reproduce the error.
I mostly ran your files, just simplified the example:
https://gist.github.com/zonca/6fd04d769a337f0575339de29488c1e2
I also pasted the logs

@LiterallyUniqueLogin is it possible you have 2 python environments and there is a version mismatch?

Hi @zonca . Thank you for the quick responses. After your comments this morning I realized that the versions of dask I pulled in through my dependency on scikit-allel were quite old. I've been wrangling with software versioning all day trying to get the environment into a stable point with up to date versions of dask - that's been less than trivial unfortunately. Once I've done that, I'll rerun the simple commands and see what happens.

Creating a working environment with an up to date version of dask seemed to do the trick. Thanks for the support


bugfix: correct resp should not return an err

What this PR does / why we need it:
correct resp should not return an err

Could you write a test for this case?

/lgtm
I'll add tests later.

/release-note-none


Update settings and capabilities parsing and add a few commands

Identified more of the camera's properties (settings/capabilities) and re-worked the code handling them.
Slightly improved logging capabilities:
The app now accepts a log level flag -l, values range from 1 to 5, the higher the number the more verbosity you get.
Added  a few commands to manage the camera settings:

flash: to select flash mode
film_simulation
focus_point: select which point to focus on
focus_unlock: unlock the focus if it's locked. Required for further focus point updates to take effect.
timer: select a self timer mode
exposure_compensation: similar to the aperture and shutter_speed commands.
set_exposure_compensation: similar to the set_shutter_speed and set_aperture commands.

Output more user friendly data
Minor cleanup and removal of no-longer used functions

There is still a lot of room for improvement and code cleanup though.

Hey @hkr, thank you for starting this project!
Can you have a look at this if you have some time?

Hi,
I actually missed the pull request.
Thanks for the contribution, I will need to find some time to try all the changes.
I should get a X-T3 soon, so I have a good reason to test this.

I pushed update_settings_and_caps to this repo and changed a few things

I see you have resolved all raised issues, great! We can close this pull request I suppose

I'll leave it open until I merged it to master.

I also have another set of changes lined up after this is merged to improve the CLI interaction.
Something like:
fcwt> help
Usage:
    help|connect|info|shutter|focus-unlock
    increment|decrement TARGET
    set TARGET VALUE1 [VALUE2]
    stream [cv]
TARGET:
    iso:           takes an integer value (e.g. 200)
    f-number:      takes a float value (e.g. 3.5)
    focus-point:   takes a pair of values denoting the focus point coordinates X and Y (e.g. 5 5)
    shutter-speed: takes a value of the form N/M or N (e.g. 1/20, 3)
    exposure-compensation:
                   takes a float value (e.g. 1.3)
    white-balance|film-simulation|self-timer|flash:
                   takes an integer value. Value is one of the values in camera properties

See https://github.com/hi-a/fuji-cam-wifi-tool/commits/reworked-interface for a sample implementation.

@hi-a I merged the branch with some more minor changes into master.
Both of my X series cameras also report 0xd246. It seems to be related to battery since the value is always same as 0xd242.
The value for 0xd246 and 0xd242 can also be higher than BATTERY_FULL.
Maybe it's just a newer way to report battery status? Maybe it would support the status of a battery grip? I don't know...

The new command line interface looks good. I didn't look at the code yet, it is "done"? :)

Thanks for merging!
The 0xd246 (53830) is DRIVE_MODE, it should be related to the Movie/Stills slider in the app and takes either 0 or 1 as a value if I'm not mistaken. While 53829 is focus related AF_SELECT_MODE.
The new interface code still has bugs here and there that need to be sorted out.

0xd246 (53830) DRIVE_MODE definitely always gives me the same value as battery_level.
I didn't try to set it.
For AF_SELECT_MODE I'm getting a capability value list [0, 1, 2] on X100F and a [0, 1, 2, 3, 4] on X-T3.

Another odd thing:
The app shows exposure compensation values from -5.0 to 5.0.
The value list that I get on both cameras looks like this:
    Exposure Compensation:
            -3.0
            -2.7
            -2.3
            -2.0
            -1.7
            -1.3
            -1.0
            -0.7
            -0.3
            0.0 (default)
            0.3
            0.7
            1.0
            1.3 (current)
            1.7
            2.0
            2.3
            2.7
            3.0
            0.0 (default)
            -0.0
            -0.0
            0.4
            -32.8
            0.8
            -32.8
            1.6
            -32.8
            3.2
            -32.8
            6.4

You can decompile the android app to get more details about the DeviceProperties. It's weird that 53830 has the same values as the battery property.
That is also a weird thing going on with exposure compensation. Could be a parsing error. Are the raw values consistent with a [-5, 5] range?

I used https://github.com/skylot/jadx to decompile the APK by the way.


Allow type declaration on constructors

At present, constructors in a class can only be typeless. This can be a stark contrast to the other members in classes, which all have explicitly declared types.
This is how a current class looks:
class Foo {
    private _bool: boolean;

    constructor() {
        this._bool = true;
    }

    public doSomething(): void {
        // TODO: implement code
    }

    public getBool(): boolean {
        return this._bool;
    }
}

I think there would be more consistency in classes if type declarations were permitted as long as they were the same type. They would effectively be redundant, but would make the class more readable, in my opinion. The above class would then be written like so:
class Foo {
    private _bool: boolean;

    constructor(): Foo {
        this._bool = true;
    }

    public doSomething(): void {
        // TODO: implement code
    }

    public getBool(): boolean {
        return this._bool;
    }
}

This doesn't seem to be a common problem in terms of readability in a way that outweighs the possible user confusion of what this would mean. 90%+ of the time, you can see the enclosing class name a few lines higher; if not, there's always comments.


How to see consumer error?

Hello, sometimes the error appears in appropriate error log file (defined in the config file) but sometimes I can see only below line in error log. How to see what happens?
2015/07/08 14:55:38 Failed:
2015/07/08 14:55:38 Error: fork/exec app/console: no such file or directory

Based on tiny bit of information I have absolutely no clue what's happening or what problem you're experiencing. Please provide more information so I can reproduce the issue.

Well, the command script is working fine, I tested with simulated serialized message.
My cli consumer can work fine but need to stop/restart it (sometimes queue purge needed):
/rabbitmq-cli-consumer -c /rabbitmq/configuration_error_logger.conf -e "app/console project:consumer:error-logger -e=prod" -V

But there can be a situation when execution fails, without any explicit error and I'm just receiving constantly this message:
tail -f rabbitmq/rabbitmq-cli-consumer/error_log_error.log
2015/07/08 21:04:24 Failed:
2015/07/08 21:04:24 Error: fork/exec app/console: no such file or directory
2015/07/08 21:04:24 Failed:
2015/07/08 21:04:24 Error: fork/exec app/console: no such file or directory
2015/07/08 21:04:24 Failed:
2015/07/08 21:04:24 Error: fork/exec app/console: no such file or directory
2015/07/08 21:04:24 Failed:
2015/07/08 21:04:24 Error: fork/exec app/console: no such file or directory
2015/07/08 21:04:24 Failed:
2015/07/08 21:04:24 Error: fork/exec app/console: no such file or directory
2015/07/08 21:04:24 Failed:
2015/07/08 21:04:24 Error: fork/exec app/console: no such file or directory
2015/07/08 21:04:24 Failed:
....

My exchange is a direct type.

In fact, I have a similar problem described in #2

According to the error the path does not exist. You're using a relative path: app/console project:consumer:error-logger -e=prod. What happens if you try full path:
/rabbitmq-cli-consumer -c /rabbitmq/configuration_error_logger.conf -e "/home/your-user/app/console project:consumer:error-logger -e=prod" -V

If I change the path to app/console to a full location of php folder I receive the same problem:
2015/07/09 08:41:29 Error: fork/exec /usr/bin/phpapp/console: no such file or directory
2015/07/09 08:41:29 Processing message...
2015/07/09 08:41:29 Failed. Check error log for details.

Another problem is the my logs (error and info) which are flooding the disk capacity as it continuosly producing messages.

Yes, seems it was a problem, thank you.
Anyways, I use to receive another kind of error in some cases (but I don't have more precisions):
2015/07/09 11:12:49 Error: fork/exec /var/www/tilk-theapp.com/api-dev/current/app/console: argument list too long
2015/07/09 11:12:49 Processing message...
2015/07/09 11:12:49 Failed. Check error log for details.
2015/07/09 11:12:49 Failed:
2015/07/09 11:12:49 Error: fork/exec /var/www/tilk-theapp.com/api-dev/current/app/console: argument list too long

Similar to the issue #2.

I think the messages you pass around on the queue are too big. You could try to use the compress functionality. I'm closing this issue as this isn't a (new) bug.

If a changed parameter in config file from Off to On for compression attribute:
[rabbitmq]
host = host
username = user
password = pwd
port=port
queue=log_error
compression=On

but I receive this kind of error now:
2015/07/09 13:59:21 Error: exit status 1
2015/07/09 13:59:21 Compressed message
2015/07/09 13:59:21 Processing message...
2015/07/09 13:59:21 Failed. Check error log for details.
2015/07/09 13:59:21 Failed:

  [InvalidArgumentException]
  Invalid input received

Well, it probabely happens when my message is too big, you're right. Still compression doesn't seem to work.


Implementing sqlite3_key sqlite3_rekey

I am looking for an implementation of the following encryption layers for the SQLite3 DB using wxSQLite3
int sqlite3_key(
  sqlite3 *db,                   /* Database to be rekeyed */
  const void *pKey, int nKey     /* The key, and the length of the key in bytes */
);

int sqlite3_rekey(
  sqlite3 *db,                   /* Database to be rekeyed */
  const void *pKey, int nKey     /* The new key, and the length of the key in bytes */
);

Get DLL here: https://github.com/rindeal/wxSQLite3-VS
Add the following to SQLiteConnection
/// Provide a way to set or change database encryption key
/// </summary>
/// <param name="key"></param>
public void SetDbKey(string key)
{
    var r = SQLite3.Rekey(Handle, key, key.Length);
    if (r != SQLite3.Result.OK)
    {
        string msg = SQLite3.GetErrmsg(Handle);
        throw SQLiteException.New(r, msg);
    }
}

/// <summary>
/// Provide a way to decrypt your database
/// </summary>
/// <param name="key"></param>
public void Key(string key)
{
    var r = SQLite3.Key(Handle, key, key.Length);
    if (r != SQLite3.Result.OK)
    {
        string msg = SQLite3.GetErrmsg(Handle);
        throw SQLiteException.New(r, msg);
    }
}

Add the following to SQLite3
[DllImport("sqlite3", EntryPoint = "sqlite3_key", CallingConvention = CallingConvention.Cdecl)]
public static extern Result Key(IntPtr db, [MarshalAs(UnmanagedType.LPStr)] string pKey, int nkey);

[DllImport("sqlite3", EntryPoint = "sqlite3_rekey", CallingConvention = CallingConvention.Cdecl)]
public static extern Result Rekey(IntPtr db, [MarshalAs(UnmanagedType.LPStr)] string pKey, int nkey);

Usage:
var db = new SQLiteConnection("sample.db");
db.SetDbKey("yourpassword"); // you only have to do this once
db.Key("yourpassword"); // to decrypt database

Sorry for the questions, I'm knowage in .NET is not so deep. Could you help.
How can I reference those DLLs?
Also is it possible to build wxSQLite3-VS for ARM.
The app i'm working on is a Windows 8.0 Store app and I need encrypted SQLite Db there, is this method applicable there?

I was able to use this method, but my application failed the Windows Store validation:

sqlite3.dll has failed the AppContainerCheck check.
API ****  in kernel32.dll is not supported for this application type. sqlite3.dll calls this API. (a long list of those)

I there really a way to pass those? Maybe if i build wxSQLite3-VS with the appropreate flags?

I recently added support for SQLCipher by adding a SetKey method that executes pragma key = 'secret'
I'm not sure if we want to also support wxSQLite3 at this time. Sorry!


Port web-based frontend

Port the web-based frontend to the project from the internal project

Fixed


[CMT-654-985] Article Request: Web engineering update jan 31

Type: [engineering]
Link to the original article: Web Engineering Update Jan 31st

added: #1099


Make metadata keys case preserving

@zezha-msft,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


fix: Handle stderr properly in SSH transport

Instead of reading a small amount of data in a blocking way from the
stdout and stderr streams, enable non-blocking I/O and attempt to read
as much data as possible. In addition, make a convenience function to
handle the stream being closed and timeouts so that we don't need to
store a temp variable in the loop. This prevents the situation that lead
to issue #74 where the stderr data is written to the output XML if
stdout is already closed.
Fixes #74

this looks right? before
***********************
control Fri Feb  3 15:56:19 2023
 ipc(*na) ctl(*here *cdata)
input Fri Feb  3 15:56:19 2023
<?xml version='1.0'?>
<xmlservice><sh error="fast" var="wrkactjob"><![CDATA[/QOpenSys/usr/bin/system WRKACTJOB]]></sh></xmlservice>

output Fri Feb  3 15:56:20 2023
b' directory\n'
parse (fail) Fri Feb  3 15:56:20 2023
parse step: 3 (1-ok, 2-*BADPARSE, 3-*NOPARSE)
{'error': {'error': '*NOPARSE', 'wrkactjob': {...}}}

after
***********************
control Fri Feb  3 15:59:39 2023
 ipc(*na) ctl(*here *cdata)
input Fri Feb  3 15:59:39 2023
<?xml version="1.0" ?><xmlservice><sh var="wrkactjob" error="fast"><![CDATA[/QOpenSys/usr/bin/system WRKACTJOB]]></sh></xmlservice>
output Fri Feb  3 15:59:40 2023
<?xml version='1.0'?>
<xmlservice>
<error>*NODATA</error>
</xmlservice>
parse step: 1 (1-ok, 2-*BADPARSE, 3-*NOPARSE)

Merged in e16b96584d9cca7b7511514c422767cd8ae755b6


Add JSON schema specification for search response

Description of change

Validate response against the search schema
Add received_at and status to response

Since we are in the very initial stages of building out this response, keep the schema defined here until it is stable enough to add to the ODP schema
Story Link
https://trello.com/c/dSwLVDaS/2933-priority-2-the-ability-to-specify-that-we-only-receive-applications-marked-as-public-only-makepublic-true

Looks fine - just the question about the changes in the sitemap spec

It was until I've now realised that the schema was wrong for this.
Updated now to
"properties": {
  "type": ["object", "null"]
}


Versioning issue after install

Describe the bug
When TOS is installed the version of it is no longer shown. The current way that the version is deployed is rater basic. Currently the version is simply printed in the .zshrc and .bashrc file.
To Reproduce

launch tos iso and observe output in the terminal.
Install tos and observe no version output anywhere.

Expected behavior
The current version of tos is only shown by the kernel. However when executing tos -u new software is installed and no version increase is present
Additional context
There should be a version file in /etc/version that is sourced throughout the os

This issue has now been fixed. We have indeed moved the versioning to /etc/version And each time you do an update this number will be changed. Currently this is only sourced in the .bashrc and .zshrc However there will be more places in the future now that we have the option


Stream interruption not working, backend limitations

The backends are not properly handling clean interruption of streamed responses, for different reasons:

** API backend:** The Langchain LLM interface does not have a mechanism to cleanly interrupting streaming requests. I've filed https://github.com/hwchase17/langchain/pull/4403 with the project, and if that gets merged, it should start working again.
Browser backend: Despite best efforts, the ctrl-c signal causes the browser instance to close, which then requires force closing and restarting. Others have noticed this deficiency with Playwright, as is documented here: https://github.com/microsoft/playwright-python/issues/1170 -- but there seems to be no movement on a fix.

I'm using the API backend, and Ctrl+C Used to work, but now...
(0.7/4096/0): default
<EMAIL_ADDRESS>1> Hey don't give me a RateLimitError

Retrying langchain.chat_models.openai.ChatOpenAI.completion_with_retry.<locals>._completion_with_retry in 1.0 seconds as it raised RateLimitError: You exceeded your current quota, please check your plan and billing details..
**^C^C**Retrying langchain.chat_models.openai.ChatOpenAI.completion_with_retry.<locals>._completion_with_retry in 2.0 seconds as it raised RateLimitError: You exceeded your current quota, please check your plan and billing details..
**^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C**Retrying langchain.chat_models.openai.ChatOpenAI.completion_with_retry.<locals>._completion_with_retry in 4.0 seconds as it raised RateLimitError: You exceeded your current quota, please check your plan and billing details..
**^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C**Retrying langchain.chat_models.openai.ChatOpenAI.completion_with_retry.<locals>._completion_with_retry in 8.0 seconds as it raised RateLimitError: You exceeded your current quota, please check your plan and billing details..
**^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C**^Z
[12]+  Stopped                 chatgpt```

Ctrl+C bolded for your viewing pleasure.

@blksith0 see the original post, it links to the Langchain issue that's holding up this fix. Feel free to add your voice there :)

I've version locked Langchain, and monkey patched it to fix the issues with stream interruption.
Still working getting the upstream error fixed here: https://github.com/hwchase17/langchain/pull/4403
In better news, Playwright seems to have fixed the issue that was crashing things during stream interruption, so only the Langchain PR remains.


Getting an error adding package in Xcode 11.4.1

I'm getting the above error when adding your package

Try setting the Rules option to Branch: master


Add doc for URL binding feature

Q
A

Bug fix?
no

New feature?
no

Issues
NA

License
MIT

Add documentation for https://github.com/symfony/ux/pull/1230

Is the browser's history updated?

No, the current behavior is to update the URL in place. There could be a feature to push new history entries in the future.

What happens if multiple components on the same page use this feature? Should this be avoided?

If multiple components use this feature on the same page, things should work fine as long as they don't use the same field names. Otherwise parameters will collide, so the last rendered component will take priority on URL parameters, overriding ones set by the other components.
Should this be part of the documentation too?

Thank you @squrious!


WFLY-4527 fixing a regression in the test-case

The test-case caused a regression in EAP 6.4.z.
https://issues.jboss.org/browse/WFLY-4527

Windows Build 1492 is now running using a merge of b6c83a2d421ca8d44c9f2585956ea3b0b286e4c4

Linux Build 6413 is now running using a merge of b6c83a2d421ca8d44c9f2585956ea3b0b286e4c4

Windows Build 1492 outcome was SUCCESS using a merge of b6c83a2d421ca8d44c9f2585956ea3b0b286e4c4
Summary: Tests passed: 2868, ignored: 373 Build time: 0:47:20

Linux Build 6413 outcome was FAILURE using a merge of b6c83a2d421ca8d44c9f2585956ea3b0b286e4c4
Summary: Tests failed: 1 (1 new), passed: 2866, ignored: 373, muted: 1 Build time: 0:47:48
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.messaging.mgmt.JMSQueueManagementTestCase.removeJMSQueueRemovesAllMessages: <no details avaliable>

Linux with security manager Build 1369 is now running using a merge of 9e17e32c556964414659e450c838bbf987041ee7

Windows Build 1541 is now running using a merge of 9e17e32c556964414659e450c838bbf987041ee7

Linux Build 6463 is now running using a merge of 9e17e32c556964414659e450c838bbf987041ee7

Linux with security manager Build 1369 outcome was SUCCESS using a merge of 9e17e32c556964414659e450c838bbf987041ee7
Summary: Tests passed: 803, ignored: 320 Build time: 0:05:02

Windows Build 1541 outcome was SUCCESS using a merge of 9e17e32c556964414659e450c838bbf987041ee7
Summary: Tests passed: 2845, ignored: 375 Build time: 0:48:50

Linux Build 6463 outcome was SUCCESS using a merge of 9e17e32c556964414659e450c838bbf987041ee7
Summary: Tests passed: 2844, ignored: 375, muted: 1 Build time: 0:50:17


Support parsing CSS3 color format like "rgb(255, 128, 33)"

Details on the css3 spec are here:  https://www.w3.org/TR/css-color-3/#numerical
I think it would be reasonable to support rgb(), rgba(), hsl(), and hsla()

Details on the css3 spec are here:  https://www.w3.org/TR/css-color-3/#numerical
I think it would be reasonable to support rgb(), rgba(), hsl(), and hsla()


Listing of children with Polymer.dom().children stops at script tags

Live Demo
https://jsbin.com/qaqoqunawe/edit?html,console,output
Steps to Reproduce

Create a custom element which has a content node in its template
Include children in its light DOM, a

  </my-app>

3 children should be listed, but because the


Handle nominal values for timedeltas for event_resolutions in the database

The event_resolution is in some cases stored as a nominal value of timedelta in the database. In PR #767 FlexMeasures will support storing the ISO duration string.

The loading and use of such event resolutions (e.g. P1Y, P1M, P1D) first needs to be handled in timely-beliefs (see https://github.com/SeitaBV/timely-beliefs/issues/141), before we can start to tackle it here.


Fixing has() to recognize keys with null value.

Currently, $data->has('key') will return FALSE if the value of said key is NULL. This PR resolves the issue.

@grasmash thanks.


Result Streaming

implements the result streaming front end

@anthonydresser I think @ranasaria's related SQL Tools Service changes are now published.  Is the front-end side of the change ready to go in today?  If possible, it would be great to pick this up in the insiders build we're publishing this afternoon.

I'll merge in now; the build failure is from failing vs search tests.


Improvements & usefull tools

Hi,
Just improved the build pahase and added whois, exim4, bsd-mailx that can be useful to use some default fail2ban actions.
Cheers
Fred

Hello,
Thanks for your improvements. It's a good idea. I think we can probably do better but this is a good start for Docker :)
Regards