Remove CV as assessment option from Admin/Apply

Background
Following a decision at the July board, CVs will no longer be an assessment tool used on selection exercises (they were previously used on Senior/Leadership exercises only.) Instead, we have included a career highlights section on the candidate self-assessment form. Candidates' responses will be extracted from the .docx document, word counted and fed through to Application view as per the answers to the selected Skills & Abilities questions. Ideally this work will be completed prior to the launch of JAC00213 on 25 July and would apply to all future exercises, including those currently in Draft status.
Clearly, any past or current exercises using CVs should be unaffected by this change.
Pls note: the Career highlights section has already been included as an option in the skills and competencies dropdown under Assessment options.

User Story
As the Ops team, I would like the CV upload option to be replaced by the career highlights section so that candidates still have the option to provide relevant information on their suitability.
Feature(s) Description

[x] Remove CV as an option from Assessment options

[x] Ensure that candidates are not presented with an option on Apply to upload a CV in any circumstances

[ ] Test that candidates can input content to the Career Highlights question on the SA upload and are given the opportunity to edit, having been informed of the word count, before submitting

[ ] Test that the content added under Career Highlights in an upload is correctly word counted and pulled across to Application view on Admin

[ ] Confirm that this covers all instances related to CVs?

Acceptance Criteria
It's done when Admins are no longer able to add CV as an Assessment option and candidate are unable to upload a CV but instead complete the Career highlights section of the SA upload.
Definition of Done

[ ] User stories/acceptance criteria met
[ ] Internal reviews passed (feedback actioned)
[ ] User testing passed
[ ] Relevant technical documentation updated
[ ] User guidance updated
[ ] Deployed and merged without errors

User Testing Steps
Specify for users what is being tested (but not how to test it.)

@nickaddy We may need to add a follow-on ticket to refactor this code to remove the code from Apply to support legacy applications that use CVs

New Developer Tasks For This Ticket:

Remove the cv option on Admin
On Apply if the CV option is present then display the CV section otherwise dont
Check that the career highlights display when added to the SA template

@HalcyonJAC Are the other aspects of this ticket going to be picked up in another PR?

@nickaddy I have created an exercise to test that candidates can input content to the Career Highlights question on the SA upload. It works fine. Here is an exercise on Dev if you would like to test it.

@HalcyonJAC That all works as it should. I noticed a minor display issue on Apply; when you are prompted to review your application, some of the meta-data is presented at the top of the self-assessment content section:

@nickaddy Thank you for spotting that. A PR has been created to fix it. Could you test it, please?


New hook to get theme object by theme name

Description
Description
According to document: here, the only way I can access theme specific tokens is to use styled wrapper function. It would be nice if the library export a hook to retrieve theme object by name.
For example:
// gluestack-ui.config.ts
const config = createConfig({
    theme: {
        themeA: {...},
        themeB: {...}
    }
})

// later on other files
const themeA = useThemeObject("themeA") // <-- Retrieve themeA object
const themeB= useThemeObject("themeB") // <-- Retrieve themeB object

Problem Statement
I think this feature will save a lot of time for styling components that have deeply nested style props like:
<Component options={{
    containerStyle: {...},
    contentStyle: {...} ,
 }}
/>

I also try to use Property Resolver, but the resolver is only support one token type like colors or fonts.
Proposed Solution or API
The hook somehow works like Tamagui useTheme
Alternatives
No response
Additional Information
No response

Hey @quocluongha , Thanks for reporting the issue. We will have a look.

Has it been fixed yet?


minimize_access broken link in /usr/bin throws error when running

Hi,
When I run the role on my development platform (VM in Vmware Fusion, Ubuntu 16.04), the task minimize access fails with the following error:
 - exception: Traceback (most recent call last):
  File "/tmp/ansible_GlDk98/ansible_module_file.py", line 473, in <module>
    main()
  File "/tmp/ansible_GlDk98/ansible_module_file.py", line 350, in main
    changed |= recursive_set_attributes(module, to_bytes(file_args['path'], errors='surrogate_or_strict'), follow, file_args)
  File "/tmp/ansible_GlDk98/ansible_module_file.py", line 172, in recursive_set_attributes
    changed |= module.set_fs_attributes_if_different(tmp_file_args, changed, expand=False)
  File "/tmp/ansible_GlDk98/ansible_modlib.zip/ansible/module_utils/basic.py", line 1513, in set_fs_attributes_if_different
  File "/tmp/ansible_GlDk98/ansible_modlib.zip/ansible/module_utils/basic.py", line 1242, in set_mode_if_different
OSError: [Errno 2] No such file or directory: '/usr/bin/vmware-user-suid-wrapper'

The problem is that there is a broken symlink in /usr/bin:
vmware-user -> vmware-user-suid-wrapper

Should this role manage that kind of potential scenario ?
Thanks,

Hi @mickaelperrin,
if there'a a broken symlink than this symlink should be fixed instead of working around it in this role.
However there's also https://github.com/dev-sec/ansible-os-hardening/issues/171, where there's a problem with symlinks and this task. Maybe in this issue there will be a solution to your issue.


chore: update ginkgo and gomega

Updated ginkgo from v2.1.4 to v2.5.1
Updated gomega from v1.20.0 to v1.24.1
Closes: #1095
Signed-off-by: Jonathan Gonzalez V<EMAIL_ADDRESS>

e2e pass, merging https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/3573755804/jobs/6008293465


Datatracker OAuth2: refresh access tokens

This will likely be left pending at delivery, since Datatracker doesn’t seem to be offering a token refresh endpoint.
Current behavior is to avoid verifying token on each page load to save time, so the user will be shown as logged in indefinitely—but the token is verified upon an authenticated request, and if that fails the user will be automatically logged out.

for the short term, we plan to remove the datatracker login requirement, but the oidc provider does provide token refresh.
(I think elsewhere we discussed using an oidc library rather than trying to reimplement oidc with an oauth2 library).

Yes, we discussed using an OIDC library. The Django OIDC integration library maintained by Mozilla was judged to cost excess overhead for this project, but I’ll revisit that.
Either way, since token refresh is provided by OIDC provider, going to look into integrating it. I may have thought there’s no refresh feature because I didn’t spot it when looking at api/openid/.well-known/openid-configuration… Thanks for the pointer!

Since you mentioned Datatracker login may be unnecessary, I’ll see if a settings flag can be implemented to control the behavior.

Automatic token refresh appears to work now (tested in staging), but I’ll leave this issue open until Datatracker auth is configurable too…

Thanks - be sure that configuring no auth opens access to the things we otherwise required auth for (such as the links to download bibxml from the search results page.


Doc: explain the design choice behind using esbuild

@fwang  The only problem I am facing is that it drains the memory when the app is growing. Currently, I have 5 stacks running on my local and it costs around 9GB of memory to be used. It will be good if we can limit watching the files for specific stacks (or any other options) then in order to decrease the memory usage.

Currently, I have 5 stacks running on my local and it costs around 9GB of memory to be used.

Oh no! That's terrible news. Do you mind providing some details:

How many Lambda functions do you have roughly?
Does sst start take up 9GB memory right away when running it? Or does it grow over time?
Windows or Mac?
Can you run sst start and send me the .build/sst-debug/log at<EMAIL_ADDRESS>Lastly, may I bother you with a sample repo that can reproduce the issue? Or temporary clone permission to your repo if it doesn't contain sensitive data. No worries if not, I can start investigating with the info above.

I want to check if it is indeed the watcher that's taking up the memory. If it is, we'd need to look for a more efficient watcher or not watch all the stacks as u suggested.
Let me know, and I will start investiaging right away!

Currently, I have 5 stacks running on my local and it costs around 9GB of memory to be used.

@pabacham Oh no! That's terrible news. Do you mind providing some details:

How many Lambda functions do you have roughly?
Does sst start take up 9GB memory right away when running it? Or does it grow over time?
Windows or Mac?
Can you run sst start and send me the .build/sst-debug/log at<EMAIL_ADDRESS>Lastly, may I bother you with a sample repo that can reproduce the issue? Or temporary clone permission to your repo if it doesn't contain sensitive data. No worries if not, I can start investigating with the info above.

I want to check if it is indeed the watcher that's taking up the memory. If it is, we'd need to look for a more efficient watcher or not watch all the stacks as u suggested.
Let me know, and I will start investiaging right away!

@fwang

76 functions. Every API endpoint has its own function. All these functions splitted between 2 API (admin, public). 7 for the public API, 69 for the admin API.
I am using "sst start --stage $(whoami)". It takes up 9GB of memory right away.
Mac
Will do
It is a private organization repo, so I can not do here anything

Screenshot https://monosnap.com/file/8dFPbP1zZAS9jpE7DG0ZUwFmLjZBxm

Hey @pabacham I managed to reproduce the issue.
What is going on?
The esbuild process takes 9GB of memory.
Why is it taking 9GB?
Normally, esbuild doesn't not try to build JS files inside node_modules b/c esbuild is configured to exclude all dependencies inside the package.json. Looking at ur .build/sst-debug.log, dependencies like aws-sdk were not excluded. And that caused esbuild to take up a lot of memory.
Why were the dependencies not excluded?
Again by looking at ur .build/sst-debug.log, I gathered ur folder structure looks like this:
simple-events/
  package.json    <- outside ur SST app
  node_modules/
  packages/
    api/
      sst.json
      package.json    <- inside ur SST app
      node_modules/
      src/
        entities/
          events/
            lists.ts
            ...

esbuild tried to exclude the dependencies from the package.json that's inside ur SST app, but the dependencies like aws-sdk are installed in the node_modules that's outside of ur SST app. Hence they were not excluded.
Can you confirm if this is indeed the case?

@fwang That's correct. We use Lerna in the project and we have several apps inside the "packages" folder. Every app has its own package.json, meanwhile, all the node_modules inside every package are hoisted to the root node_modules folder. We started the project when there was no example of how to build it with Lerna, SST and React, so the structure looks like in the description above.

@pabacham Sorry for the delayed response. I will continue the conversation here https://github.com/serverless-stack/serverless-stack/issues/579#issuecomment-887349274


Javadoc uses the same output directory for different source sets

When adding a feature which uses its own source set with Javadoc like this:
plugins {
    id('java-library')
}

sourceSets {
    mongodbSupport {
        java {
            srcDir 'src/mongodb/java'
        }
    }
}
java {
    registerFeature('mongodbSupport') {
        usingSourceSet(sourceSets.mongodbSupport)
        withJavadocJar()
    }
}

then the destination directory of the Javadoc tasks javadoc (main source set) and mongodbSupportJavadoc are the same (build/docs/javadoc). If you publish the library with the feature variants, then the contents of the Javadoc jars may contain the wrong things, depending on the order you run the javadoc and jar tasks.

cc: @gradle/execution

Fixed via #15396.


Move buffer storage

Small follow-up to  #139: move the buffer storage fallback path out of the generated bindings and place it in the native backend instead. This allows us to regenerate the bindings without the risk of accidentally losing our fallback path.

cc @Gordon-F I think moving the fallback path into native like this will continue to work, please let me know if it causes problems

cc @Lokathor the manual edits on the phosphorus output took a bit of time to make, we'll try to upstream some of the changes into phosphorus for the following (ideally we wouldn't have to manually edit the output):

optionally omit the feature guards for extension functions (we don't want to expose features here)
fix bug with extension doc comments (the output seems to be invalid, I just removed it manually)
optionally omit the global loader and use the struct loader

bors r+


fix(a11y): remove redundant title attribute from Stack View expand/collapse icon

Signed-off-by: Stanimira Vlaeva<EMAIL_ADDRESS>PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[ ] If applicable, have a visual design approval

PR Type
What kind of change does this PR introduce?

[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] clarity.design website / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

The Stack View expand/collapse icon has a title attribute. The parent element also has an attribute aria-expanded which conveys the state and serves the same purpose.
Issue Number: #4525
What is the new behavior?
The title attribute on the Stack View icon is removed as it's redundant and creates a tooltip that's not keyboard accessible.
Does this PR introduce a breaking change?

[ ] Yes
[X] No

Other information
fixes #4525

I guess we will need to backport it for v3 as well.


[ALLUXIO-1586] Add test coverage for OSSOutputStream.java

The junit test case for OSSOutputSteam. Thanks

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/Alluxio-Pull-Request-Builder/10316/
Test PASSed.

Thanks for adding these unit tests! I left one minor comment on the code

@aaudiber Thanks for comments, update according to the comment.

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/Alluxio-Pull-Request-Builder/10324/
Test PASSed.

LGTM


Add tests for github scrape function

I will take a look at this and see what needs to be tested

closed with #203


Implement test system of machine learning framework and system apps, bug fixes

Major changes on machine learning framework

Test code of machine learning framework
System server loads machine learning daemon
Add automatic update on system app list database
Add prototype of ImageClassifier & MotionClassifier system apps

Major changes on API

Add prototype of machine learning API
Add mlApi.runModel() (simple machine learning API for built-in models)
Combine app API and machine learning API into new API (Issue #22)
Modularize JS Async callback as a C++ class (but not clear still)

Code readability improvements

Detach internal functions from MLDaemon's message handling functions

Bug fixes

Add missing senderUri on message handling layer
Add automatic update on system app list database
Initialize pthread-related member attributes at declaration phase
Fix dangling pointer hazard of MLTensorLayout

You can use test mode of machine learning framework with following commands.

Test Image Classifier (Camera + CNN)

sudo /etc/ant/ant-ml --test-image

Test Motion Classifier (Accelerometer + DNN)

sudo /etc/ant/ant-ml --test-motion

The test mode can run solely, without any ANT app or daemon.


throw custom error in asyncValidationErrors

Bluebird api

This is an extension to .catch to work more like catch-clauses in languages like Java or C#. Instead of manually checking instanceof or .name === "SomeError"

example
 req.asyncValidationErrors()
      .then -> User.create req.body
      .then -> res.redirect '/users'
      .catch expressValidator.ValidationError, (e)->
         res.render 'users/create', errors: e.errors, values: req.body

Please, add this trick into package :)

This will be somewhat unnecessary once PR #169 has been released since errors will be returned as part of the promise resolution instead of the promise rejection.

As we changed the API a lot in v3.0.0, this is probably doable now.

@cbovis was right anyway. This feels unnecessary since you can just get the validation result, both v3 API and the new v4 APIs.


error

This is an old version of script. Please pull the current one.

ok i will try

can u tell  me how much time it will take
approximately


bounces up tho the start page

when open dialog,  page scroll up
in django-material/material/static/material/css/materialize.frontend.css
string html, body, main height : 100%

Closing, since no OP activity.


Add an option to save when exit

Yeah, TM allows strings to be tokenized just for space savings.  Keeping TM small was where most of the work went (and where more of the fun came from).  4KB was just a target I fixated on because my hard disk used 4KB clusters (the minimum unit of allocation) ... so a 4097 bytes would consume 8192 bytes of disk space.  Of course this is absurd now, but it was still pretty absurd even then.

Great! Thank you.
Following up on my question regarding binding Ctrl-Space to scan code -57.
It doesn't work for me.  Is this the right code to bind? I used a dos
program that prints scan code. It shows 57 when I press ctrl-space. It
seems like other scancodes are using negative numbers in TM.
On Fri, Oct 29, 2021 at 11:25 PM bhk @.***> wrote:

Merged #1 https://github.com/bhk/tm/pull/1 into main.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bhk/tm/pull/1#event-5543541489, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIGV7FHP6FUPFNMXCYTNXDUJOFXPANCNFSM5G3V2VUQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
Cheers,
LC

57 is the scan code for the spacebar (regardless of which modifier keys are currently held).  Supporting Ctrl-SPC will require an additional BIOS call to inspect the modifier key states.  I'm actually working on this, and will check it in soon.


[MRG] Add some badges in README

Closes #525

ready to merge @nippoo

:star2: :star2: :star2:
omg we are so badged-up now
:star2: :star2: :star2:

we should add another badge
"number of badges: 6"


Update content in home / page

Based on Amil's feedback, there are issues that need to be addressed in the home page:
https://gevuong.github.io/minimal-i18n-with-app-router

[ ] Can't read "Your Digital Health Companion" on home page as the font is the same color as the waveform.
[ ] Text is not centered on home page: "Introducing Virufy, the cutting-edge app that ..." Some weird line breaks happeneing
[ ] Remove "Empower yourself with the latest in health technology." on home page, not adding value
[ ] "*The app is still under development, support us by contributing your data into our data collection app." => "*The app is still under development, support us by contributing your cough sounds into our data collection app."
[ ] "Receive immediate prompt feedback on your cough's characteristics and abnormality profile based on the sound pattern of your cough*" =>"Rapid feedback on your cough's characteristics and abnormality profile based on the sound pattern of your cough"
[ ] Increase font size of "*The results of the analysis done by the system will not replace the diagnosis by a specialized doctor." and replace to say "Virufy will not take place of a doctor and would like to remind you it is your responsibility to seek medical advice from your doctor."
[ ] Replace "Artificial Intelligence (AI) is capable of detecting tiny differences in vocal patterns to detect disease presence." = > "Artificial Intelligence (AI) is capable of detecting minute differences in vocal patterns to detect disease presence."
[ ] Increase font size "Our groundbreaking app employs cutting-edge AI technology to analyze your breathing patterns using deep learning algorithms and audio signal processing techniques."

Some of these issues may need to be discussed with design team in order to progress.
For example, what the color of "Your Digital Health Companion" should be.
Lmk if you have any questions.

Hi, want some help of mine?

The changes in text I can do it for both English and Spanish, for the rest I'm going to use genAI.
[] Can't read "Your Digital Health Companion" on home page as the font is the same color as the waveform.

What about a white text with a text-shadow: 3px 3px 5px #33B49B
[] Text is not centered on home page: "Introducing Virufy, the cutting-edge app that ..." Some weird line breaks happeneing
No problem
[] Remove "Empower yourself with the latest in health technology." on home page, not adding value
No problem
[] "*The app is still under development, support us by contributing your data into our data collection app." => "*The app is still under development, support us by contributing your cough sounds into our data collection app."
No problem
[] "Receive immediate prompt feedback on your cough's characteristics and abnormality profile based on the sound pattern of your cough*" =>"Rapid feedback on your cough's characteristics and abnormality profile based on the sound pattern of your cough"
No problem
[] Increase font size of "*The results of the analysis done by the system will not replace the diagnosis by a specialized doctor." and replace to say "Virufy will not take place of a doctor and would like to remind you it is your responsibility to seek medical advice from your doctor."
Make sense for small displays, it would be better text-[0.6rem] leading-[0.8rem].
[] Replace "Artificial Intelligence (AI) is capable of detecting tiny differences in vocal patterns to detect disease presence." = > "Artificial Intelligence (AI) is capable of detecting minute differences in vocal patterns to detect disease presence."
No problem.
[] Increase font size "Our groundbreaking app employs cutting-edge AI technology to analyze your breathing patterns using deep learning algorithms and audio signal processing techniques."
No problem, I'll do it for 01 and 02.

Does this sounds good for you?

@devfercastro Hi, sure!  The scope of this issue will only be for the English translation.
I reached out to design team to ask what font color and size to use for the following issues.

[ ] Can't read "Your Digital Health Companion" on home page as the font is the same color as the waveform.
[ ] Increase font size "Our groundbreaking app employs cutting-edge AI technology to analyze your breathing patterns using deep learning algorithms and audio signal processing techniques."

In the mean time, feel free to work on the remaining issues.

Thanks. Also I'm a native Spanish speaker if you need help with that language update the tasks of this issue or assign me to a new one.


test-branch/execute-job/fork-branch/8bf82fcc-ec8f-4a21-823e-2f653a3f827e

PR for testing 96a81966587dd8c81df1cfb1bccbcf1dd4be78bf

padding /canonical/self-hosted-runners/run-workflows 96a81966587dd8c81df1cfb1bccbcf1dd4be78bf padding


fix printing of tables inside arrays and https://github.com/JuliaLang/julia/issues/46454

Fixes https://github.com/JuliaLang/TOML.jl/issues/39
Fixes https://github.com/JuliaLang/julia/issues/46454

I've just tested this, and can confirm that in my previously-broken use case, it now works.
One minor comment, that's more style than anything else, might it be possible to use inline Dicts for short expressions? At the moment the eager expansion into non-inline dicts can make the TOML output a bit noiser than need be.
For example, unprocessed:
[["GTEx v8 transcript tpm"]]
stuff="..."
    [["GTEx v8 transcript tpm".loader]]
    stuff="..."
        [["GTEx v8 transcript tpm".loader.loaders]]
        driver = "csv"
        args = { header = 3 }

becomes (via a parsing round-trip)
[["GTEx v8 transcript tpm"]]
stuff="..."
    [["GTEx v8 transcript tpm".loader]]
    stuff="..."
        [["GTEx v8 transcript tpm".loader.loaders]]
        driver = "csv"

            ["GTEx v8 transcript tpm".loader.loaders.args]
            header = 3

which I think is quite simply harder to read.
Would it take much to add a heuristic along the lines of "if number of key-value pairs less than (some N) and inline dict representation is <72 characters long, use an inline dict" ?

Yeah, there are some heuristics we could probably improve here. It would be good to see what other TOML exporters do. Do they have some API where you specify how things should look or do they just go via heuristics etc? Some research here could help us decide how to best move forward.

Glad to see this merged! I'm guessing this will make its way into patch versions of Julia? Or will I need to require Julia 1.9+ in my package?
Lastly, re: style, seems like I should probably make a new issue for that.

Will be in 1.9. Might be in 1.8.4.

Thanks, that's helpful to know :+1:


Documentation for kubectl-gs config override flags

Related to https://github.com/giantswarm/roadmap/issues/1230.
Since we now globally support config override flags in kubectl-gs, we should determine what extra documentation is needed (beyond what is already in the kubectl documentation) to support users in utilizing the command.

closing this issue


Separate out Cuda tests that depend on specific architecture

It's not great that we have tests depending on specific device architectures. @ThomasRaoux, can we generalize these tests or find a different way to filter them in the build system?
https://github.com/openxla/iree/blob/60b8ef4aa4bfc1db2e4ecafb6f3c8dc417a4da2a/tests/transform_dialect/cuda/mma_reduction_layout_analysis.mlir#L26-L34
(changing tags here to unblock our infra process is okay though)
Originally posted by @ScottTodd in https://github.com/openxla/iree/pull/13077#discussion_r1165727354

It's fine to have some tests that can only run on a specific architecture when they're arch-specific tests, but we don't want to in general limit our GPU tests to that. Could we separate them out and specifically label them? This is similar to the case of Vulkan fp16:
https://github.com/openxla/iree/blob/544f7856b7e1cf6a8079cc3488376cd826e34fab/tests/e2e/vulkan_specific/BUILD.bazel#L30

It's fine to have some tests that can only run on a specific architecture when they're arch-specific tests, but we don't want to in general limit our GPU tests to that. Could we separate them out and specifically label them? This is similar to the case of Vulkan fp16:

I agree, I don't think we limit our GPU tests to that, it's just that those are meant to test tensorcore feature. So we should be adding a new tag for that? Let me file an issue.

Yes :-) I already created this issue though!

duh this is the issue...

I think this might have been fixed on https://github.com/openxla/iree/pull/13077 ? We have a bunch of hardware or shader-model -dependent tests but I think they are all tagged at the moment.


503 get unique product id latest UID

Fixes #503

I checked it with my node red test flow: worked!

Integrated in #500 (https://github.com/Scarjit/united-manufacturing-hub/commit/4c2f9854c9ea8bf4eb1b1dc1fdf8f260547e4ae8)


Bump to rc and new config defaults

@jalberto  Closing due to existing duplicate changes.
Thanks for the PR though!


Ability to change stats css position

Currently the stats position is located at the bottom right. It would be good to pass through a style config of some sort to allow for other placement on the screen!

Fixed in v1.0.1


linearizer ast as a tuple of lazyops

moving from ast to *ast will make the diff for multioutput linearizing very minimal!
With this change, opts should be a named arg.

Simple!


The email id field on Sign Up page is a text type field

On the Sign Up Page when we enter the email id without the @ extension also it is getting accepted .
So I would like to change the email id field type.
@QAZIMAAZARSHAD Pls assign this issue to me!

Please do assign this to me.

Please do assign this to me.

Already assigned.
I think you are assigned top other issues as well finish them first.

No
On Mon, 12 Jul 2021, 2:14 pm Qazi Maaz Arshad, @.***>
wrote:

Please do assign this to me.
Already assigned.
I think you are assigned to other issues as well finish them first.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/QAZIMAAZARSHAD/Apni-Dukaan/issues/64#issuecomment-878090613,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARMXVKUWFUB3JWBXHTGJFFDTXKTN3ANCNFSM5AE6IBMQ
.

Please assign this to me

Please assign this to me

This issue is already assigned.


mqtt_quic tls configuration

HI!
 Thanks!

def quic_mqtt_client(client_id):
print(f"set tls cert")
f0 = open(r"./cert/ca/trust_chain.pem", 'rt')
f1 = open(r"./cert/client/tls_lion_cert.pem", "rt")
f2 = open(r"./cert/client/tls_lion_priv_key.pem", "rt")
tls_client = pynng.TLSConfig(mode=pynng.TLSConfig.MODE_CLIENT, ca_string=f0.read(), own_cert_string=f1.read(), own_key_string=f2.read())  # NNG_TLS_MODE_CLIENT
with pynng.Mqtt_quic(address, tls_config=tls_client) as mqtt:
print(f"Make a connect msg")
connmsg = pynng.Mqttmsg()
connmsg.set_packet_type(1)  # 0x01 Connect
connmsg.set_connect_proto_version(4)  # MqttV311
connmsg.set_connect_client_id(f"{client_id}")
connmsg.set_connect_keep_alive(60)
connmsg.set_connect_clean_session(True)
mqtt.send_msg(connmsg)
print(f"Send connect packet msg")
while 1:
pass
I use code above but can not connect server.

TLS in QUIC is not fully supported in NanoSDK now. We are working on it. It would be supported in a couple of weeks.

thanks,I will see weeks later.

Hi @Dawn369
The TLS configuration in mqtt_quic was supported.
And an example examples/mqtt_quic_tls.py was provided


Add warning log to check NetworkPolicy for 15008 denial

This is the top feedback from users running into issues. Example
2024-07-26T17:18:00.953004Z     error   access  connection complete     src.addr=<IP_ADDRESS>:58592 src.workload="shell-56bd5dbdbf-gz6cq" src.namespace="default" src.identity="spiffe://cluster.local/ns/default/sa/default" dst.addr=<IP_ADDRESS>:15008 dst.hbone_addr=<IP_ADDRESS>:80 dst.service="echo.default.svc.cluster.local" dst.workload="echo-66d88ff694-pnk6h" dst.namespace="default" dst.identity="spiffe://cluster.local/ns/default/sa/default" direction="outbound" bytes_sent=0 bytes_recv=0 duration="10002ms" error="connection timed out, maybe a NetworkPolicy is blocking HBONE port 15008: deadline has elapsed"

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

test_ztunnel
1970c8f92a300d42cd68b3ee98df9a135430030c
link
true
/test test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

In response to a cherrypick label: #1229 failed to apply on top of branch "release-1.22":
Applying: Add warning log to check NetworkPolicy for 15008 denial
Using index info to reconstruct a base tree...
M	src/proxy.rs
M	src/proxy/pool.rs
Falling back to patching base and 3-way merge...
Auto-merging src/proxy/pool.rs
CONFLICT (content): Merge conflict in src/proxy/pool.rs
Auto-merging src/proxy.rs
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Add warning log to check NetworkPolicy for 15008 denial
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to a cherrypick label: new issue created for failed cherrypick: #1232

In response to a cherrypick label: new pull request created: #1233


Don't add controller as a panel

Adding the controller as a panel creates an empty visible panel element on the workspace, which shows as a thin black bar (with the dark theme) above the status bar. It creates a new panel for each pane split and never removes them.
As far as I can see there's no need to actually add the controller to the DOM at all. In fact it shouldn't really be a space pen view, thinking about it.

No idea why this remained for so long. This is a very old package, I guess it was required at some points.
:+1:

Shipped with 0.8.3

awesome :+1:


Utilities for converting between JSON and YAML

Describe the feature you'd like to request
If we're going to crowd source project and collection data as suggested here:
https://github.com/hypercerts-org/oso/issues/78
It might be easier to assume that we're using YAML for user contributions
Describe the solution you'd like
Simple utilities to convert between JSON and YAML
Describe alternatives you've considered
N/A

Done here
https://github.com/hypercerts-org/oso/pull/104


Update Code to support Latest Anchor version (0.17.0)

This code/crate only works upto 0.13.0 anchor version
Updated code is found in anchor's repo in tests folder, its very confusing why this repo is not updated with that.

Kindly open this live chat link to talk to the customer service directly on your issue  https://direct.lc.chat/14232768/

not big issue


(MAINT) Add Beaker vcloud hyperisor to Gemfile

vcloud hyperisor is needed by the imaging pipelines so adding this to
the Gemfile.

CLA signed by all contributors.


Add Plausible Analytics for softwareunderground.org

Add script for Plausible analytics.
Fixes #3

@santisoler subdomains will have to be setup as separate entries in Plausible. So if you're going for birs2023.softwareunderground.org then the data-domain has to be set to that instead.

You're right 🤦. I'll wait until we have a subdomain to make the fix.

Fixed in #24


'Insert' is not localized in Add Entity dialog

Storage Explorer Version: 1.11.1
Build: 20191220.2
Branch: master
Language: Japanese/ Korean
Platform/OS: Windows 10/ CentOS 7.6.1810/ MacOS High Sierra
Architecture: ia32/ x64
Regression From: Not a regression
Steps to reproduce:

Launch Storage Explorer.
Open 'Settings' -> Application (Regional Settings) -> Select '日本語' -> Restart Storage Explorer.
Expand one storage explorer -> Tables.
Create one table -> Click ‘追加’ on the toolbar.
Check 'Insert' button in 'Add Entity' dialog.

Expect Experience:
'Insert' is localized.
Actual Experience:
'Insert' is not localized.

This issue also reproduces for Import Entities dialog.

Sending to localization for review

Localized "Insert" to Korean and Japanese in below cases, please check again for new build later than 1/10
Resource ID: 0;"String Table"\0;"Strings"\0;"ButtonInsert"
Relative File Path: drop\loc\en\src\Standalone\resources\EntityEditorDialog.json.lcg
Project: StorageExplorer
Subtenant: StorageExplorer
Resource ID: 0;"String Table"\0;"Strings"\0;"InsertButtonLabel"
Relative File Path: drop\loc\en\src\Standalone\resources\ImportEntitiesDialog.json.lcg
Project: StorageExplorer
Subtenant: StorageExplorer

Hi @lukaschal
Verified on build 20200201.2. This issue has been fixed. So we close it.


Readability Updates to items.json

I've gone through item.json and updated spacing throughout for improved readability. After running npm run build, there were changes to other files as well, did I create the build and update package.json correctly?
Thank you,
Reed

This looks fine to me, although without any changes to the update script your spacing changes will probably be lost.

Thanks Howard, out of curiosity how would I change the update script? I'm not familiar.

In the transform function you would apply your changes with code.
https://github.com/odota/dotaconstants/blob/master/tasks/updateconstants.js#L51
In your case it's probably some string replacement to change the whitespace.


o mudo esta podre

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Hey, can you add some more details about this issue? Some screenshots can be helpful.

Closing the issue since there has been no updates on the information requested. If the issue still persists please feel free to reopen or create a new issue.
Regards,
VS Marketplace Team


refactor: schema ui && types

Description

Parses Schema and generates ui-ready properties at init, for better performance. Also refactorized to support more types of Schemas.
Fixes types

Related issues/external references

Closes #65
Closes #110
Closes #111

Types of changes

Bug fix
New feature

@coderabbitai review


fix(deps): bump pyromark from ==0.6.0 to ~=0.6.0

Hi, pyromark developer here. First of all, thanks for using pyromark in your project. I created this PR as it is safe to pin pyromark to >=0.6,<0.7 as there will be no breaking changes between these releases.

Hello @monosans! Thank you for making pyromark! I evaluated a few different parsers and pyromark was the fastest -- it's a great piece of software.
Thank you for the PR. I'll merge it now.


SampleV2CredentialProvider.dll is not being triggered on authentication of user (Win2016)

I am new to windows app development and just trying to get get the sample running. Using windows 10 sdk 10.0.18362.0. The sample code compiles and the dll is built. Loading the dll with the registry on a Windows 2016 vm and tested a few windows authentication from the console but it does not look like the dll is being triggered. Is it expected that console login would trigger the dll?

Same issue? Did you find any solution?

Did a tile been created on the login screen?

I've fixed the problem by installing the vcredist_x64 package.

@professormahi
I have installed the vcredist_x64 package, but still got the issue. Could you please give me some help about this?

@professormahi
I have installed the vcredist_x64 package, but still got the issue. Could you please give me some help about this?


Deleted unused domain and updated the other one

Requirements

[x] You have completed your website.
[x] The website is reachable.
[x] The CNAME record doesn't contain https:// or /.
[x] There is sufficient information at the owner field.

Description

Link to Website

@wdhdev, I have updated the records as such
Here is vercel TXT record verification details:
vc-domain-verify=yuki.is-local.org,2e1a5aab03d921371903


BeforeSave Callback receives an empty Model

GORM Playground Link
https://github.com/go-gorm/playground/pull/248
Description
var model = &Model{ID: 3, Title: "Hello World"}

...

DB.Model(&Model{}).Where("id = ?", model.ID).Updates(model)

When saving/updating a model with a BeforeSave(db) error callback the model on which the callback is executed is empty since version 1.20.6.
In version 1.20.5 and before the model in this callback has been the model which is given in the .Updates(model) call. Now it seems it receives the model from the .Model(&Model{}) call.
The expectation is, that the BeforeSave is called on the model instance which is given to the Updates(...) call and not to the empty model instance of the Model(...) call.

Call hook methods based on model value is expected, it was a bug before v1.20.5, you could use it like:
db.Model(model).Where("id = ?", model.ID).Updates(model)

Call hook methods based on model value is expected, it was a bug before v1.20.5, you could use it like:
db.Model(model).Where("id = ?", model.ID).Updates(model)


Troubles with "Python Debugger Setup & Example" page

On MacOS m1 can not start python process.
signalPipenvNotFound gives error "Error: Pipenv command could not be found." despite the fact that
$ /usr/bin/which pipenv
/opt/homebrew/bin/pipenv

returns correct path

Try something like
PBPharoPipenvProcess pipenvPath: FileLocator home / '.pyenv/shims/pipenv'.

Is this still a problem ?
It has been working for me on an M2 Pro with pipenv installed by HomeBrew in exactly the same path.
You could try running PBPharoPipenvPathFinder class>>#resolvePipenvPath manually.

PBPharoPipenvProcess pipenvPath: '/opt/homebrew/bin/pipenv' asFileReference

Had to do this.
Thanks for ping!

OK, thx.
If you find time to try again in the future to start with a new GT, you can try again.
Closing for now.


Runing time

Hi, in my practice, it takes too long to test once on MOT17. What is the time you take when you were testing?

Similarly, the training process is also very slow compared with other mot methods.

Similarly, the training process is also very slow compared with other mot methods.


Freecen2Place to reflect the FreecenPiece Online status, connect the Freecen2Piece to the VLD file and the SearchRecord has the Freecen2PlaceID

This will ensure that all the required information in within the perview of the Freecen2 collections

Code has been added to connect the the vld to Freecen2Places, Piece and District. Deployed to test3

Completed and deployed to test3


[WIP] Update wxGTK and use GTK3 version

Motivation for this change
Part of our slow move to GTK3 where available.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

I cannot build this right now because nix keeps failing with Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS and I'm not sure what to do with it. I've built this some time before on staging though.
Can't test properly either because glibc is updated on master and locale databases are incompatible.

Rebased, ran several applications and confirmed they work.
This will require frequent rebases so I'd like to have this merged faster rather than later; however this still requires more testing; I'll try to reserve some time for this but probably won't be able to cover it fully.

You should not need to fix all packages that depend on the GTK change.

What remains to be done here? Would be nice to have the new version of wxGTK.

Would be nice to get this merged. The wxGtk update blocks at least the update of filezilla since several releases.

@abbradar I suggest to get this in as soon as possible, considering the branch off in 4 weeks.

@abbradar are you still working on this?

This became sooo stale while I wasn't here; it's a pity but it needs to be redone almost from scratch and I don't have needed time now.


Bump Ruby from 3.3.1 to 3.3.2

Heroku doesn't support 3.3.2, so this failed during the deployment attempt. Hopefully Heroku will add support for this new Ruby version soon.


Add detail to "Getting Started" section of README

Adding links / additional detail to hopefully make "Getting Started" easier.

@Marigold to avoid accumulating more conflicts in this, shall we just merge and add new PRs for additional changes to the readme?

Good call, let's rebase and merge this.


[Tooltip] Export TooltipArrowOwnProps

Bug report
Current Behavior
Currently the TooltipContentOwnProps and TooltipTriggerOwnProps are exported, which is handy when typing exposed props that a custom implementation can override. However, it is necessary to "hand type" the Arrow props (i.e width, height, offset) because they are not exported.
Expected behavior
TooltipArrowOwnProps are exported to expose a consistent typing of the underlying primitive.
Suggested solution
Export TooltipArrowOwnProps
Your environment

Software
Name(s)
Version

Radix Package(s)
@radix-ui/react-tooltip
0.0.18

I was grabbing the TooltipContentOwnProps off of the 'root' export... I now see that it is not explicity exported from the package. Thanks for the additional tip. However in my case it is not the styling, but the actual API props of the underlying Arrow/Content/Trigger primitives I am looking to expose through my interface. And I was thinking rather than build a facade to the primitive API, why not just reference the underlying types directly as I am doing below with contentProps:
import * as TooltipPrimitive from '@radix-ui/react-tooltip';

export interface TooltipProps {
  text: string;
  arrowProps?: {
    width?: number;
    height?: number;
    offset?: number;
  };
  contentProps?: TooltipPrimitive.TooltipContentOwnProps;
}

I had no idea you could even grab them like that, that's kinda weird considering they're not exported haha.
Can you show me a fuller example of what you're doing?
That will help us understand and decide whether we should consider exposing them or having the capability to grab them somehow.
Thanks!

Actually rethinking my approach, I forgot about extends... this is my latest below. I basically want to seamlessly expose as many underlying primitive props as makes sense for my implemenation.
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
import React from 'react';

export interface TooltipProps
  extends TooltipPrimitive.TooltipOwnProps,
    TooltipPrimitive.TooltipContentOwnProps {
  text: string;
  arrowOffset?: number;
}

const Tooltip = (props: TooltipProps): JSX.Element => {
  return (
    <TooltipPrimitive.Root delayDuration={props.delayDuration}>
      <TooltipPrimitive.Trigger>
        Some Trigger
      </TooltipPrimitive.Trigger>
      <TooltipPrimitive.Content
        align={props.align}
        alignOffset={props.alignOffset}
        side={props.side}
        sideOffset={props.sideOffset}
      >
        {props.text}
        <TooltipPrimitive.Arrow width={16} height={6} offset={props.arrowOffset} />
      </TooltipPrimitive.Content>
    </TooltipPrimitive.Root>
  );
};

Tooltip.defaultProps = {
  align: 'start',
  alignOffset: -8,
  arrowOffset: 8,
  delayDuration: 500,
  side: 'top',
  sideOffset: 4,
};

export default Tooltip;

@mjoyce thanks for the example! 🙏
If what you're after is getting the "own" props for each part (not including the DOM attributes) then you should be able to use Polymorphic.OwnProps<typeof TooltipPrimitive.Content>, Polymorphic.OwnProps<typeof TooltipPrimitive.Arrow>, etc
This is the same utility we use internally ourselves. You can see on that link I posted earlier how it's used.

Thanks for the help @benoitgrelard ! Taking a deeper look at the Polymorphic stuff. Awesome lib, thanks again!


frdm_k64f:running test cases error

Describe the bug
running test case /tests/subsys/power/power_mgmt/ error, make system crash.
To Reproduce
Steps to reproduce the behavior:
west build -b frdm_k64f tests/subsys/power/power_mgmt/
west flash
see error
*** Booting Zephyr OS build zephyr-v2.3.0-2118-g94721b316f63  ***
Running test suite power_management_test
===================================================================
START - test_power_idle
give way to idle thread
PASS - test_power_idle
===================================================================
START - test_power_state_trans
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/power/power_mgmt/src/main.c:E: ***** BUS FAULT *****

E:   Stacking error
E:   Imprecise data bus error
E:   NXP MPU error, port 3
E:     Mode: Supervisor, Data Address: 0x20001110
E:     Type: Write, Master: 0, Regions: 0x8200
E: r0/a1:  0x00000000  r1/a2:  0x00001b55  r2/a3:  0x200015b4
E: r3/a4:  0x00000000 r12/ip:  0x00000000 r14/lr:  0x00000000
E:  xpsr:  0x00000000
E: Faulting instruction address (r15/pc): 0x00000000
E: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0
E: Current thread: 0x200007c8 (idle 00)
E: Halting system
Environment (please complete the following information):
OS: Fedora28
Toolchain: Zephyr-sdk-0.11.3
Commit ID: g94721b316f63

@hakehuang  @dleach02 FYI

same situation here
Running test suite power_management_test
===================================================================
START - test_power_idle
give way to idle thread
 PASS - test_power_idle
===================================================================
START - test_power_state_trans

    Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/power/power_mgmt/src/main.c:E: ***** BUS FAULT *****
E:   Stacking error
E:   Imprecise data bus error
E:   NXP MPU error, port 3
E:     Mode: Supervisor, Data Address: 0x20001110
E:     Type: Write, Master: 0, Regions: 0x8200
E: r0/a1:  0x00000000  r1/a2:  0x00001b55  r2/a3:  0x00000000
E: r3/a4:  0x00000000 r12/ip:  0x00000000 r14/lr:  0x00000000
E:  xpsr:  0x00000000
E: Faulting instruction address (r15/pc): 0x00000000
E: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0
E: Current thread: 0x200007c8 (idle 00)
E: Halting system

================================ End =================================

and all our drivers using the device_pm_control_nop controler.

Folks, The idle stack is not big enough so you end up with the fault occurring when trying to print an assert message. This actually hides your real problem with this test on this board.
Add CONFIG_IDLE_STACK_SIZE=640 to the prj.conf file.
No when you run the tests you will see the following error:
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/power/power_mgmt/src/main.c:45: sys_set_power_state: (device_power_state == DEVICE_PM_ACTIVE_STATE is true)
ASSERTION FAIL [!(thread->base.user_options & ((1UL << (0))))] @ WEST_TOPDIR/zephyr/arch/arm/core/aarch32/cortex_m/thread_abort.c:35
essential thread aborted
E: r0/a1:  0x00000004  r1/a2:  0x00000023  r2/a3:  0x00000080
E: r3/a4:  0x00000000 r12/ip:  0x00000000 r14/lr:  0x0000220d
E:  xpsr:  0x61000000
E: Faulting instruction address (r15/pc): 0x00006410
E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
E: Current thread: 0x200007c8 (idle 00)
E: Halting system
I added some debug and can tell that the dummy function for suspend is never called. I'm not familiar with device power management so I'm curious if this test works with any additional boards?

@dleach02 only frdm_k64f is enabled for this test application for NXP platform.

I'm not familiar with the power management subsystem. This is a brand new test so it isn't clear to me if there is an underlying failure or not. Someone familiar with power management will need to look at this to ensure that 1) the test is structured correctly and 2) that power management is actually implemented for the k64f.

@dleach02 remove the board from the allowlist

@dleach02 v2.4.0-rc1 still not removed

@dleach02 What is your solution for that task? Seems just necessary to remove board from the allowlist.


error[E0432]: unresolved import ark_std::UniformRand

when building ff with cargo.toml:
ark-std = { git = "https://github.com/arkworks-rs/utils", default-features = false }

I think you may need to cargo update? This was introduced a couple of weeks ago to ark-std

I think you may need to cargo update? This was introduced a couple of weeks ago to ark-std

Yes, this fixed it, my bad

Yes, this fixed it, my bad


avoid double closing file in case of error

There no need to close the file at all. The File struct uses reference counting to automatically close the underlying file descriptor when the last reference goes out of scope. The way to go is to remove all calls to File.close(), IMO.


Global shader uniforms sampler2d not updating correctly in Godot 4.1.1

Godot version
v4.1.1.stable.flathub [bd6af8e0e]
System information
Linux pop-os 6.4.6-76060406-generic, RTX3060
Issue description
Setting a texture as a global shader parameter using RenderingServer.global_shader_parameter_set() does not seem to update the shader properly. However, setting the same texture directly on the shader material using material.set("shader_parameter/mask_texture", texture) works as expected.
BTW. I am also seeing error
E 0:00:19:0820   sd.gd:22 @ _draw_texture(): Condition "!global_shader_uniforms.variables.has(p_name)" is true.
  <C++ Source>   servers/rendering/renderer_rd/storage_rd/material_storage.cpp:1684 @ global_shader_parameter_set()

Steps to reproduce

Add global shader parameter of type sampler2d
Create a basic shader with a uniform sampler2D to accept a texture.
Generate a texture in GDScript (for example, a simple black/white mask).
Attempt to set this texture as a global shader parameter using:

RenderingServer.global_shader_parameter_set("uniform_name", texture)

Observe that the shader does not update with the new texture.
Now, set the texture directly on a material instance using:

material.set("shader_parameter/uniform_name", texture)

Observe that the shader updates correctly with the new texture.

Expected behavior:
Setting a global shader parameter using RenderingServer.global_shader_parameter_set() should update all shaders that utilize this global uniform, just as setting it directly on a material instance does.
Minimal reproduction project
not included

Reproduction project: Test.zip
Attempting to set the global texture emits errors:


Using KafkaConsumer in Secor

Hi,
Are there any plans to use the new KafkaConsumer provided with kafka 0.10.x instead of the SimpleConsumer currently being used?

Secor is actually using the high-level consumer for its main ingestion
logic.  The SimpleConsumer is only used in monitoring portion to monitor
the offset lag.
On Fri, May 26, 2017 at 10:40 AM, Vipul Singh<EMAIL_ADDRESS>wrote:

Hi,
Are there any plans to use the new KafkaConsumer provided with kafka
0.10.x instead of the SimpleConsumer
https://github.com/pinterest/secor/blob/master/src/main/java/com/pinterest/secor/common/KafkaClient.java#L31
currently being used?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pinterest/secor/issues/341, or mute the thread
https://github.com/notifications/unsubscribe-auth/AHCX_-E4QSme7RAMy0zcSIk7-fb1aCwVks5r9w6AgaJpZM4Nn35K
.

@HenryCaiHaiying Henry, we have seen issues with rebalancing, and hence wanted to move to the new KafkaConsumer. I see high level consumer is deprecated in the new version, and the new[Kafka Consumer] (https://github.com/apache/kafka/blob/<IP_ADDRESS>/clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java#L508) uses kafka storage/coordination, which overall helps reducing the load on zookeeper. Hence we are eager and excited to move to the new KafkaConsumer.
Do you think this might be on the roadmap?

Based on our experience, the unbalancing is usually caused by the load on
one particular consumer node, either because of GC or some other overhead.
Zookeeper usually is not a problem unless you have really big number of
partitions (in the order of 1000).
Given that we are already moving to a newer version of secor (merced)
internally, we would not intend to do any big changes to secor.  But we
welcome community to take on this endeavor of trying the new consumer.  The
new consumer programming model is a little bit easier to program than high
level consumer and it has some new API for you to rewind or subscribe to
one partition.  I don't think performance wise it would give you too much
boost though.
On Tue, May 30, 2017 at 10:51 AM, Vipul Singh<EMAIL_ADDRESS>wrote:

@HenryCaiHaiying https://github.com/henrycaihaiying Henry, we have seen
issues with rebalancing, and hence wanted to move to the new KafkaConsumer.
I see high level consumer is deprecated in the new version, and the
new[Kafka Consumer] (https://github.com/apache/
kafka/blob/<IP_ADDRESS>/clients/src/main/java/org/apache/
kafka/clients/consumer/KafkaConsumer.java#L508) uses kafka
storage/coordination, which overall helps reducing the load on zookeeper.
Hence we are eager and excited to move to the new KafkaConsumer.
Do you think this might be on the roadmap?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pinterest/secor/issues/341#issuecomment-304956699,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHCX_2rAbcM83OvJnllTb9I_8KIxzLqHks5r_FcwgaJpZM4Nn35K
.

@HenryCaiHaiying Thanks for the quick update.
I have a three followup questions,

Are there plans to open-source merced in near future?
Is secor going to be deprecated in favor of merced?
Would it be possible to know more about how merced is different from secor( I was reading  Pinterest Medium Article (incase there is a plan to open-source it), it would be really helpful.

Thanks once again!

Thanks for faithfully following the pinterest development.  We have plans
to open source merced but it was always de-prioritized.  In merced, we used
the low-level simple consumer and wrote our own work dispatcher to get
precise control.  And it's based on multi-tenant model to host all topics
in the same cluster (vs. secor, we deployed many clusters).
On Tue, May 30, 2017 at 4:06 PM, Vipul Singh<EMAIL_ADDRESS>wrote:

@HenryCaiHaiying https://github.com/henrycaihaiying Thanks for the
quick update.
I have a three followup questions,

Are there plans to open-source merced in near future?
Is secor going to be deprecated in favor of merced?
Would it be possible to know more about how merced is different
from secor( I was reading Pinterest Medium Article
https://medium.com/@Pinterest_Engineering/scalable-and-reliable-data-ingestion-at-pinterest-b921c2ee8754
(incase there is a plan to open-source it), it would be really helpful.

Thanks once again!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pinterest/secor/issues/341#issuecomment-305033847,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHCX_8nL5VIIIMXeM6wgpbKZ9H52x_WBks5r_KECgaJpZM4Nn35K
.

Thanks so much for the update!


Data size exceeds max length that array can contain

TPC-DS q24a failed by the following exception:
Error: Error running query: java.io.IOException: nativeEvaluate: evaluate failed with error msg Capacity error: array cannot contain more than<PHONE_NUMBER> bytes, have<PHONE_NUMBER> (state=,code=0)

@zhztheplayer , "array cannot contain more than" is this reported in memory management codes? I can't find in nativesql codes. Since Q24a will use crazy a lot memory for some tail tasks for materialization, I think we can only increase off-heap memory for now ?
@zhouyuan , any comments? It is strange why it reported this error this week?

@zhztheplayer , "array cannot contain more than" is this reported in memory management codes? I can't find in nativesql codes. Since Q24a will use crazy a lot memory for some tail tasks for materialization, I think we can only increase off-heap memory for now ?
@zhouyuan , any comments? It is strange why it reported this error this week?

It seems like arrow builder get overflowed. @xuechendi please refer to
https://github.com/apache/arrow/blob/843e8bb556a03f0e4c18841a623d1a0e9c236ee5/cpp/src/arrow/array/builder_binary.h#L253-L254

It seems like arrow builder get overflowed. @xuechendi please refer to
https://github.com/apache/arrow/blob/843e8bb556a03f0e4c18841a623d1a0e9c236ee5/cpp/src/arrow/array/builder_binary.h#L253-L254


ETABS V22.0.0 Section cuts Interactive database after running the model

ETABS V22.0.0, supports modifying section cuts through the interactive database after running the model.
Is it possible to make the tool work without unlocking the model ?

Funny you mention this, I was just reading through the ETABs v22 updates today and noticed this line in the update documentation.
Yes, I will work on incorporating this in the v22 updates! Glad to see CSI is working on some of the eng tips post I seemed to have made.
https://www.eng-tips.com/viewthread.cfm?qid=516535

Yes, CSI listens to tickets sent to them.

Following up on this, it seems that when you add a section cut when the model is locked, all analysis results are lost unfortunately.
I have opened up Incident #411116 with CSI to hopefully get this resolved.


[YBUG.IO] #60 - Hi, please help me

Hi, please help me
On 01/04, after linking my Metamask wallet, I transferred 0.09523217 BTC to my BTC address in Sovryn (bc1qjxq5sk9myjnp4ytl7lekl9hv4v5druvhaxr09jvr3asdgyrfnnlq4yjsek) using the TOP-UP feature (TXID: a44a1c07d8cf91e6407528ea195cb2dc44942b4fad60f0292bf01c46565c3f7d - Completed).
They supposed to be credited as RBTC in Metamask, but I'm still waiting for those RBTCs.
In addition, after the problems that occurred on the sovryn site, a new BTC address has generated me today (bc1qwsqxj5sxzhkx2zakvlygnwgusy2sccwun5g6v5ypsk0x6mu630ns7g52g6).
How can I get those BTC back?
plaease help me, thanks!
Source url: https://live.sovryn.app/wallet
Reported by<EMAIL_ADDRESS>Reported at: 14 Jan at 23:05 UTC
Location: AR, Tucuman, Yerba Buena
Browser: Chrome 87.0.4280.141
OS: Windows 10.0
Screen: 1920x1080
Viewport: 1920x941
Screenshot:

For more details please visit report page on Ybug:
https://ybug.io/dashboard/reports/detail/qcymr4br2yzqp9wff5j1

funds transferred

funds transferred


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_403f1951-e8dd-4e63-abcb-36ca85b9f370/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_403f1951-e8dd-4e63-abcb-36ca85b9f370.git

Docs Build status updates of commit 0c63c33:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-UserAccountBuildPermissionInsufficientError] Owner v-alji no longer has Read permission of the repository https://github.com/opstest2/docs-archive-test-source. It might be due to recent GitHub changes on SSO. Please ask the owner v-alji to logon to Docs Portal https://ops.microsoft.com once again. If it is not the case, please ask anyone of Admin permission of the repo to assign a new owner via Docs Portal https://ops.microsoft.com

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


[material-ui] Issues with NextJS 14.1

Steps to reproduce
Link to live example: (CodeSandbox)
Steps:

Create a NextJS project with latest version (14.1) and use App Router
Install latest version of MUI and use AppRouterCacheProvider and CssVarsProvider
Put a <Dialog> component in page.jsx (if you don't put any component, you will have other errors)
Run the project

Current behavior
Issues in the console:
Attempted import error: 'useLayoutEffect' is not exported from 'react' (imported as 'useLayoutEffect').

Import trace for requested module:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
Expected behavior
Should run without issue
Context
No response
Your environment

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

Search keywords: nextjs app router

Looks like something is messed up with ESM/CJS imports. I'm not sure on which side, though.

Appears to be a bug in Next.js, which has apparently been fixed in their 14.1.1 canary https://github.com/vercel/next.js/issues/61185


MSL: Wrongly named point_size builtin

When generating MSL shader source with "MSLConfiguration.is_rendering_points" set to true, there's a mismatch in naming for the [[point_size]] builtin between output block and assigment in vertex function:
struct mmain_out
{
    float3 v_bary [[user(locn0)]];
    float4 gl_PerVertex_gl_Position [[position]];
    float gl_PerVertex_gl_PointSize [[point_size]];
    float gl_PerVertex_gl_ClipDistance /* [[clip_distance]] built-in not yet supported under Metal. */;
};

vertex mmain_out mmain(mmain_in in [[stage_in]], constant PushConstants& vs_pcs [[buffer(16)]], uint gl_VertexIndex [[vertex_id]], uint gl_InstanceIndex [[instance_id]])
{
    mmain_out out = {};
    out.v_bary = in.a_bary;
    out.gl_PointSize = 2.0;
    out.gl_PerVertex_gl_Position = (vs_pcs.mvp * in.a_position);
    return out;
}

float gl_PerVertex_gl_PointSize [[point_size]];
vs
out.gl_PointSize = 2.0;

@billhollings Any idea here?

I'll have a look.
@h3xl3r   Can you post a file containing the original SPIRV for testing please? Also...if you have the original source (I assume GLSL or HLSL) that the SPIRV was created from, that would help in understanding the intention.
Thanks...
...Bill

Here's the files.
shader.glsl is the original GLSL source input to glslang, with options:
EShMessages options = EShMsgDefault;
options = (EShMessages)(options | EShMsgSpvRules);
options = (EShMessages)(options | EShMsgVulkanRules);

shader.spv is the SPIR-V output of glslang.
shader.msl is the output of spirv-cross, with (relevant) options:
spirv_cross::MSLConfiguration default_msl_cfg;
default_msl_cfg.vtx_attr_stage_in_binding = 0;
default_msl_cfg.flip_vert_y = false;
default_msl_cfg.flip_frag_y = false;
default_msl_cfg.is_rendering_points = true;

I checked, this regression was introduced in 0943d9f, before that generated MSL for point builtin is fine.
shader.glsl.zip
shader.msl.zip
shader.spv.zip

I have patched it in my local branch by replicating what is being done for the [[position]] builtin for MSL, but as I am not 100% clear on why this is being done, I would like to see if the author of the breaking changes can come up with a better fix first.

Pull request #67 submitted to fix this issue.
Fix is to avoid qualifying in/out struct members that are built-ins, which have unique names. In/out struct members that are not built-ins will still be qualified to avoid name-conflicts during in/out struct flattening.
In that sense, this fix is opposite to local fix from h3xl3r. Treatment for gl_Position built-in now reverts to earlier behaviour.


Refactor initialization and add python script to generate debugging report

High Level Overview of Change
This refactors the initialization code so the "disable master key" is used as a milestone to set the door's initial sequence numbers. It assumes all transactions before that one are initialization transactions. It also adds a python script to generate a debugging report from the mainchain and sidechain logs.

[X ] Bug fix (non-breaking change which fixes an issue)
[X] Refactor (non-breaking change that only restructures code)

I want github coin pre-sale


Cannot install: ENOENT no such file or directory

I was so excited to find out that there indeed is a F7 Nuxt integration. That's so great, I thought ... but  my very first attempt to install failed. Any ideas why?
npx sao nuxt-community/nuxt7 nuxt7-app

C:\Users\adria\AppData\Roaming\npm-cache\_npx\11096\node_modules\sao\bin\sao
error Error: ENOENT: no such file or directory, link 'E:\REPO\_Vue.js Udemy\_nuxt\home.vue' -> 'C:\Users\adria\.sao\repos\nuxt-community%%nuxt7\examples\kitchen-sink\pages\index.vue'

Hi. Windows problem should have been resolved. Would you please try again and ping me if having problems?


Improve code generation by considering relationships between frames

Currently, Helix Pi is bad at generating complex code because the search space is very large, even with genetic algorithms.
Even in a trivial example, like mario moves to the right when I press the right arrow, there are a huge number of incorrect programs that can be generated and a comparatively small number of correct programs.
Currently the approach is to just generate random code and see how it performs again the defined animation.
What if, instead, we diff the state between each frame of the animation. We then consider what functions could be called to enact a given state change. We can then consider which frames contain a given state change, and determine an appropriate conditional by finding one that is true for the frames where the state change should occur and false for the rest.
In order to do this, we would need computer comprehensible information about what the outcome of calling a function is, ideally expressed in terms of relationships. (increasing or decreasing given properties)

I've begun prototyping this approach with https://github.com/helix-pi/sherlock-pi


Android Can not build. Please help!

I would like to introduce FireBaseSDK to the title that I am currently using with Unity 5.6.7f1, but I'm having trouble being unable to build with errors.
If you know the solution, please teach.
Error 1
Create an empty project, install the necessary packages from the official Firebase site, and build, the following error occurs.
CommandInvokationFailure: Unable to merge android manifests. See the Console for more details

CommandInvokationFailure: Unable to merge android manifests. See the Console for more details.
C:\Program Files\Java\jdk1.8.0_171\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:/Users/ユーザー名/AppData/Local/Android/Sdk\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity\5.6.7f1\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -

I confirmed this.
AndroidManifest merge fail. Please help! #192
Certainly by updating to Unity2018, it has been confirmed that the build is successful.
But I want to introduce Firebase SDK with Unity 5.6.7f1
Is it impossible to build with Unity 5.6.7f1?
Error 2
If UnitySDK version is 26.1.1 with Unity 5.6.7f1, the following error will occur this time.
CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct. See the Console for more details.

Please lend me your wisdom

Hi @yuya0902
#192 is a pretty old thread...
Are you sure you setup your Android SDK correctly?  The log literally asked  "Please make sure the android sdk path is correct."
One quick way for you to test if your Unity environment is setup correctly is to using our Unity quickstart.
https://github.com/firebase/quickstart-unity
Are you seeing the same error when building any of these testapp?  If so, please provide more detail, ex. log, plugin you used, etc.
Thank you,
Shawn

Hi, for clarity as well, are you able to produce Android builds without the Firebase SDK?
Older versions of Unity do not work with newer versions of the Android SDK due to the fact that the command line tools that Unity used to use from the Android SDK did change at one point. If you are unable to produce an Android build whether or not you include the Firebase SDK, you may try this workaround:
https://answers.unity.com/questions/1323731/unable-to-list-target-platforms-please-make-sure-t.html
Although my personal (not official) recommendation would be to update Unity if possible. Newer versions of Unity (2019) give you the option of installing a version of the Android SDK with the version of Unity you're using to avoid this sort of issue in the future.

@yuya0902 since we haven't heard from you we're closing this issue.


How about adding contrast to @syntax-selection-color?

Hi, @tpoisot, I really like your theme!
But I find @syntax-selection-color too subtle.
How about pumping its contrast a little?
I personally changed it to hsl(0, 0%, 88%).

Thanks!
Why not... I'm going to make it more contrasted for sure.


Remove deprecated withStyle/makeStyle from Irregularity, Create and Edit forms, Success, Fail and Actions components, Stepper icon

Removed deprecated withStyle/makeStyle for IrregularityForm, Create and Edit forms, Success, Fail and Actions components, Stepper icon.
Refactor code, fix responsive styles, remove hardcoded values.
Fix action buttons' hover effects.

Small change requests and amazing job on this tedious task! 🚀

Thank you for the review and for suggesting these improvements!
I updated the PR.


Generating training material - F/B reconstruction

In the paper you mention that "Levin's F,B estimation technique" was used. That paper however only gives a very brief mention of what method was used for reconstructing.
Now I'm trying to see if it would be doable to fine-tune this model to work with higher resolutions (around 1K), which means I want to generate some extra training data. Would you have any resources that could help me implement Levin's? (Or even better, how did you do it?)

Same ask. Previously, I use the cropped and resized fg, bg, alpha to compose images online without the F/B reconstruction. I am not sure if that makes performance worse. And I also try the fg extension code provided in this GitHub and I found sometimes the reconstructed fg is not good enough so I dropped it.

where is the FG extension code @zoezhou1999. When I open the link in Readme it gives 404.

A commit in December moved the file.
This is the last version where the file still was in the same location:
https://github.com/MarcoForte/closed-form-matting/blob/622a6b74f333cb6cf9d5458a16302ab8b605c69a/solve_foreground_background.py
This is the new location:
https://github.com/MarcoForte/closed-form-matting/blob/master/closed_form_matting/solve_foreground_background.py


edge-functions: Deno.env should contain the same environment variables as in production

Describe the bug
Running edge functions locally with netlify dev, Deno.env contains all environment variables inherited from the CLI's shell. This is different from production, where it will only contain env vars specified in the Netlify UI, and two Deno-specific ones. This should be replicated in local dev.
One possible solution is to work with downstream @netlify/edge-bundler, and pass the --allow-env=... flag to only allow access to the environment variables that'd also exist in production:
https://github.com/netlify/edge-bundler/blob/0d2c6af674d30f0322bf376ad66acb0d5b5b0124/src/server/server.ts#L113
Steps to reproduce
Write an edge function, log Deno.env.toObject(). It should contain just placeholders for DENO_REGION and DENO_DEPLOYMENT_ID (probably not even that), but instead it contains all env vars inherited from the CLI's shell.
Configuration
No response
Environment
not relevant

It should contain just placeholders for DENO_REGION and DENO_DEPLOYMENT_ID (probably not even that), but instead it contains all env vars inherited from the CLI's shell.

It also needs to contain the environment variables loaded from the API, which are merged into process.env. This is also the case with serverless functions.

One possible solution is to work with downstream @netlify/edge-bundler, and pass the --allow-env=... flag to only allow access to the environment variables that'd also exist in production:

This does not work, because first of all we would need to remove --allow-all, because it overrides --allow-env. But the real problem is that DENO will through once you try to access an not allowed  environment variable. So doing Deno.env.toObject() throws PermissionDenied: Requires env access to "DENO_DEPLOYMENT_ID", run again with the --allow-env flag
I guess we have to explicitly set the environment variables.


Parse argument function changes the argc value

The parse function below reset the argc value to one.
https://github.com/jarro2783/cxxopts/blob/b0f67a06de3446aa97a4943ad0ad6086460b2b61/include/cxxopts.hpp#L1333-L1334
That function should not change that value, which is out of expectation.

I make it a backup. The function doesn't change argv.

@nineKnight
Thanks.
The reason for me to come up with this question is that I want my program to also print out help if there is no option provided.
I try to check if the argc is 0 or not but I found that after the parse function is called. That value gets updated to 0. It means that I need to check the argc before that call. That is unexpected as I think it should not be too difficult to avoid updating that value.

Get into the source code, maybe @jarro2783 wanna return the number of args that haven't handled, but the function has already made to returns ParserResult. You can refer to src/example.cpp.

I do plan to get to this. See #123.


Remove lifecycle from ServiceStore API

lot has changed since ServiceStore was originally built, and this
feature doesn't make as much sense now (and is causing difficulties).
The primary reasons to move forward on removing this now are:

LifecycleRegistry is not thread safe. In a recent update, it now also
enforces main thread interaction.

AiAi's current usage patterns are not owned by a lifecycle at all, so
we have to synthetically create one, anyway.

We're only using the lifecycle functionality to trigger cleanup on
destroy, so we don't lose a lot by removing this. But we need to take
care in some contexts to make sure to clean up any owned stores.

Doing some rabbitting.

I restored the AndroidSqliteDatabaseManager auto-lifecycle-lookup changes, it appears a number of tests were depending on it. Since the lifecycle parameter is already currently nullable, the change isn't needed as part of this PR to accomplish my goal.


added support for registerModule

@gilamran I'm merging this in order to not block you, but take into account that this is risky business. this is classic inside out pattern, creating and api without having e2e that actually uses it in real use case. risk is that you make assumptions about how this is going to be used without validating them.

What would you suggest? e2e?


Don't use COUNT when not necessary

Upstream: https://github.com/davidcelis/api-pagination/pull/132


Auto deploy did not run the app successfully

Auto deploy to bluemix missing entry for Simulated Instrument Analytics in VCAP_SERVICES
"What is the impact on my portfolio if the S&P 500 goes down 5%?"
Does not return a response for the auto deployed app, but running the app locally, it does work.
WORKSPACE_ID set in runtime env was not used, pushed a change to set the string in /lib/api/conversation.js and the conversation started (intro text, and responses to hello and How are my portfolio listing?)

Let's talk Monday - but we don't want to hard code env vars values in the actual source code.

@ljbennett62
I tried the auto deploy again in bluemix production, using the configuration instructions on this site, and it worked perfectly.  I must have made some mistakes the first time.  Closing this issue.


feat: support "legacy mode" opt-in

Fixes #30 by introducing a "legacy mode" plugin.
It appears that JupyterLab applies a "last wins" approach to plugins.[^caveat] Therefore, we don't actually need to disable the built-in notebook content factory; we can just shadow the token. We can add a second plugin that checks which content provider is registered, and sets up the context menu if the default plugin is not enabled.
To use legacy mode, disable the jupyterlab-mystjs:plugin extension:
jupyter labextension disable jupyterlab-mystjs:plugin

[^caveat]: I don't know this to be true, and can't find any docs. If it turns out this doesn't always hold, then we should be able to rework this.

I can't seem to disable the plugin? Commenting out the plugin works as expected and brings back the previous behaviour.

@rowanc1 I keep doing this — I wrote jupyterlab-mystjs as jupyterlab-myst :facepalm:
Try the revised snippet (and note that jupyterlab-myst is probably disabled now, if you had it co-installed)

Works great! I should have caught that as well, easy to not see it.
I think the only other thing for this PR is to copy the description into the README, it would be great to do a release later today even. I would like to do a quick pass on a few style improvements to keep those moving.

OK - there's a chance that this will break in the wild, because of how JupyterLab handles tokens. This is only temporary, and it seems to work. If it fails, I have an idea for another approach, but are you happy to release with this variant and only "fix" it if its actually broken?

Yep, I think the user base is still small and realizes this is still alpha, so having them help us with real-world testing while we are still early is a good approach!
We will fix it if we need to. :)


[FEAT] Make the component outline purple when selected on a canvas

The default canvas selection outline for a component is red. Make it purple when it's selected to indicate that the selected element is a component.

Is there a particular hex code you would want or any shade of purple is fine?

Kindly review my PR #181

@SkyC0der it should be the tailwind class purple-500 so it's on-brand with our styles.
I'm not sure if it's rendered as an .svg if it should be border-purple-500 or bg-purple-500 but purple-500 is the correct class. You'll have to test to see which one actually covers the color.


Lutron Pico Not working

Hello,
I'm having issues in setting up a Lutron Pico . The Stateless device shows up in HomeKit but when I assign an action nothing happens. I know that the system is able to communicate with the Lutron Main Repeater as demonstrated by the log:

[28/02/2023, 10:56:38] [RadioRA2] ~DEVICE,38,10,3
[28/02/2023, 10:56:39] [RadioRA2] ~DEVICE,38,10,4
[28/02/2023, 10:56:39] [RadioRA2] Keypad 'Cubbie Lights' button #10 single pressed
[28/02/2023, 10:56:39] [RadioRA2] WARNING: Button #10 has no associated service!
Below is the section of the configuration that references the Pico that I'm trying to connect:

    {
        "id": 38,
        "name": "Cubbie Lights",
        "stateless": true,
        "buttons": [
            {
                "id": 10,
                "led": 10,
                "name": "On"
            },
            {
                "id": 11,
                "led": 11,
                "name": "Off"
            }
        ]
    }

FYI I have fans, wired keypads that are not stateless, and occupancy sensors in this config that work perfectly.
What value should I use for the LED light of a Pico?
Any ideas as to why it's not respoding?
Thank you!

interesting. I'm surprised you're the first to notice this. it's because you named the buttons (which is totally ok to do) but then the click handler wasn't expecting a name, just the ID.
I updated the code, try loading 1.6.1-beta.9 and see if that works. I think it should work

fixed in v1.7.0 which is live


regenerate from latest specs and generator

specs - eecb26c94952b58b0c848e06042358158bcdce1d
autorest.go - v2.1.130

Can one of the admins verify this patch?


secure websocket connection doesn't work

I try to secure websocket connection via modify WebSocketTest in js-tests ws://echo.websocket.org => wss://echo.websocket.org.
I compile with original test ws://echo.websocket.org and install on android simulator 4.3. Everything works well. But compiling with wss://echo.websocket.org, it fires error and can't connect to server.
Is there any missing config when making secure connection?

Firebase is great. It makes multiplayer games very easy. I would also love to see the support of it in cocos2d-js.


add basic optional styles for inputs and buttons

This is only a css issue, it would be nice to ship the package with some nice styling and also allow users to set their own custom styles.

@NatashaChuza I would appreciate your help on this one.

Hi @OlivierJM  sure no problem, let me see what I can do

Do you already have a style in mind for the forms or I can design some on my own and run them by you?

Do you already have a style in mind for the forms or I can design some on my own and run them by you?

No I actually don't have a style in mind, I was thinking something very basic, that would work well with other css frameworks

Do you already have a style in mind for the forms or I can design some on my own and run them by you?

No I actually don't have a style in mind, I was thinking something very basic, that would work well with other css frameworks

ok I'll come up with a basic design and run it by you and for customization should we give the component props or should we make a theme component they can customise?

I think making a customizable theme would be better.

I think making a customizable theme would be better.

gotcha, I'll start looking into it after work..

I think making a customizable theme would be better.

gotcha, I'll start looking into it after work..

Thank you

Hi Oli, Sorry I've been busy the past few days. I came up with this style, what do you think? Users can customise the colors of the buttons and the borders of the forms

Hi Oli, Sorry I've been busy the past few days. I came up with this style, what do you think? Users can customise the colors of the buttons and the borders of the forms

This looks gorgeous @NatashaChuza

You can create a pull request and I will review it.

You can create a pull request and I will review it.

Thanks. I haven't cloned it yet, this is just a figma sketch. I will do so soon.

You can create a pull request and I will review it.

Thanks. I haven't cloned it yet, this is just a figma sketch. I will do so soon.

awesome, thanks a lot @NatashaChuza


java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/compose/animation/AnimatedContentScope;

Following exception is thrown when trying to use compose-destinations 1.8.38-beta with
accompanist  0.31.0-alpha
compose 1.5.0-alpha02
@Deprecated(
    "AnimatedContentScope has been renamed to AnimatedContentTransitionScope",
    replaceWith = ReplaceWith("AnimatedContentTransitionScope<S>")
)
 typealias AnimatedContentScope<S> = AnimatedContentTransitionScope<S>

java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/compose/animation/AnimatedContentScope;
     at com.ramcosta.composedestinations.animations.AnimatedNavHostEngine$toAccompanist$1.invoke(AnimatedNavHostEngine.kt:299)
     at com.google.accompanist.navigation.animation.AnimatedNavHostKt$AnimatedNavHost$finalEnter$1$1.invoke(AnimatedNavHost.kt:177)
     at com.google.accompanist.navigation.animation.AnimatedNavHostKt$AnimatedNavHost$finalEnter$1$1.invoke(AnimatedNavHost.kt:167)
     at com.google.accompanist.navigation.animation.AnimatedNavHostKt$AnimatedNavHost$7$1.invoke(AnimatedNavHost.kt:204)
     at com.google.accompanist.navigation.animation.AnimatedNavHostKt$AnimatedNavHost$7$1.invoke(AnimatedNavHost.kt:198)
     at androidx.compose.animation.AnimatedContentKt.AnimatedContent(AnimatedContent.kt:759)
     at com.google.accompanist.navigation.animation.AnimatedNavHostKt.AnimatedNavHost(AnimatedNavHost.kt:196)
     at com.google.accompanist.navigation.animation.AnimatedNavHostKt$AnimatedNavHost$11.invoke(Unknown Source:31)
     at com.google.accompanist.navigation.animation.AnimatedNavHostKt$AnimatedNavHost$11.invoke(Unknown Source:14)
     at androidx.compose.runtime.RecomposeScopeImpl.compose(RecomposeScopeImpl.kt:169)
     at androidx.compose.runtime.ComposerImpl.recomposeToGroupEnd(Composer.kt:2467)
     at androidx.compose.runtime.ComposerImpl.skipCurrentGroup(Composer.kt:2736)
     at androidx.compose.runtime.ComposerImpl.doCompose(Composer.kt:3352)
     at androidx.compose.runtime.ComposerImpl.recompose$runtime_release(Composer.kt:3302)
     at androidx.compose.runtime.CompositionImpl.recompose(Composition.kt:776)
     at androidx.compose.runtime.Recomposer.performRecompose(Recomposer.kt:1047)
     at androidx.compose.runtime.Recomposer.access$performRecompose(Recomposer.kt:124)
     at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$2.invoke(Recomposer.kt:541)
     at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$2.invoke(Recomposer.kt:510)
     at androidx.compose.ui.platform.AndroidUiFrameClock$withFrameNanos$2$callback$1.doFrame(AndroidUiFrameClock.android.kt:34)
     at androidx.compose.ui.platform.AndroidUiDispatcher.performFrameDispatch(AndroidUiDispatcher.android.kt:109)
     at androidx.compose.ui.platform.AndroidUiDispatcher.access$performFrameDispatch(AndroidUiDispatcher.android.kt:41)
     at androidx.compose.ui.platform.AndroidUiDispatcher$dispatchCallback$1.doFrame(AndroidUiDispatcher.android.kt:69)
     at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1229)
     at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1239)
     at android.view.Choreographer.doCallbacks(Choreographer.java:899)
     at android.view.Choreographer.doFrame(Choreographer.java:827)
     at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1214)
     at android.os.Handler.handleCallback(Handler.java:942)
     at android.os.Handler.dispatchMessage(Handler.java:99)
     at android.os.Looper.loopOnce(Looper.java:201)
     at android.os.Looper.loop(Looper.java:288)
     at android.app.ActivityThread.main(ActivityThread.java:7872)
     at java.lang.reflect.Method.invoke(Native Method)
     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

There is no version for compose 1.5 yet. Stay tuned during next couple of days.
thanks for bringing this to my attention, last I checked there was no real 1.5 version yet.

1.9.39-beta cooking atm, should be in in next hour! Thanks again!

Just a heads-up, seems like it's still having issues with compose 1.5 even on 1.9.39-beta. I'm having this:
java.lang.NoSuchMethodError: No interface method enterTransition(Landroidx/compose/animation/AnimatedContentTransitionScope;)Landroidx/compose/animation/EnterTransition; in class
                 Lcom/ramcosta/composedestinations/spec/DestinationStyle$Animated; or its super classes (declaration of
                 'com.ramcosta.composedestinations.spec.DestinationStyle$Animated' appears in
                 /data/app/~~sBarv-M6xKajzPFE77YkPw==/br.com.myapp.debug-s-GovUEEYwOFAwg0J8tkRQ==/base.apk!classes22.dex)
                 	at com.ramcosta.composedestinations.animations.AnimatedNavHostEngine$addAnimatedComposable$1$1.invoke(AnimatedNavHostEngine.kt:201)
                 	at com.ramcosta.composedestinations.animations.AnimatedNavHostEngine$addAnimatedComposable$1$1.invoke(AnimatedNavHostEngine.kt:197)
                 	at com.google.accompanist.navigation.animation.AnimatedNavHostKt$AnimatedNavHost$finalEnter$1$1.invoke(AnimatedNavHost.kt:176)
                 	at com.google.accompanist.navigation.animation.AnimatedNavHostKt$AnimatedNavHost$finalEnter$1$1.invoke(AnimatedNavHost.kt:167)
                 	at com.google.accompanist.navigation.animation.AnimatedNavHostKt$AnimatedNavHost$7$1.invoke(AnimatedNavHost.kt:204)
                 	at com.google.accompanist.navigation.animation.AnimatedNavHostKt$AnimatedNavHost$7$1.invoke(AnimatedNavHost.kt:198)
                 	at androidx.compose.animation.AnimatedContentKt.AnimatedContent(AnimatedContent.kt:759)
                 	at com.google.accompanist.navigation.animation.AnimatedNavHostKt.AnimatedNavHost(AnimatedNavHost.kt:196)
                 	at com.google.accompanist.navigation.animation.AnimatedNavHostKt$AnimatedNavHost$11.invoke(Unknown Source:27)
                 	at com.google.accompanist.navigation.animation.AnimatedNavHostKt$AnimatedNavHost$11.invoke(Unknown Source:10)
...

I cloned the library, manually added the androidx.compose.animation:animation:1.5.0-alpha02 dependency, replaced all AnimatedContentScope to AnimatedContentTransitionScope and it worked perfectly. So my guess it that somehow the library Is still trying to use an older version of the animation artifact even though it's using compose 1.5.0-alpha02 as without adding the dependency the AnimatedContentTransitionScope doesn't even exist

Hello there, I'm in the same status...
Thank you in advance!

I’ll look into this probably tomorrow night. I accept PRs though 😅

I can a PR to this if you want @raamcosta . Is it fine if I include a direct dependency to the animation artifact? It seems like that's one of the issues

I’m hoping I can check this today. If not I’ll let you know 🙂

1.9.40-beta is cooking atm, should be up within the next 30min or so


Switch to the new and beautiful VS Dev Shell icons

We got some new icons for Developer Command Prompt and Developer PowerShell from our friends over on Visual Studio!
This pull request includes them in the package, and fixes up the VS dynamic profiles to reset any icons that matched the old paths.
This may be a minor breaking change for user settings, but we're making the assumption that if they didn't change their VS profile icons from the defaults, they probably want to follow us to the new defaults.
To prevent anything like this from happening again, we're going to stop serializing icons for stub profiles.
I've also included a VS version of the PowerShell "black" icon which is currently unused, but can be used in the future for PS7+-based VS Dev Shell.
Closes #17627

Will these icons apply to Terminal profiles for older installations of Visual Studio, like 2019 or 2017? It may be fine to use the 2022 icons for all of them, but it's worth noting.

Will these icons apply to Terminal profiles for older installations of Visual Studio, like 2019 or 2017? It may be fine to use the 2022 icons for all of them, but it's worth noting.

For now, they will. They'll also be used for Preview even though the VS logo differs between Stable and Preview. However, this pull request also sets us up to change them in the future without having to break user settings. 🙂

/cc @zadjii-msft we made the explicit choice to stop serializing icon for generated profiles. gives us more freedom, as well as fragment authors


prop index for sortableElement(HOC)

2 major concerns

Nowhere in the change logs is mentioned that it's now treating index as internal props. So, after upgrading from 1.9 to 1.10.1, it stopped passing index to children.

If index is not passed then it throws the Warning The prop index is marked as required in sortableElement(HOC). Note, it's warning, not error. if it's mandatory, then why does it just show the warning and not throw the error? That's bad by design. Otherwise, the row, your're swapping onto is permanently removed from the UI.

This definitely seems more like a bug than an intended change to me. There is no reason not to expose the index.

Also had the same issue. Instead of downgrading our version (which also solves the issue), I am continuing to pass the required index prop as well as another prop imageIndex for use in the children functions.

When used with react-window, the 'index' prop is out of our control, so the method provided in the doc here is not suitable.


Use admin layout for non twill module models

Hi,
I have a model which is not a twill module for some reasons, is it possible to use admin layout so that I can list some items, or in general add any content there?
Thanks.

Hi @gogabidzia,
Definitely! The base model that is extended by generated Twill's models is really just there to share the same traits/scopes across generated models, which means you can perfectly add those traits and scopes to your own models to be able to list/edit those through Twill's UI, or even decide to extend your existing models using the Twill's base model. As long as you have a controller and repository for that model, defined like a generated module would look, and of course the routes registered, everything should work. A quick and dirty way to figure this out for you could be to generate a Twill module using the name of your existing model, and then revert the changes it applied to your existing model file (that's if your model is under app\Models of course, otherwise you will need to update the injected reference to it in the repository as well).
Exemple custom model:
<?php

namespace App\Models;

use Cartalyst\Tags\TaggableInterface;
use Cartalyst\Tags\TaggableTrait;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class CustomModel extends Model implements TaggableInterface
{
    use SoftDeletes, TaggableTrait;

    protected $fillable = [
        'published',
        'title',
        'description',
    ];

    public $checkboxes = [
        'published',
    ];

    public function scopePublished($query)
    {
        return $query->wherePublished(true);
    }

    public function scopeDraft($query)
    {
        return $query->wherePublished(false);
    }
}

Then, to support Twill's features on that model (like slugs or medias attachments), you can add the corresponding traits and tables.
Feel free to share a repo, I'd be happy to help.

Hi @ifox, can you please assist me so I can add the default Laravel User model to the Twill admin layout? What would be the best way to achieve this? Thanks!

Hi @manuelsofia!
Would you like to list and edit your existing User model like any other Twill module? In that case you should be able to create a UserController and  UserRepository that connect to your existing model, as well as a form.blade.php view for it. Then, adding a route for it in the admin.php and a navigation entry in twill-navigation.php should do the trick! You will also want to grab some of the code from Twill's parent model to get everything to work correctly on your existing model that doesn't extend it. I'm thinking that extending Twill's parent model should not actually be a requirement and that we could provide those features through a trait, like HasTwillModule, something like that.
Hope that helps!

Thank you so much @ifox! I'll try that out :)