wrong calculation to philips hue e27 3gen

wrong calculation to philips hue e27 3gen
Values from my meeter and from your addon
100% full white

50% white yellow

white Full yellow

This is LCT010, right?
I did measure this one myself when I started this project, so I am also able to redo the measurements when it is really faulty, but I highly doubt it. I did also cross check with 2 other manual meters in the time, and the values were only off at max ~5%
It's hard to tell where te problem is. You are sure you have this exact same light model?
I suspect you powermeter to be the culprit, because I see this meter does not have any decimals (5, 7, 8), so your meter seems to be rounding and not have any accuracy at all.

Closing due to inactivity.


Export testkit utils from @envelop/testing

Is your feature request related to a problem? Please describe.
For building custom plugins I was checking how you write specs. And you import a lot of nifty stuff from @envelop/testing. However this seems not to be accessible from userland. What is the suggested approach?
Describe the solution you'd like
I would like to be able to import stuff from @envelop/testing:
import { createTestkit } from '@envelop/testing'
Describe alternatives you've considered
None. It must be supported by the @envelop itself, there's no point for users to go deep and mock internals.
Additional context
None

Thank you for creating this @klippx , you are right. I'm thinking about the way to export it - it could be either a package (like it's today) or as an export from core package. @n1ru4l thoughts?

@dotansimha I would prefer this to be a standalone package. I would not like to have unused test code included in a package i install for production usage.


Bronze Pickaxe Mold Broken

Hi, I had logged onto the official Civ13 server for nomads.
I made a kiln, smelted the ores and got Bronze.
I made a mold, and fired it, then filled with Bronze.
Adding a stick did not yield a pickaxe, instead when inspecting the mold it says it was unfired.
Refired the mold, did not work and removed the bronze, I made a new one, happened again.


rename fulfillment.procedure_cost -> fund_payout for simplicity

I rule and have completed some work on Case Manager that's ready for review!
Patient has a procedure_cost. Fulfillmentalso has a procedure_cost. I get these mixed up constantly, so we're changing it in the model to be clearer what the fulfillment one means.
@tingaloo for review on the code part
@alisonnjones and @mdworken this impacts your scripting, so please confirm that this a) makes sense and b) won't be terribly disruptive.
This pull request makes the following changes:

fulfillment.procedure_cost -> fund_payout

Will need to run this to complete the migration:
Patient.all.each do |pt|
  pt.fulfillment.update fund_payout_amount: pt.fulfillment[:procedure_cost]
  pt.fulfillment.unset :procedure_cost
end

It relates to the following issue #s:

Fixes #1402

The full migration wound up being:
Patient.all.each do |pt|
  pt.fulfillment.update fund_payout: pt.fulfillment[:procedure_cost]
  pt.fulfillment.unset :procedure_cost
end

ArchivedPatient.all.each do |pt|
  pt.fulfillment.update fund_payout: pt.fulfillment[:procedure_cost]
  pt.fulfillment.unset :procedure_cost
end


Create sample content representative of prior auth scenarios for definition-based extract

As a developer, I need some sample content for definition-based extraction, so that I can ensure I do the implementation correctly.
This operation is primarily used for prior auth scenarios. The forms team also wants to know what the minimal set of types of responses are so that they can build a QA suite.
We need to find some representative or sample prior auth rules and work out what questionnaires we think would apply, and create examples for those.
Jason or Zach could be potential resources. Nikki could also provide a set of example rules.
Prerequisite for #227
Acceptance Criteria:
Example Questionnaires and output FHIR Bundles are committed to the clinical-reasoning repository.

NOTE: MVP needs to support the universal questionnaire, so that's top priority.
Nikki provided the sample questionnaire on 1/30/23

A Questionnaire that has had the $prepopulate operation run against it:
https://github.com/cqframework/clinical-reasoning/blob/generate-questionnaire/evaluator.questionnaire/src/test/resources/org/opencds/cqf/cql/evaluator/questionnaire/r4/questionnaire-for-order-populated-errors.json
A Bundle response from an $apply call that calls $prepopulate:
https://github.com/cqframework/clinical-reasoning/blob/generate-questionnaire/evaluator.plandefinition/src/test/resources/org/opencds/cqf/cql/evaluator/plandefinition/r4/prepopulate/prepopulate-bundle.json

Closed by #249


Very many flake8 tests with tox fail

Make sure you are running the latest version of Home Assistant before reporting an issue.
Home Assistant release (hass --version):
Dev-Branch on commit https://github.com/home-assistant/home-assistant/commit/f26a7fc6bbb1c08527e1bc60aa803bb2c3637ee9
Python release (python3 --version):
3.4.2
Component/platform:
Tests with Tox
Description of problem:
Very many errors that flake8 cannot find homeassistant.helpers.config_validation
Expected:
All tests should pass
Traceback (if applicable):
E: 16, 0: No name 'config_validation' in module 'homeassistant.helpers' (no-name-in-module)
E: 16, 0: Unable to import 'homeassistant.helpers.config_validation' (invalid syntax (<string>, line 244)) (import-error)

Additional info:
This happens for nearly every component or script file which tries to access the config_validation helper. I was about to create a PR for a new component (my first component ever), and wondered what my error could be, but it seems that flake8 fails in every component file.
So maybe one should fix this, or remove this test...but just accepting the failings goes directly against the "Preventint Linter Errors" in the testing docs and isn't helpful, especially for newbies.

Sounds like something isn't installed properly or you could try to rebuild the tox environment with tox - r.  I ran tox yesterday on multiple branches based on latest dev without issues except from typing tests, which is expected.

Well, so i have recreated the tox environment. This seems to help.
 Can we close this issue?
You might also have to set your Linux locale: LANG=en_US.UTF-8

This seems like an issue with your setup. The tests on CI pass so Home Assistant is fine.


"calicoctl config set logLevel debug" does not turn on debug logging in Felix

As summary.
Having run that command, there are 3 likely looking keys in etcd:
kubetest-master:~$ ./calicoctl config get logLevel
debug
kubetest-master:~$ ./etcdctl get /calico/v1/config/logLevel
debug
kubetest-master:~$ ./etcdctl get /calico/v1/config/LogSeverityScreen
info
kubetest-master:~$ ./etcdctl get /calico/v1/config/LogLevelScreen
debug

But the felix logs from my calico-node instances are still outputting INFO logs.  @fasaxc thinks that the key felix is watching is /calico/v1/config/LogSeverityScreen - i.e. the one which still says INFO.

Still hitting this with
$ calicoctl version
Version:      v1.0.0-beta-70-g4a2911f
Build date:   2016-11-30T09:03:37+0000
Git commit:   4a2911f

lwr20@lwr-kubetest-master:~$ calicoctl config get loglevel
debug
lwr20@lwr-kubetest-master:~$ calicoctl config set loglevel error
lwr20@lwr-kubetest-master:~$ etcdctl --endpoint http://<IP_ADDRESS>:6666 get calico/v1/config/LogSeverityScreen
info
lwr20@lwr-kubetest-master:~$ etcdctl --endpoint http://<IP_ADDRESS>:6666 ls calico/v1/config/
/calico/v1/config/IpInIpEnabled
/calico/v1/config/ClusterGUID
/calico/v1/config/InterfacePrefix
/calico/v1/config/LogFilePath
/calico/v1/config/LogSeverityFile
/calico/v1/config/LogSeverityScreen
/calico/v1/config/ReportingIntervalSecs
/calico/v1/config/LogLevelScreen
/calico/v1/config/logLevel
lwr20@lwr-kubetest-master:~$ etcdctl --endpoint http://<IP_ADDRESS>:6666 get calico/v1/config/LogLevelScreen
error

@fasaxc wonders if we've updated the calicoctl glide pin to get the fix from libcalico into calicoctl...

Er - why is this back with me?  Can you point me at a new binary to test with please?

@lwr20 this is back with you to test with v1.0.0-rc1.

Yep - looks fixed in RC1.


Enable User tokens to access APIs

Feature
Currently, the only way anyone can access it is through bot tokens. Most of them use ingestion-bot tokens.
However, bot tokens are limited because they can't update existing description tags, etc..
We have a user token option in the backend, and we should enable this in the UI so that one can use their user token
to access APIs.
cc @chirag-madlani @mohityadav766

I will take this up


dart fix for avoid_redundant_argument_values sometimes removes required arguments (in code that is not yet nnbd but uses an nnbd library)

STEPS TO REPRODUCE

git clone https://github.com/flutter/flutter.git
git checkout db426693c5901076b907b6b8de8d482522ffff1c
cd flutter/packages/flutter_tools
Add avoid_redundant_argument_values: true to the analysis_options.yaml file.
Run dart fix --apply
Run flutter analyze

EXPECTED RESULTS
No analyzer warnings.
ACTUAL RESULTS
You get several analyzer warnings. Some are because of https://github.com/dart-lang/sdk/issues/47398, some are interesting warnings like unused imports are optional parameters never being given, that kind of thing, which you would expect as a result of the fix.
However, a whole bunch of them are missing_required_param warnings, where null-safety-aware code with arguments of the form required Foo bar which was being called from non-migrated code, with the argument set to null, now is causing a complaint because the argument was removed from the call. For example, test/integration.shard/plist_parser_test.dart has this change applied:
index 1445c7eee3..a5ccde362a 100644
--- a/packages/flutter_tools/test/integration.shard/plist_parser_test.dart
+++ b/packages/flutter_tools/test/integration.shard/plist_parser_test.dart
@@ -39,21 +39,20 @@ void main() {
   // works with the way we're calling it.
   File file;
   PlistParser parser;
   BufferLogger logger;

   setUp(() {
     logger = BufferLogger(
       outputPreferences: OutputPreferences.test(),
       terminal: AnsiTerminal(
         platform: const LocalPlatform(),
-        stdio: null,
       ),
     );
     parser = PlistParser(
       fileSystem: fileSystem,
       processManager: processManager,
       logger: logger,
     );
     file = fileSystem.file('foo.plist')..createSync();
   });

...even though AnsiTerminal is defined as:
class AnsiTerminal implements Terminal {
  AnsiTerminal({
    required io.Stdio stdio,
    required Platform platform,
    DateTime? now, // Time used to determine preferredStyle. Defaults to 0001-01-01 00:00.
  })
    : _stdio = stdio,
      _platform = platform,
      _now = now ?? DateTime(1);

//...

I tried to make a simple test case but none of my attempts succeeded; in controlled conditions, I was able to get the analyzer to give me the (bogus) avoid_redundant_argument_values lint but never able to get dart fix to act on it.

@bwilkerson

I agree. This sounds like an issue with the lint rule. @pq If you agree then we should move this issue to the linter's issue tracker.


Slow URL resolver

Checklist

[x ] I'm asking a question
[x ] I've looked through the README and FAQ for similar questions
[ x] I've searched the bugtracker for similar questions including closed ones

Question

Hi all.
Thanks in advance who want to help me.
I have kodi helix and I cannot upgrade to latest ones cause this is the last change for a x86 machine.
I've installed the yatse addon because it with the help of youtube_DL are the unique solution to see some videos on my little old media center.
The only boring thing is that sending an url from my mobile phone through yatse it spend about 20 seconds before it starts to play.
I've already contacted the author of Yatse and, after analysing the log, he says that the major contributor of this delay is due to the youtube-DL Plugin (about 17 seconds)
Sorry for the so long explanation but it is a little complicated.
After this poem... Is there anybody who want to help me please?
BTW this is the log
https://controlc.com/0c6655ec
Thanks to all
Barbaro

You must provide pure youtube-dl verbose log.

Sorry. Can you tell me how I can produce this log?


onUserProfile sometimes missing for logged in user

onUserProfile sometimes does not fire for the logged in user, resulting in uProxy not having the logged in user's name or profile picture.

Closing as this is not a priority right now


[Feature Request] Move the scratchpad to new workspace instead of closing it

Hi, I'm using the scratchpad plugin with the unfocus set to "" (no action), so that it won't automatically close when losing focus. I'm having the following minor inconvenience.
Step to reproduce:

Toggle the scratchpad on Workspace 1
Switch to Workspace 2
Toggling the scratchpad again

Currently, pypr will close the scratchpad because it remains open in workspace 1. I think it would be more intuitive if the scratchpad moves from workspace 1 to workspace 2.

Hi,
which version have you been using ?
I think this was implemented in https://github.com/hyprland-community/pyprland/tree/1.6.5

I was on 1.6.1. Confirmed that 1.6.8 addressed this issue. Closing.

Hi @fdev31, I'm on 2.0.5 and this feature seems not working. Please take a look when you have a chance. Thank you so much!

Any chance this could become a configuration flag?
I personally prefer the behaviour of being able to close a scratchpad when my focus is on a different screen/ monitor.

Is it ALWAYS when the scratchpad is visible (eg: multi-screen setup).
I can hide when visible & move if the workspace isn't visible eventually...

Is it ALWAYS when the scratchpad is visible

Yes always.
Whenever I switch monitors or workspaces while my kitty scratchpad is open, executing pypr toggle $NAME brings the scratchpad to the current focused workspace/ monitor first, executing pypr toggle $NAME again will hide it.

@fdev31 Any updates on this?
I'm still experiencing this behaviour with 2.2.3. Should I open a separate issue/ bug?

@fdev31 Any updates on this?
I'm still experiencing this behaviour with 2.2.3. Should I open a separate issue/ bug?

Oh indeed I forgot. Maybe a feature request... But instead of one more obscure option, maybe I can implement the behavior I described which may fit everybody... What do you think about it?

I assume you are referring to

I can hide when visible & move if the workspace isn't visible eventually...

That sounds like a good enough compromise to me. My personally irritation is that my kitty scratchpad is moved to the visible:focused monitor+workspce instead of being closed on visible+unfocused monitor.

I assume you are referring to

I can hide when visible & move if the workspace isn't visible eventually...

That sounds like a good enough compromise to me. My personally irritation is that my kitty scratchpad is moved to the visible:focused monitor+workspce instead of being closed on visible+unfocused monitor.

Ok, I'll prepare something you can test soon... by the way, are you reachable on some public chat, Discord maybe? It could be convenient to connect once for some of your issues.


Fixed widgets scripts basset loading

This is a minor fix on widgets script blade file.
It fixes an issue on https://demo.backpackforlaravel.com/admin/field-monster

A new inspection was created.

The inspection completed: No new issues

Bug confirmed. Fix confirmed. Thanks Antonio!


Defining a subscription with Apollo's withFilter helper

I have a problem defining a subscriptionField using Apollo's withFilter function.
import { subscriptionField } from '@nexus/schema';
import { Context } from '../context';
import { withFilter } from 'apollo-server';
export const Subscription = subscriptionField('onNewEmployeeMessage', {
  type: 'EmployeeChatMessage',
  subscribe: (root, args, ctx: Context) => {
    console.log(ctx);
    return withFilter(
      () => ctx.pubsub.asyncIterator('onNewEmployeeMessage'),
      (payload, variables) => {
        return true;
      }
    );
  },
  resolve: payload => payload
});
export default Subscription;

I am trying to use Apollo’s withFilter function to filter my async iterator results. However, the return type of withFilter is not what nexus expects in the subscribe field. Image below:

I know my mistake, I needed to call the function for the resolver to be returned 🤦♂
This is the working example:
import { subscriptionField, stringArg } from '@nexus/schema';
import { Context } from '../context';
import { withFilter } from 'apollo-server';

export const Subscription = subscriptionField('onNewEmployeeMessage', {
  type: 'EmployeeChatMessage',
  args: {
    chatId: stringArg({ required: true })
  },
  subscribe: (root, args, ctx: Context) => {
    return withFilter(
      () => ctx.pubsub.asyncIterator('onNewEmployeeMessage'),
      payload => payload.chatId == args.chatId
    )();
  },
  resolve: payload => payload
});

export default Subscription;


Ctrl-D does not work when scrolloff is a big value

Ctrl-D does not work right if scrolloff is big, for example scrolloff=999. Steps to reproduce are:

Execute set scrolloff=999.
Press Ctrl-D to scroll down.
You should see that smooth scrolling is not applied.

I have to say that it somewhat works for small values, for example scrolloff=25. But it scrolls more than it should. To reproduce:

let's prepare a file of 250 lines
set scrolloff=25
place the cursor at line 1 and scroll down (half a screen ie. with Ctrl-D) from it
the cursor should land at line 115, which is a lot.

If I deactivate neoscroll and run the same steps then the cursor lands on line 46.
All this happens with the following configuration of neoscroll:
require('neoscroll').setup({
  hide_cursor = false
})

Yes, at the moment Neoscroll assumes that the scrolloff value is a number between 0 and half the number of line in the current window. I never considered the case when a high scrolloff value is set so that the cursor is always at the middle so I would expect quite a few issues with such settings. I'm going to be away for a week but I'll try to come up with a fix when I get back.

@dcordb could you check if everything works as expected? If not let me know and I'll reopen the issue. I wouldn't be surprised if I there were some edge cases that I overlooked.

I tested it now, it works. But when I scroll from the first line (down), or from the last line (up), it appears that the cursor first skips some lines and then starts to smooth scrolling, ie. it looks like the cursor jumps first to some line and then start smooth scrolling from it.

If I understand you correctly that's just how neovim works. Disable Neoscroll and set scrolloff to some value. If you now go to the first line and try to move the window (i.e. press c-e) the cursor will automatically jump to the window line equal to scrolloff. Keep in mind that Neoscroll is meant to scroll your window. It doesn't to scroll the cursor on its own unless the window can't be scrolled anymore and your neoscroll settings have cursor_scrolls_alone enabled.
Could you try to describe your expected behaviour? I presume you are expecting first the cursor to scroll to it's scrolloff value smoothly and then scroll your window as normal?

@karb94 yes you've explained quite well.

Could you try to describe your expected behaviour? I presume you are expecting first the cursor to scroll to it's scrolloff value smoothly and then scroll your window as normal?

Yes exactly this I what I would like, but for what you said maybe it's not possible.
Btw, I didn't say it but thanks for making this project! :ok_hand:

Yes exactly this I what I would like, but for what you said maybe it's not possible.

Just to be clear, it is possible. I just don't know if the majority of the people would like to have that extra "delay" when scrolling from the top or bottom as it might feel inconsistent with the rest of the scrolling animations around the file.
If I see that someone else asks for this feature I will add it as an option but I think for now I will leave it as it is because it is not as trivial to implement as one might think.
PS: thank you for your kind words :smiley:

I think this is where I jump in and say I 🖐 am that someone else and would much appreciate this feature!
I've been using vim-smoothie for a few years or so, but I'm now attempting the switch to neoscroll.nvim. I didn't realize that this described feature is what I preferred until I noticed it wasn't there anymore upon switching. If I am not mistaken, plugins like vim-smoothie work by actually moving the cursor instead of the viewport, and let vim's internal scrolloff feature handle itself. From what I've seen, this plugin has much better performance, which might be due to the switch away from that...
I hope that this could be added somewhat easily, if I have time I might try implementing it myself but we'll see.
Thanks! ❤

@karb94 @dcordb
(bump to make sure this gets seen; I'm not sure how notifications work on closed issues.)

@dcordb Fair enough. I'll creat a new issue for this feature request. I don't have much time in my hands right now but I promise this will be implemented eventually. I just tried vim-smoothie and the delay introduced by moving the cursor to the scrolloff line one line at a time is not that noticable so this probably will end up being the default behaviour.
Just to clarify, the improved performance has nothing to do with this. Fundamentally all scrolling plugins are doing the same. They use C-e/C-y and j/k in quick succession to move the cursor/buffer accordingly. The performance comes from how you perform all the calculations behind the scenes to achieve the desired behaviour without wasting resources and by the simple fact that Lua performes these calculations faster than VimScript. The main limitation now is neovim's main loop and how fast it is able to draw highlights (which has been greatly improved by treesitter).

Created #52 for this feature request

Perfect! And thank you for the clarification!


[158] - Added Slider Text Field

Platform: iOS
Build ID: 42
Version:<PHONE_NUMBER>
Internal Version: 0
Short Version: 1.0.0
Branch Name: feature/158-slider-textfield
Install URL: https://install.appcenter.ms/orgs/Admiral-Digital-Frameworks-App/apps/AdmiralUI-Flutter-iOS-Dev/releases/42


Couchapp to display flow table entries using d3.js and datatables.js

Ok. Changed both these files to reflect the defaults


Les Paul Musical Instruments

If your PR is related to a contribution to the taxonomy, please, fill
out the following questionnaire. If not, replace this whole text and the
following questionnaire with whatever information is applicable to your PR.
Describe the contribution to the taxonomy

...
...
...

Input given at the prompt

   ...

Response from the original model

  ...

Response from the fine-tuned model

  ...

Contribution checklist

[ ] The contribution was tested with ilab generate
[ ] No errors or warnings were produced by ilab generate
[ ] All commits are signed off (DCO)
[ ] The qna.yaml file contains at least 5 seed_examples
[ ] The qna.yaml file was linted and prettified (yaml-validator can do both)
[ ] An attribution.txt file in the same folder as the qna.yaml file
[ ] Content does not include PII or otherwise sensitive or confidential information
[ ] Content does not include anything documented in the project's Avoid these Topics guidelines

closed due to combined PR: https://github.com/instructlab/taxonomy/pull/1099


save ITF traces in tests

Closes #877. This PR adds the option --out-itf to quint test, which specifies the filename prefix. When this option is specified, quint test saves the best trace in ITF for every test, passing or failing.
Saving to ITF works. However, all traces generated by tests are empty now, since we have to fix #288. I will check today, how fast it could be fixed.

[x] Tests added for any new code
[x] Entries added to the respective CHANGELOG.md for any new functionality

I have fixed the output option to --prefix


Persist the security group selection for an user on page refresh in permissions page

What is the motivation for adding/enhancing this feature?

Currently when we refresh permissions page, the previously selected security group gets lost. And page renders with no security group selected.
We need to persist the selection of security group so as to avoid getting lost on page refresh for better user experience.
What are the acceptance criteria?

[ ] ...

Can you complete this feature request by yourself?

[ ] YES
[ ] NO

Additional information

Not required for now. Will recreate when needed


Update this library to Darts null safety

The next stable release of Flutter is using most probably Darts new null safety feature.
Thus this library should be migrated.
Please see the following links for further information:
https://dart.dev/null-safety/migration-guide
https://medium.com/flutter/announcing-dart-null-safety-beta-4491da22077a

With Flutter 2.0 released and null safety now in the stable channel, I second this.

Dear @ueman and @jlnrrg
I'll appreciate it if you guys help me with that using the PR, in any other cases you will wait till I have time for that.


Error in Tutorial

I was following along the getting started guide "Running Docker images on rtk".
The first Example gave me an error. (Running on debian vm)
root@debian:/home/server/rkt-v1.2.0# ./rkt --insecure-skip-verify run docker://redis
Error: unknown command "docker://redis" for "rkt"
Run 'rkt --help' for usage.
root@debian:/home/server/rkt-v1.2.0#

Hmmm... That command is wrong, we deprecated --insecure-skip-verify a long time ago.
The command should be:
# ./rkt --insecure-options=image run docker://redis

Where is the guide you're following? It is updated here: https://github.com/coreos/rkt/blob/master/Documentation/running-docker-images.md#getting-started

Hey thanks for the replay, it worked for me.
Also it worked passing the --insecure-options at the end.
I followed this guide:
https://coreos.com/rkt/docs/0.5.4/running-docker-images.html

It's quite unfortunate that searching "running docker images rkt" on google yields v0.5.4 docs :(

@robszumski any levers to pull here?

Reply to this email directly or view it on GitHub
https://github.com/coreos/rkt/issues/2309#issuecomment-199740651

I'm not sure what expired means here:

I'm thinking we should just throw a noindex flag on all of the older docs

Seems good to me for now.
On Tue, Mar 22, 2016 at 6:18 PM Rob Szumski<EMAIL_ADDRESS>wrote:

I'm thinking we should just throw a noindex flag on all of the older docs
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/coreos/rkt/issues/2309#issuecomment-199913998


@vite/plugin-vue regression with css-module bundling

Describe the bug
With @vite/plugin-vue version above 2.0.0, there is regression connected to css modules being duplicated in output JS bundle.  This exists when building the app using vite build and vite, meaning for development and production/
Css modules file is requested 2 times in the development mode:

Newest @vitejs/plugin-vue v2+ - bundle output:

We managed to create some simple plugin that mitigates current issue, bundle output:

Possible regression since @vitejs/plugin-vue v1+ - bundle output:

Component used for testing

Style module used for testing

Whole reproduction scenario is available https://github.com/FRSOURCE/vite-plugin-vue-dedupe-css-modules/tree/main/example/vue
Reproduction
https://github.com/FRSOURCE/vite-plugin-vue-dedupe-css-modules/tree/main/example/vue
System Info
MacOs 11.6.4 or 11.5.2
Browser Opera 85, Chrome 101.0.4951.54

Used Package Manager
yarn
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I confirmed https://github.com/vitejs/vite/pull/5994 is affecting this (reverting it fixed this).


Review lists

From Python dir([]), assuming we support the same:

[x] append

[x] supported in acton
[x] unit test
[x] AbE

[ ] clear

[ ] supported in acton
[ ] unit test
[ ] AbE

[x] copy

[x] supported in acton
[x] unit test
[x] AbE

[x] shallow or deep?

[ ] count

[ ] supported in acton
[ ] unit test
[ ] AbE

[ ] extend

[ ] supported in acton
[ ] unit test
[ ] AbE

[ ] index

[ ] supported in acton
[ ] unit test
[ ] AbE

[x] insert

[x] supported in acton
[x] unit test
[x] AbE

[ ] pop

[ ] supported in acton
[ ] unit test
[ ] AbE

[ ] remove

[ ] supported in acton
[ ] unit test
[ ] AbE

[x] reverse

[x] supported in acton
[x] unit test
[x] AbE

[ ] sort

[ ] supported in acton
[ ] unit test
[ ] AbE

[ ] del / delitem

[ ] unit test
[ ] AbE

To implement?

clear
count
extend
index
pop
remove
sort

Do we need to test lists containing different things, like list[str] and repeat the tests for list[int] etc?

@nordlander @sydow can you guys comment on the seemingly unimplemented methods. Can we support these?:

clear
count
extend
index
pop
remove
sort

clear, extend and pop implemented in #1206.
count, index and remove requires that element type A implements Eq
sort requires that it implements Ord

Thanks @sydow. I've added it to the acton-by-example docs too: #1209


[New Feature]  NewSentinelClient support read/write separate

In FailOverClient:
why not provide a interface like cluster which we can deal read request on slave node

https://github.com/meitu/go-redis-pool


camera permission asked and crash at start on iOS with module_arkit_enabled=no

Godot version:

3.2.dev
OS/device including version:

iOS 12.3.1 / iPad 6th gen
Issue description:

I don't need arkit so I compiled iOS templates with module_arkit_enabled=no
problems are, when run on device

it asks camera permission
crashes after permission check

Steps to reproduce:

compile iOS templates with module_arkit_enabled=no
run on device

Minimal reproduction project:

I tested with module_arkit_enabled=yes and added ARKit framework on xcode.
and still crashes at same point.
Godot Engine v3.2.dev.custom_build.726a2b46b - https://godotengine.org
OpenGL ES 3.0 Renderer: Apple A10 GPU
Requesting Camera permissions
[MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
[MC] Reading from public effective user settings.
Access to cameras granted!
(lldb)

I ran into this earlier in the week too, I'm not sure why. It's not related to ARKit but general camera access.
When Godot starts the new camera server will attempt to get access to the list of cameras. For some reason we're getting permission for this while no permission has been given, when you then try and access the cameras to create the listing it crashes.
Basically when you don't specify a permissions string in the export (ends up in your plist) it shouldn't ask for camera permissions and fail the permissions check. Possibly we need to explicitly check for this condition instead of relying on iOS to handle this.
@akien this looks very much like the issues we were having with the microphone API as well.

Just in case someone has time to fix this before I can get to it, the code that needs to improve is this:
https://github.com/godotengine/godot/blob/master/platform/iphone/camera_ios.mm#L402
My gut feeling is that we should add a check here to see if the plist entry for the camera permission string (i.e. this one: https://github.com/godotengine/godot/blob/master/misc/dist/ios_xcode/godot_ios/godot_ios-Info.plist#L36 ) is set and only then run the code in this method.
Alternatively, we should check that if you don't give a permission string in the export that it indeed clears/removes this entry. That could possibly also be an issue.

I confirmed that reverting ARKit still asked camera permission on ios device.

Is there any hot fix for this problem?
At the moment it is not possible to release ANY Godot App on the iOS App store.
Godot automatically asks for camera access at startup wich causes the app to crash on certain devices and leads to the app rejection when you try to publish it.
I could reproduce the issue on an iPhone 5S using iOS12 (works fine on iPhone X and iPad Pro and iOS13). The App does not crash when you delete the "Privacy - Camera Usage Description" but Godot still tries to get permission and the App can not be uploaded to the App store.
I am trying to release a game for children and, apart from being unable to publish it, Godot asking for Camera access on startup is quite problematic.
My code does not contain any references to the camera, microphone or arkit. Everything is deselected and I have even tried to exclude them using the entitlement description.
I have tried Godot 3.1, Godot 3.2 Alpha and both Betas. I have also tried to revert to 3.1.2RC1 but it does not recognize my .tscn files after they have been opened in 3.2
I would be grateful for any help on this matter.


secureclient should refer to Eclipse tinydtls (not SF)

TinyDTLS is now an Eclipse project. Would be nice to update the readme for the secureclient test app.
Also maybe that, rather than asking to download and unzip, the tinydtls code should just be git clone'd?

Fixed by #108


make file and use flag

Hi, I was going through the PR, why did you close it?

it was not working needed some extra work.i'll make new pr


brew.rb: solve NameError of brew prof --stackprof

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

brew prof info  -v  -d --stackprof causes NameError of HOMEBREW_LIBRARY_PATH
because in the case of brew.rb info, HOMEBREW_LIBRARY_PATH  is not the environment variable but the Homebrew module constant.
brew prof info  -v  -d --stackprof
/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby /usr/local/Homebrew/Library/Homebrew/brew.rb info
Traceback (most recent call last):
	1: from /usr/local/Homebrew/Library/Homebrew/brew.rb:6:in `<main>'
/usr/local/Homebrew/Library/Homebrew/utils/gems.rb:55:in `setup_gem_environment!': uninitialized constant Homebrew::HOMEBREW_LIBRARY_PATH (NameError)
Did you mean?  Homebrew::HOMEBREW_BUNDLER_VERSION
stackprof --d3-flamegraph prof/stackprof.dump > prof/d3-flamegraph.html
/usr/bin/open prof/d3-flamegraph.html

I wonder if the stackprof lines in brew.rb can be moved below the require_relative "global" so this wouldn't be necessary.

@Rylan12
Thank you for the advice.
I repaired only brew.rb and resolved the NameError.

RUBY_PATH, "-W1", "-S", "rubocop", TEST_FIXTURE_DIR/"testball.rb" raise an error because ENV["HOMEBREW_LIBRARY"] is not set.

on this PR branch

ruby -W1 -S rubocop /usr/local/Homebrew/Library/Homebrew/test/support/fixtures/testball.rb
warning: parser/current is loading parser/ruby26, which recognizes
warning: 2.6.7-compliant syntax, but you are running 2.6.5.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
Inspecting 1 file
.

0 files inspected, no offenses detected
HOMEBREW_LIBRARY was not exported!
/usr/local/Homebrew/Library/Homebrew/utils/gems.rb:54:in `setup_gem_environment!'
/usr/local/Homebrew/Library/Homebrew/standalone/load_path.rb:9:in `<top (required)>'
/usr/local/Homebrew/Library/Homebrew/standalone.rb:6:in `require_relative'
/usr/local/Homebrew/Library/Homebrew/standalone.rb:6:in `<top (required)>'
/usr/local/Homebrew/Library/Homebrew/rubocops.rb:4:in `require_relative'
/usr/local/Homebrew/Library/Homebrew/rubocops.rb:4:in `<top (required)>'

on master branch

ruby -W1 -S rubocop /usr/local/Homebrew/Library/Homebrew/test/support/fixtures/testball.rb
warning: parser/current is loading parser/ruby26, which recognizes
warning: 2.6.7-compliant syntax, but you are running 2.6.5.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
Inspecting 1 file
.

0 files inspected, no offenses detected
Error: unrecognized cop Naming/InclusiveLanguage found in Library/.rubocop.yml
Did you mean `Naming/FileName`?

RUBY_PATH, "-W1", "-S", "rubocop", TEST_FIXTURE_DIR/"testball.rb" raise an error because ENV["HOMEBREW_LIBRARY"] is not set.

Will probably need to fix that. Maybe fall back to HOMEBREW_LIBRARY_PATH or something?

RUBY_PATH, "-W1", "-S", "rubocop", TEST_FIXTURE_DIR/"testball.rb" raise an error because ENV["HOMEBREW_LIBRARY"] is not set.

Will probably need to fix that. Maybe fall back to HOMEBREW_LIBRARY_PATH or something?

How about  library_path is defined by "#{ENV["HOMEBREW_LIBRARY"]}/Homebrew" || HOMEBREW_LIBRARY_PATH like below?
  def setup_gem_environment!(gem_home: nil, gem_bindir: nil, setup_path: true)
    library_path = "#{ENV["HOMEBREW_LIBRARY"]}/Homebrew" || HOMEBREW_LIBRARY_PATH
    # Match where our bundler gems are.
    gem_home ||= "#{library_path}/vendor/bundle/ruby/#{RbConfig::CONFIG["ruby_version"]}"

Sounds good 👍🏻

That string won't evaluate as false so it probably needs to be a full if check on either the const or the env.

Honestly, it's somewhat tempting to just pass the load path of the stackprof gem to the Ruby command rather than mess with Bundler installations within that process. This is the only entry point that doesn't invoke require "standalone/load_path".
This is actually a similar strategy to what we do with integration tests.

That would be fine with me.

Actually it seems if you just remove the Gem setup part it just works. This'll be because the GEM_PATH and GEM_HOME variables are already set.
diff --git a/Library/Homebrew/brew.rb b/Library/Homebrew/brew.rb
index 776d9f06f..1d5d5c22f 100644
--- a/Library/Homebrew/brew.rb
+++ b/Library/Homebrew/brew.rb
@@ -2,8 +2,6 @@
 # frozen_string_literal: true

 if ENV["HOMEBREW_STACKPROF"]
-  require_relative "utils/gems"
-  Homebrew.setup_gem_environment!
   require "stackprof"
   StackProf.start(mode: :wall, raw: true)
 end

This'll be because the GEM_PATH and GEM_HOME variables are already set and this bleeds into the Ruby command invokation.

(and Rubygems' require, which searches these, is used by default and is only disabled once we reach standalone/load_path)

@Bo98 sounds good, can you submit a PR?


Use the machine-controller templates for docker installation

Currently we have our own code to install Docker here. Instead we use import the respective templates from the machine-controller in order to be able to profit from the lessons learned there, like forcing the correct storage driver, limiting log size and being able to deploy any docker version we want on CoreOS.
Acceptance criteria

The code to install Docker is completely imported from the machine-controller

/remove-lifecycle stale

/remove-lifecycle stale

So after reevaluating this issue, me and @xmudrii decided that "A little copying is better than a little dependency", and that allowing KubeOne to move independently from machine-controller without hard dependencies it a way to go.


Fix Spelling mistake of "Interpreting"

Fix the spelling mistake of Interpretting to be Interpreting.

Changes Unknown when pulling 7f63540477e3f481f7bf5d57ec1b354c24f6836a on simonfl3tcher:simonfl3tcher-spelling-mistake-fix into ** on alexa-js:master**.

Thanks!


Add custom projections

Description
Matplotlib supports custom projections. We can define new projections in Samila by which we can make new themes of art.

This link could contain solutions.


proposal: x/image/font: add sTypoAscent and sTypoDescent

Proposal Details
Now we will parse the ascender and descender in the hhea table of the font file, but this is not enough. According to the protocol description, the ascender and descender in the hhea table are applied to the apple platform, while the applications developed based on the windows platform require the ascender and descender to parse the sTypoAscender and sTypoDescender in the os2 table. （https://learn.microsoft.com/en-us/typography/opentype/spec/hhea）

However, our library does not provide such support. Can the sTypoAscender and sTypoDescender in the os2 table be added to the parse in the sfnt/sfnt.go file of golang.org/x/image/font/sfnt/?
The structure of the os2 table is described in this document, which contains the required sTypoAscender and sTypoDescender.（https://learn.microsoft.com/da-dk/typography/opentype/spec/os2）

We can obtain sTypoAscent and sTypoDescent as follows.And exponse them to  golang.org/x/images/font/font.go.

CC @nigeltao

What does FreeType do when you ask it for a font's ascent?

oh，I gave it a try and it would return the same value to me.It seems to be working correctly.

But my point is not to indicate that there is a problem with obtaining ascent. I mean that in some occasions we may need sTypoAscent.Should we provide an API to obtain sTypoAscender?

I tried to view the FreeType source code, and it seems that they have parsed sTypoAscender.

Sorry for not being clearer. FreeType parses os2.sTypoAscender (https://github.com/freetype/freetype/blob/1452355de99d22b0cba6ccc17bf5cdf3682ef61e/src/sfnt/ttload.c#L1193) but it also parses hhea.Ascender (https://github.com/freetype/freetype/blob/1452355de99d22b0cba6ccc17bf5cdf3682ef61e/src/sfnt/ttmtx.c#L143).
My question is, as it parses both, which one does FreeType prefer when you ask it for a font's ascent?

I tried it. The FreeType will return the value which is parsed from hhea.Ascender.

Now, x/image/font return the same value. There is no problem in this logic. I means sometimes we need the sTypoAscent,but now x/image/font can not support that.

What do you think of this proposal? If you are busy here, or let me submit the code and you help review it. I really want to be a code contributor, haha🤣

Maybe we could provide a new field which is named sTypoAscender in class Face

font.Face and font.Metrics aren't specific to TrueType / OpenType. I'd rather not add something TTF-specific like sTypoAscender to that more-general font package. Maybe the sfnt package is a better place to contain that change, but I'm hesitant to provide two APIs for ascent before better understanding the motivation.
Can you elaborate on what you're eventually trying to do such that using OS_2.sTypoAscender works for you but using hhea.ascent does not?
Can you link to an example ttf file that demonstrates this?

Can you elaborate on what you're eventually trying to do such that using OS_2.sTypoAscender works for you but using hhea.ascent does not?
sorry,I miss the message for a few day.
Now , I have 2 services , which is called A and the other is called B (calling them A and B is just for easy understanding).Service A is written in C++,it uses OS_2.sTypoAscender to render the font. The OS_2.sTypoAscender is got by this method https://github.com/nothings/stb/blob/master/stb_truetype.h#L2641.
However, service B is written in Go, so it cannot parse os_2.sTypoAscender now. If hhea.Ascender is used, it will cause the size of the rendered font to be different from that rendered by service A.The difference between them will cause some errors.

Can you link to an example ttf file that demonstrates this?

站酷庆科黄油体.ttf.zip
Let's take this file as an example. If we parse hhea.ascender, we will get 854. But if we parse os2.sTypoAscender, we will get 750. This gap will cause a difference in the size of the text we render.


Scp 4606/e2e ls

Implements basic end to end tests for marlowe run ls command.
Pre-submit checklist:

Branch

[ ] Tests are provided (if possible)
[x] Test report is updated (if relevant)
[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[x] Relevant tickets are mentioned in commit messages
[x] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[x] Self-reviewed the diff
[x] Useful pull request description
[x] Reviewer requested

Closing this PR as jupyter notebooks is not the approach we want to take for our integration tests.


Tenant-Specific Views?

Is it possible to have tenant-specific views? To illustrate an example, I have three tenants: foo, bar, and baz. Foo and Bar each need the home page to have paragraphs of text specific to their site, and their logos and flashy images in various places. There's also a form to be filled out and Foo wants to know your favourite colour, but Bar does not (assume that the field is optional and all validation works for either tenant). Baz, on the other hand, is the perfect tenant and doesn't want any customization at all - just give the app exactly as I already made it.
These could be done by using the tenant storage and storing each of these tenant-specific values (intro paragraph, logo, fancy_pic, include_favourite_colour, etc), but that seems less than ideal.
I would envision something like having a folder structure of
/resources/views/Bar/home.blade.php
/resources/views/Foo/home.blade.php
/resources/views/home.blade.php
and the controller's logic to show the blade, such as return view('home'); would look for the corresponding tenant's copy of home.blade and fall back to the app's standard blade if not found. I'm not sure how you'd go about naming Foo and Bar folders, since the actual tenants have the UUID upon creation and maintaining those across dev/stage/prod could be an issue.
I've gone through the documentation and all previous issues and haven't seen anything about this. The closest is #358 but I wasn't sure if this sort of functionality should exist already rather than making a custom ViewServiceProvider as suggested by masterix21.
Any advice would be appreciated.

I'm not sure how you'd go about naming Foo and Bar folders, since the actual tenants have the UUID upon creation and maintaining those across dev/stage/prod could be an issue.

Note that the generated uuid is used as a fallback when you don't supply an id yourself.
And yes, this feature could be added. It would probably be easy to implement for people themselves, since it's not something automatic but rather a wrapper around the view() helper or something like that. This seems like a somewhat useful feature, so I'll try to add it once 3.x is out. So in 3.1, ideally.

That sounds great, thanks a lot.

@BrandonKerr did you find a solution?
Can you share it?
Thanks.

Backpack uses something like this, although I haven't really looked at it. Uses a fallback view if it's not overridden. Maybe looking for a view in a tenant specific location, or falling back to a default location if it does not exist. IDK. Just tossing an idea

@dneykov Sorry to say, I never did end up implementing a solution for this. Depending on your use-case, it could be done with simple tenant storage values (write up the blade you want in a WYSIWYG and store the markup, that sort of thing). For more advanced cases, I'd be hesitant to do something like that.
I think to do this best, you'd want to look into making a custom View Composer. I think that would be the cleanest way to implement it; performing lookups in there to determine if a tenant-specific view exists and loading it, or falling back to the default parameter.
If this is something you won't use much or just want to try out a proof of concept, my recommendation would be to to a check in the controller. Assuming you have some standard for making folders with the tenant name, or some sort of identifier, you could first check if the tenant's version of the blade exists and if not, just use the same blade name.
Hope that helps, and good luck.

would look for the corresponding tenant's copy of home.blade and fall back to the app's standard blade if not found

<?php

declare(strict_types=1);

namespace App\Bootstrappers;

use Illuminate\Contracts\Foundation\Application;
use Stancl\Tenancy\Contracts\TenancyBootstrapper;
use Stancl\Tenancy\Contracts\Tenant;
use View;
use const DIRECTORY_SEPARATOR;

class ViewTenancyBootstrapper implements TenancyBootstrapper
{
    protected array $originalViewPaths;
    protected Application $app;

    public function __construct(Application $app)
    {
        $this->app = $app;
    }

    public function bootstrap(Tenant $tenant)
    {
	$this->originalViewPaths = $this->originalViewPaths ?? View::getFinder()->getPaths();
	View::getFinder()->prependLocation(resource_path('views' . DIRECTORY_SEPARATOR . $tenant->id));
	$this->app['config']->set('view.paths', View::getFinder()->getPaths());
    }

    public function revert()
    {
	View::getFinder()->setPaths($this->originalViewPaths);
	$this->originalViewPaths = [];
	$this->app['config']->set('view.paths', View::getFinder()->getPaths());
    }
}

@stancl  Generally, is this right strategy?

This?
https://laravel.com/docs/11.x/views#creating-the-first-available-view


[📊 DATA] Potluck DAO Revenue

Description
Show where fees are coming from for Potluck Foundation (impact.sputnik-dao.near)
Objective / Business Insight

understand where fees are coming from

Acceptance Criterion

[] track growth over time
able to filter by ranges
show range in rpice for assets as there are hold against new assets
show outbound flow through proposals
show number of total donations, how many opted out of donations
calculated total amount in donations to total amount in fees (also show the growth of this ratio over time)

Data Sources

impact.sputnik-dao.near
donate.potlock.near
quadratic funding contracts

Similar Queries
Challenges
Resources

Insipration piekseapk
https://near.org/astraplusplus.ndctools.near/widget/home?tab=funds&daoId=impact.sputnik-dao.near&page=dao

How to Present

https://flipsidecrypto.xyz/esray/2024-03-20-02-49-am-X8CGTU
Also add how much is donated to donate.potlock.near to potlock.near account (donations on platform)
Feedback

name this better
i would put project recipients
copy lordking and see how much fees were generated form each proejct
compare total fees (keep track of currency) in a pie chart for pots vs direct donation, and also breakdown the pots
https://flipsidecrypto.xyz/Lordking/potlock-UD3Flm?tabIndex=2 add to protocol feed
more than jsut direct donations
this chart doesnt really indicate number and size of donations over time
doesnt indivate total donations
also opt out doesnt give an indication of all donations (includign stuff


386 Go AEAD GCM build is broken

Describe the bug:
Running Go 1.16.3 with GOARCH=386 results in compile error:
go@1.6.1/aead/subtle/aes_gcm.go:115:7: constant<PHONE_NUMBER>4 overflows int
What was the expected behavior?
Either the compile works or the readme clearly states what platforms are supported.
How can we reproduce the bug?
GOARCH=386 go test ./...
Do you have any debugging information?
go@1.6.1/aead/subtle/aes_gcm.go:115:7: constant<PHONE_NUMBER>4 overflows int
Provide your version information:

Language: go
Version: 1.6.3
Environment: 386

This is addressed in #579 but it needs review.

Fixed by ad6cadb9bfb999687046049591852fc2bb96198c.


possible bug during testing

Thanks for your great work, I've just noticed that when testing, we have the following snippet:
def net_process(model, image, mean, std=None, flip=True):
    input = torch.from_numpy(image.transpose((2, 0, 1))).float()
    if std is None:
        for t, m in zip(input, mean):
            t.sub_(m)
    else:
        for t, m, s in zip(input, mean, std):
            t.sub_(m).div_(s)
    input = input.unsqueeze(0).cuda()
    if flip:
        input = torch.cat([input, input.flip(3)], 0)
    with torch.no_grad():
        output = model(input)
    _, _, h_i, w_i = input.shape
    _, _, h_o, w_o = output.shape
    if (h_o != h_i) or (w_o != w_i):
        output = F.interpolate(output, (h_i, w_i), mode='bilinear', align_corners=True)
    output = F.softmax(output, dim=1)
    if flip:
        output = (output[0] + output[1].flip(2)) / 2 # why not flip(3)?
    else:
        output = output[0]
    output = output.data.cpu().numpy()
    output = output.transpose(1, 2, 0)
    return output

Why do you perform input.flip(3) before feeding into the network, then output[1].flip(2) after?, shouldn't be output[1].flip(3)?

sorry, I've just noticed that output[1] only has 3 dimensions.

sorry, I've just noticed that output[1] only has 3 dimensions.


[Trivial] Fix NDK warning -Wbraced-scalar-init

[Trivial] Fix NDK warning -Wbraced-scalar-init

This patch fixes trivial NDK warning below

././../nntrainer/layers/lstm.cpp:315:25: warning: braces around scalar initializer [-Wbraced-scalar-init]
Tensor dh_nx = Tensor({derivative_.width()});
^~~~~~~~~~~~~~~~~~~~~
././../nntrainer/layers/lstm.cpp:316:25: warning: braces around scalar initializer [-Wbraced-scalar-init]
Tensor dc_nx = Tensor({derivative_.width()});
^~~~~~~~~~~~~~~~~~~~~
././../nntrainer/layers/lstm.cpp:352:26: warning: braces around scalar initializer [-Wbraced-scalar-init]
hs_prev = Tensor({hs_t.width()});
^~~~~~~~~~~~~~
././../nntrainer/layers/lstm.cpp:354:26: warning: braces around scalar initializer [-Wbraced-scalar-init]
cs_prev = Tensor({cs_t.width()});

**Self evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #1266. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.


Content Security Policy breaks color picker

When using a Content Security Policy (CSP, docs at MDN) without unsafe-inline for style-src the color picker does not work. This is because of the various ng-attr-style properties in the template.
The solution to this issue would be to remove the ng-attr-style attributes from the template and apply the styling using JS in the link function using .css(properties).
If you want I can try to make a PR to resolve this issue.

Fixed in commit 2ef76023f227c3969ea61a53eec9b99f4203d267 and release in v1.0.0.

Wow thanks!
For extra performance you could maybe move the querySelector + angular.element() outside the $watches.


pkgs/by-name: remove unused arguments

Description of changes

https://github.com/NixOS/nixpkgs/issues/313981

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[X] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Without automated linting, isn't it inevitable for these problems to reoccur?

Without automated linting, isn't it inevitable for these problems to reoccur?

Well someone commented about adding a GitHub action https://github.com/NixOS/nixpkgs/issues/313981#issuecomment-2232074936, but I am not sure how to setup up properly to nixpkgs standards, and I discussed with @wegank  about it who told me:

I'd consider making a workflow for deadnix a much less important thing
Unless deadnix becomes official (like nixfmt-rfc-style) or is proven to be error-free

Should I really run nixfmt-rfc-style on this pr?


Is it possible to get a group of class strings instead of a single output string?

Hi folks, I love the idea of this project, it really resolved the long class string issue with tailwindcss.
I have a question about how to get a group of class strings instead of a single output string? For example, I have a prop to a group strings map, thus I can apply individual classes to each element,

Not sure if this is possible, thank you for your time.

I'm afraid not, sorry


Change the order of filters & fix typo

Alphabetized filter list in README
fix typo

Sorry for the delay @finscn, just finally getting around to this. Thanks 👍


fix(services/alert): Improve JSON serialization performance

Uses mailru/easyjson to reduce the CPU and memory cost of serializing the TopicState and EventState structs.
Benchmarks demonstrating the improvements to the MarshalBinary and UnmarshalBinary APIs:
name                                               old time/op    new time/op     delta
TopicState_MarshalBinary/1_event_state(s)-8          5.11µs ± 0%     1.91µs ± 2%   -62.66%  (p=0.008 n=5+5)
TopicState_MarshalBinary/100_event_state(s)-8         326µs ± 1%      104µs ± 0%   -68.14%  (p=0.008 n=5+5)
TopicState_MarshalBinary/30000_event_state(s)-8       111ms ± 2%       39ms ± 2%   -64.70%  (p=0.008 n=5+5)
TopicState_UnmarshalBinary/1_event_state(s)-8        9.60µs ± 0%     2.88µs ± 0%   -70.01%  (p=0.008 n=5+5)
TopicState_UnmarshalBinary/100_event_state(s)-8       629µs ± 0%      208µs ± 1%   -66.99%  (p=0.008 n=5+5)
TopicState_UnmarshalBinary/30000_event_state(s)-8     193ms ± 1%       68ms ± 1%   -64.75%  (p=0.008 n=5+5)

name                                               old speed      new speed       delta
TopicState_MarshalBinary/1_event_state(s)-8        57.3MB/s ± 0%  153.4MB/s ± 2%  +167.78%  (p=0.008 n=5+5)
TopicState_MarshalBinary/100_event_state(s)-8      73.3MB/s ± 1%  230.1MB/s ± 0%  +213.88%  (p=0.008 n=5+5)
TopicState_MarshalBinary/30000_event_state(s)-8    65.6MB/s ± 2%  185.7MB/s ± 2%  +183.27%  (p=0.008 n=5+5)
TopicState_UnmarshalBinary/1_event_state(s)-8      30.5MB/s ± 0%  101.8MB/s ± 0%  +233.39%  (p=0.008 n=5+5)
TopicState_UnmarshalBinary/100_event_state(s)-8    38.0MB/s ± 0%  115.1MB/s ± 1%  +202.98%  (p=0.008 n=5+5)
TopicState_UnmarshalBinary/30000_event_state(s)-8  37.7MB/s ± 1%  107.0MB/s ± 1%  +183.68%  (p=0.008 n=5+5)

name                                               old alloc/op   new alloc/op    delta
TopicState_MarshalBinary/1_event_state(s)-8          2.24kB ± 0%     1.84kB ± 0%   -17.86%  (p=0.008 n=5+5)
TopicState_MarshalBinary/100_event_state(s)-8         179kB ± 0%       56kB ± 0%   -68.77%  (p=0.008 n=5+5)
TopicState_MarshalBinary/30000_event_state(s)-8      48.4MB ± 0%     16.4MB ± 0%   -66.07%  (p=0.016 n=4+5)
TopicState_UnmarshalBinary/1_event_state(s)-8        3.10kB ± 0%     1.47kB ± 0%   -52.45%  (p=0.008 n=5+5)
TopicState_UnmarshalBinary/100_event_state(s)-8       150kB ± 0%       72kB ± 0%   -51.63%  (p=0.008 n=5+5)
TopicState_UnmarshalBinary/30000_event_state(s)-8    47.6MB ± 0%     26.9MB ± 0%   -43.41%  (p=0.008 n=5+5)

name                                               old allocs/op  new allocs/op   delta
TopicState_MarshalBinary/1_event_state(s)-8            22.0 ± 0%       10.0 ± 0%   -54.55%  (p=0.008 n=5+5)
TopicState_MarshalBinary/100_event_state(s)-8           526 ± 0%        121 ± 0%   -77.00%  (p=0.008 n=5+5)
TopicState_MarshalBinary/30000_event_state(s)-8        150k ± 0%        31k ± 0%   -79.67%  (p=0.008 n=5+5)
TopicState_UnmarshalBinary/1_event_state(s)-8          33.0 ± 0%       10.0 ± 0%   -69.70%  (p=0.008 n=5+5)
TopicState_UnmarshalBinary/100_event_state(s)-8         839 ± 0%        415 ± 0%   -50.54%  (p=0.008 n=5+5)
TopicState_UnmarshalBinary/30000_event_state(s)-8      241k ± 0%       121k ± 0%   -49.76%  (p=0.008 n=5+5)

Fixes #1971
Required for all non-trivial PRs

[x] Rebased/mergable
[x] Tests pass
[ ] CHANGELOG.md updated

Looks straightforward and the performance gains are significant. Is there a go generate comment anywhere? Other than that I think this is good to go.

I'll add the go generate calls


Revert "Added kserve dashboard metrics reconciler"

This reverts commit 15be02b63630a8851dea165f99a8b801913e5582.

FTR https://issues.redhat.com/browse/RHOAIENG-9732


Add date picker component (full accessibility support)

Hi,
As I really like this library, I wanted to contribute to its development. I noticed that there are quite a few people looking for a date picker component, so I took the opportunity to create one, because I'll probably need it myself in the future.
I've tried to make this component 100% accessible, but there are certainly improvements to be made. If there's a chance that this component will be accepted, I can try to improve it based on your feedback.
Since the component is accessible, the HTML side of things is a bit verbose, but hey, that's the price to pay to make everyone happy 😅
Certainly, as already indicated in the created issues, it's only the visual part. The JavaScript part will need to be done by developers; perhaps we could provide a working example in JavaScript to give an idea, similar to what's done here: Theme Controller Example.
Demo (with light/dark modes but works with all themes as expected):

Demo with button toggle (works like menu):

Some related issues:

https://github.com/saadeghi/daisyui/issues/955
https://github.com/saadeghi/daisyui/issues/552
https://github.com/saadeghi/daisyui/issues/112
https://github.com/saadeghi/daisyui/issues/51
https://github.com/saadeghi/daisyui/issues/45

Discussions:

https://github.com/saadeghi/daisyui/discussions/619
https://github.com/saadeghi/daisyui/discussions/2049
https://github.com/saadeghi/daisyui/discussions/1558
https://github.com/saadeghi/daisyui/discussions/1441
https://github.com/saadeghi/daisyui/discussions/633
https://github.com/saadeghi/daisyui/discussions/1004
https://github.com/saadeghi/daisyui/discussions/2878

I think Daisy should remain a CSS library. Why not just take a headless component framework like Bits UI and design it with Daisy?

I think Daisy should remain a CSS library. Why not just take a headless component framework like Bits UI (https://www.bits-ui.com/docs/introduction) and design it with Daisy?

It still a CSS library, this PR does not includes anything else than CSS

As much as I would love to include a datepicker UI in daisyUI and there are indeed a lot of requests for that,
Manually implementing the JS logic of datepicker is not easy. Almost everyone prefers to use an existing datepicker JS package instead of manually dealing with all the calendar quirks.
This PR adds the visual (thanks @sovetski) but if we're expecting devs to manually implement a fully working JS datepicker logic for their apps, that's not realistic.
I think it would be more practical if we just use existing JS datepicker packages and only apply daisyUI colors and styles (border radius, etc) for them. This way, people can simply use an existing datepicker JS package, and it would fit perfectly with their daisyUI theme.
The challenge is compatibility with different datepicker packages because each of them use their own HTML structure, so each of them would need an exclusive style (probably a few lines of @apply) to set daisyUI colors for their elements.

I searched the issue of styling type="date" and found these helpful links:

https://dev.to/codeclown/styling-a-native-date-input-into-a-custom-no-library-datepicker-2in
https://github.com/foundation/foundation-sites/issues/1877#issuecomment-15088274
https://stackoverflow.com/questions/76844615/how-to-style-the-calendar-icon-in-a-date-input

Hope this helps other daisyui users :-)

This looks awesome, I'm disappointed this won't be added - just my 2 cents. It could pair nicely with Melt when they release 1.0 for example.
@sovetski, could you provide the code for those examples?

@jacksonthall22 thank you for your feedback! You can find here the code. Let me know if it is not clear

I am using DaisyUI as a pure CSS library as I am using a quite exotic WASM stack. For me it would make sense to add it without JS stuff as OP proposed.

I would second @gitmalong opinion.
I'm using DaisyUI with Leptos and it would be great to have bare-minumum calendar component on which I could tag important dates, I don't need anything else.

Is this PR going to merge in the future?

@tejasv-tagline I appreciate @sovetski's effort 👏
This PR won't be merged, as this approach would need implementing the logic of the calendar manually, which is not something majority of developers would want to do, instead, they prefer using existing calendar libraries. At the end, background logic of how a calendar works, is not opinionated so it makes sense to always use a third-party library for the logic and it is what everyone is doing anyway.
Good news is daisyUI 5 (coming next month) will include styles for 3 calendar libraries:

Cally (Web component - works everywhere) https://wicky.nillia.ms/cally/
DayPicker (React) https://daypicker.dev/
Pikaday (JS - Works everywhere) https://pikaday.com/

Example with alpha version:
https://codepen.io/saadeghi/pen/GgKZLvR?editors=1000


Resource directory fix for OIP

The resources of the view cube could not be located within OIP. Introduced a member variable in ViewCube and ViewCubeEffect that saves the path to the resource directory.

Merge commit to keep changes made in rework of Qt linking in BlueFramework.Application


Beautiful print

Hello, I use your library to sort my html codes and several other tasks. I would like to say, is it possible to sort css and javascript codes as well?  Like html

Hi there -- no, jsoup only operates on HTML (and XML).

Hi there -- no, jsoup only operates on HTML (and XML).

oh tnks


Support dynamic fields

Closes https://github.com/monogon-dev/intellij-cue/issues/53

woo hoo! thanks @jansorg !

Thanks, @jansorg !


Reformat models.

name: Pull request
about: Submit a pull request for this project
title: 'Add validator to Setting instance if it exists in settings dict'
assignees: fabiocaccamo

Describe your changes
added line validator = item.get('validator', None) to extra_settings/models.py
and updated defaults of get_or_create

@fabiocaccamo  Sorry for the trouble, this is my first time working with actions

@zackkh don't worry! Tests and actions help writing more robust code easily and preventing regressions.
Thank you for the fix, nice catch!


[BUG] HttpClient's client_settings cannot be configured

Describe the bug
client_settings aren't configurable from output plugin configuration.
To Reproduce
Steps to reproduce the behavior:

Run Docker images locally like described in https://opensearch.org/docs/latest/clients/logstash/index/#docker
Add client_settings key as described in https://github.com/opensearch-project/logstash-output-opensearch/blob/aeee1cfbf5135fc23a6f9a2ef57ab24b7d55ca04/lib/logstash/outputs/opensearch/http_client.rb#L38 and https://github.com/opensearch-project/logstash-output-opensearch/blob/aeee1cfbf5135fc23a6f9a2ef57ab24b7d55ca04/lib/logstash/outputs/opensearch/http_client.rb#L299

opensearch {
 hosts => ["https://opensearch:9200"]
 index => "opensearch-logstash-docker-%{+YYYY.MM.dd}"
 user => "admin"
 password => "admin"
 ssl => true
 ssl_certificate_verification => false
 client_settings => {
   check_connection_timeout => 30
 }
}

Logstash will fail starting stating that [ERROR][logstash.outputs.opensearch] Unknown setting 'client_settings' for opensearch

Expected behavior
Logstash should start without any issue with the provided settings applied to HttpClient
Plugins
logstash-output-opensearch (1.2.0)
Host/Environment (please complete the following information):

OS: Linux
Logstash OSS 7.16.3 (and 7.17.1 as well)

Additional context
We are in a situation where network latency is very high between Logstash instances and Opensearch cluster. They actually run on distant AWS regions.
timeout plugin setting is available but doesn't seem to update the right parameter as we see
[DEBUG][org.apache.http.conn.ssl.SSLConnectionSocketFactory][main] Connecting socket to vpc-elk-xxx.es.amazonaws.com/10.x.x.x:443 with timeout 10000

and we cannot change those 10 seconds whatever the value we provide in timeout

Actually check_connection_timeout wouldn't help; the parameter we need to update instead would be connect_timeout : https://github.com/cheald/manticore/blob/8d5e4768bf898fc2d87cf8ee7bbb585bce0693ec/lib/manticore/client.rb#L146

https://github.com/opensearch-project/logstash-output-opensearch/blob/aeee1cfbf5135fc23a6f9a2ef57ab24b7d55ca04/lib/logstash/outputs/opensearch/http_client.rb#L292
Could be reconsidered and so that the values are taken from the provided client_settings instead.
This would allow a more precise and transparent configuration.


Nutrition Unit is not Level 3

Hi,
I compared your tree with the current ingame ones and it is no longer valid. Best example is the Nutrition Unit which ich at Lvl 1 constructable and has the following item requirements:

25,000.- RBL
2x PCRs (Phase Control Relay)
1x Power Cord
Can of white salt (new item since last wipe)
Maybe Generator LvL1 even while nit shown

Screenshot of proof:

I haven't played much this wipe and was really busy at work, so the tree is not up to date at the moment. My goal is to get around to update it during the upcoming holidays (and perhaps the new wipe)


Run provernet-like deployment after getting docker compose setup, fire many tx bots, see stability, create node scenario where node tries to sync periodically

Consolidating this item into #9285


query by nucleotide length

Add a search option to query genes by length in nucleotides (analogous to protein length, and particularly useful for ncRNAs).
Requested in https://rt.sanger.ac.uk/Ticket/Display.html?id=493894

It would be straight forward to add querying by length in nucleotides.

OK, add when you can if quick. I'll change to "medium priority" and you can do when it suits...

Add a search option to query genes by length in nucleotides

Do we need to query for the length of the gene in nucleotides or the length of the transcript?  If it's the transcript, should the length include introns when querying coding genes?

I envisaged length of the transcript. However, these are highly inaccurate in the current annotation....so I don't know how meaningful the query resuls would be right now.....

Lets leave this until features are refined. Only one person has asked and they can do it  bioinformatically.

We won't dop this until the non-doiding RNAs are refined. I will open a new ticket later. I 'future' for now


Dynamics 365: Manage Roles for Apps

Could you please provide details on how we will be able to "Manage Roles" for Dynamics 365 Apps when this change occurs? We currently click the elipsis on the app shown on d365environment/apps to manage the roles of Dynamics users to control visibility of the app for users.

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

ID: 71a027bf-62d9-07f6-c15c-fc0e4d5b8686
Version Independent ID: f88d00be-be73-a187-c287-66f151073abb
Content: Quickly navigate with the Office 365 app launcher and the Dynamics 365 home page - Power Platform Admin center
Content Source: power-platform/admin/quickly-navigate-office-365-app-launcher.md
Service: power-platform
GitHub Login: @jimholtz
Microsoft Alias: jimholtz

@justinreading You still should be able to do it from the "My Apps" page in the classic Settings page.
But that is confusing for not being able to Enable Security Roles for the model-driven apps from the solution explorer just like Forms, Dashboard, etc.

@justinreading
Sorry for the delayed response. Please see: https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/share-model-driven-app#assign-security-roles-to-users


[Bug] Init is ignored when using in Xamarin.Android with MvvmCross after resume

IF YOU DON'T ANSWER THIS TEMPLATE - THE BOT WILL AUTOMATICALLY CLOSE YOUR ISSUE!
Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[ ] iOS
[x] Android
[ ] UWP
[ ] .NET Standard

Version of Library
7.0.4
Version of OS(s) listed above with issue
Android 6
Android 9
Steps to Reproduce

Add the following code to both SplashScreenActivity and MainActivity in OnCreate:

Activity dialogsHelper()
{
    var activity = Mvx.IoCProvider.Resolve<IMvxAndroidCurrentTopActivity>().Activity;
    if (activity == null)
      activity = this;
    return activity;
}

UserDialogs.Init(dialogsHelper);
UserDialogs.Instance = new VitarexUserDialogs(dialogsHelper);

Add the  instance to the IoC container:
Mvx.IoCProvider.RegisterType(() => UserDialogs.Instance);
Try to resolve the instance, after backgrounding the app (it skips SplashScreen when resuming):
dialogsHelper = Mvx.IoCProvider.Resolve<IUserDialogs>();

Expected Behavior
I expect the instance to be available for use.
Actual Behavior
I get the following exception:

Failed to construct and initialize ViewModel for type MyApp.CustomFragmentViewModel from locator MvxDefaultViewModelLocator - check InnerException for more information ---> MvvmCross.Exceptions.MvxException: Problem creating viewModel of type CustomFragmentViewModel ---> MvvmCross.Exceptions.MvxIoCResolveException: Failed to construct CustomFragmentViewModel ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: [Acr.UserDialogs] In android, you must call UserDialogs.Init(Activity) from your first activity OR UserDialogs.Init(App) from your custom application OR provide a factory function to get the current top activity via UserDialogs.Init(() => supply top activity)
at Acr.UserDialogs.UserDialogs.get_Instance () [0x00007] in <3f407294605b43fc9816afc2b353d92c>:0
at Acr.UserDialogs.UserDialogs.get_Instance () [0x00007] in <3f407294605b43fc9816afc2b353d92c>:0
at MyApp.IoCConfig+<>c.b__0_1 () [0x00000]

Unfortunately adding a custom Application involves unnecessary behaviour so I need to solve it by using Activites. Why does it claim that Init was not called?

I'm sorry but this is external to this library, so I'm not really sure how to help you beyond a guess.
UserDialogs.Init(dialogsHelper);
UserDialogs.Instance = new VitarexUserDialogs(dialogsHelper);   <= you are overriding what Init is doing right here.

It seems that calling Init from the OnCreate was a bit too late. When we moved it to the constructor of the main activity, it didn't throw that exception (we can't say for sure without several verifying runs).

@nologinatgit This issue is closed.  I can't help with external frameworks or custom overrides (especially since I have no idea what's happening).


bmf::builder::BMFGraph::update接口

请教一下，现在c++的builder中BMFGraph有一个update接口int Graph::update(GraphConfig update_config)，其中的实现考虑了将add的node中的Input_streams和outpit_streams分别connect。但是没有处理整个graph的output_streams，在generator模式下，缺少了可以generate的output_stream。

这个接口是在engine中的Graph实现中，请问可以提供下测试的demo吗，我这边也帮忙看看

这个接口是在engine中的Graph实现中，请问可以提供下测试的demo吗，我这边也帮忙看看

    std::string input_file = "D:/work/bmf_example_files/big_bunny_10s_30fps.mp4";     std::string output_file = "D:/dynamic_add.mp4";     std::string dyn_config_file = "D:/work/bmf_example_files/dynamic_add.json";     bmf::builder::Graph graph_config(bmf::builder::GeneratorMode);     nlohmann::json decode_para = { {"input_path", input_file} };     nlohmann::json encode_para = { {"output_path", output_file} };     auto video = graph_config.Decode(bmf_sdk::JsonParam(decode_para))[0];     video.EncodeAsVideo(bmf_sdk::JsonParam(encode_para));     video.Start();     while (true) {         auto pkt = graph_config.Generate(video.GetName());         if (pkt.timestamp() == BMF_EOF) break;     }     graph_config.Instance().update(dyn_config_file, true);
类似于这样的用法，Generator模式下获取decoder的帧，动态更新的graph，我也需要获取decoder的帧

Problem Source Location:
1、The output_streams of the graph were not updated in the update interface.
2、The callback_bindings of the node were not updated.
Temporary Solutions:
1、Add an output_stream interface to the graph and increase the output_stream of the graph by name.
2、Call the singleton of the connector's mapping in the graph to obtain the added callback bindings and update them.

Problem Source Location: 1、The output_streams of the graph were not updated in the update interface. 2、The callback_bindings of the node were not updated. Temporary Solutions: 1、Add an output_stream interface to the graph and increase the output_stream of the graph by name. 2、Call the singleton of the connector's mapping in the graph to obtain the added callback bindings and update them.

May you submit a PR for this solution?

Problem Source Location: 1、The output_streams of the graph were not updated in the update interface. 2、The callback_bindings of the node were not updated. Temporary Solutions: 1、Add an output_stream interface to the graph and increase the output_stream of the graph by name. 2、Call the singleton of the connector's mapping in the graph to obtain the added callback bindings and update them.

May you submit a PR for this solution?

Will be completed later time


Splitting a form into tabs (not tabarray)

I'd like to split different translations of a form into different tabs, similar to this:

My schema would look something like this:
{
    "type": "object",
    "properties": {
        "menu_entry": {
            "type": "object",
            "title": "Menueintrag",
            "properties": {
                "de": {
                    "type": "string",
                    "title": "DE"
                },
                "fr": {
                    "type": "string",
                    "title": "FR"
                }
            }
        }
    }
}

All fields would hold an object with the language keys instead of holding the values directly. But the fields should be split into tabs instead of displaying them all in separate rows.
I don't think this is possible right now, correct? I could find anything in the documentation.
Thanks for your response!

Hello
No it's not possible at the moment. How about having 3 different forms, on for each language, that you display in tabs ?

Hi @tchapi. Thanks for your response! That would work for most forms. This is just closer to how we store things in the database. For arrays, we'd want all languages to contain the same number of elements which would require additional validation. Furthermore some fields don't need to be translated (e.g. checkboxes) which would split the form into a translated and non-translated section which is not necessarily the best way to split the form.
We decided to go with jsonforms. Feel free to close this issue if you don't think this adds any value to your library.
Thanks again!

No problem, understood.
Happy coding,
BR


Helpbutton

e563da5: [FINISHED #96076828] Allow select box value to be removed should not be part of pull request

Review status: 0 of 7 files reviewed at latest revision, 2 unresolved discussions, some commit checks pending.

src/client/html/index.html, line 66 [r1] (raw file):
Tom, please do not leave unused code in application. if we need to see previous state of code, we can use git tooling for that.

src/client/js/xpsui/directives/select-edit.js, line 1 [r1] (raw file):
I believe that this file should be part of pull request. you pushed in pull request two completely different things.

Comments from the review on Reviewable.io

merged manually with code rework


Replace Glide with Dep

[x] Generate correct Gopkg.toml and Gopkg.lock.
[x] Update glide references in Makefile and replace with dep equivalents.
[x] Update documentation.

Fixes #483

Looks good to me so far, the DCO check fails because it's looking for sign offs in all commits.
Also, was the toml file generated from glide.yaml, if so how?

@vprithvi I forgot the -s flag in my git commit in my first commit. How would I modify it after the fact? Also, I manually generated the Gopkg.toml from the Glide.yaml file (very straight forward). The Gopkg.lock file was generated using dep ensure

Coverage remained the same at 100.0% when pulling 30680e10adfb57f5250efb2c990efdfef3206a74 on frankgreco:dep into 8d6d07a8a4016ca10f7b8ca74e4c5792f1008f57 on jaegertracing:master.

@vprithvi in an attempt to signoff on my first commit, I went HEAD~<one too many> and so I incorrectly modified the signing of @black-adder commit. Any idea on how to fix this?

Coverage remained the same at 100.0% when pulling 30680e10adfb57f5250efb2c990efdfef3206a74 on frankgreco:dep into 8d6d07a8a4016ca10f7b8ca74e4c5792f1008f57 on jaegertracing:master.

Coverage remained the same at 100.0% when pulling 30680e10adfb57f5250efb2c990efdfef3206a74 on frankgreco:dep into 8d6d07a8a4016ca10f7b8ca74e4c5792f1008f57 on jaegertracing:master.

Coverage remained the same at 100.0% when pulling 167e9b6644f844eb73d797489f38bd353345ddbb on frankgreco:dep into 8d6d07a8a4016ca10f7b8ca74e4c5792f1008f57 on jaegertracing:master.

Coverage remained the same at 100.0% when pulling efae10b5844a0cf4995f908773af07365026ff70 on frankgreco:dep into 8d6d07a8a4016ca10f7b8ca74e4c5792f1008f57 on jaegertracing:master.

@vprithvi in an attempt to signoff on my first commit, I went HEAD~ and so I incorrectly modified the signing of @black-adder commit. Any idea on how to fix this?

You could create a new branch from master, cherry pick the range of your commits into that new branch, and force push that branch to your old remote.
I'm not sure, but you might also be able to do an interactive rebase off master, and remove the line corresponding to the modified commit that wasn't yours.

Is this still relevant? Do we want still want to get rid of Glide, and if so, is dep still the right move? Or can this be closed?

I doubt we want to get rid of glide. Unless someone knows better, this looks done to me.

As glide project is in maintenance mode, and recommending projects move to dep, I think it is only a case of when this change will be made. So wouldn't it be better to leave this issue open?

In theory, sure. In practice, Uber still uses glide for 99% of internal projects so we'd probably keep this around until that number drops significantly.

Dep is now officially supported at Uber internally, we should upgrade the internal build to dep and then we can kill glide here as well. But then Go officially moving to vgo/modules, I haven't even looked at those.

But then Go officially moving to vgo/modules, I haven't even looked at those.

That's what I had in mind when I asked if moving to dep was the right move :)

Right it's really sad dep didn't pan out. I don't mind if we kill glide as long as dep is fully supported internally and works just as well as glide.

What's up with this?

Should this be closed, now that #1240 is merged?


Nullpointer in 1.5.4

java.lang.NullPointerException
    at com.netflix.exhibitor.core.processes.StandardProcessOperations.prepConfigFile(StandardProcessOperations.java:161)
    at com.netflix.exhibitor.core.processes.StandardProcessOperations.startInstance(StandardProcessOperations.java:109)
    at com.netflix.exhibitor.core.state.KillRunningInstance.completed(KillRunningInstance.java:41)
    at com.netflix.exhibitor.core.activity.ActivityQueue$1.run(ActivityQueue.java:127)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

This is due to https://github.com/Netflix/exhibitor/commit/8111083588d02b37e780647c217262da018f39d5

Awaiting 1.5.5 release.

@analytically have you come across https://github.com/Netflix/exhibitor/issues/236 ?

I got it working (1.5.4 from git) but gave up after Exhibitor was stuck in a restart loop. I'm now running Zookeeper manually. I might revisit Exhibitor later.

Closing this for now. You can re-open if you have further issues.


Fix Codecov configuration

Self Check

[x] I checked & tested my PR and it works well

Content of PR
What changed on this pull request

Codecov workflow was executed successful, but did not upload its content.

It's because Codecov doesn't support .coverage file, so I changed to export coverage file as JSON.

Updated GitHub Action version because there was a warning about deprecation.

Reference
https://docs.codecov.com/docs/supported-report-formats

Forgot to configure CODECOV_TOKEN value, so I re-run the workflow.

Codecov still did not upload its content.
Fixed by https://github.com/BeaverHouse/python-script-hub/commit/6c30ef0f7d3c3e8f75995bdfce7a0ae837295ee1
Reference
https://docs.codecov.com/docs/fixing-paths


hex decoding for legend values (bug 1271)

Provides a style operator, :decode, that can be
used to perform hex decoding of the legend text.
Background: internally we restrict input to simple
alpha-numeric characters, ., -, and _. if
characters are used the data will get dropped as
invalid. If using the servo-atlas module, then it
will convert invalid characters to _. Most
commonly that was done for spaces.
The restriction is to ensure that it is easy and
safe to craft the query expressions and include
them as part of the URI in a variety of contexts.
Precise linkability is extremely important and
should not be compromised.
Some users do their own url encoding and the %
then gets converted to an _. This allows them
to undo the restriction and get the original
characters back. With this change that decoding
can now be specified as part of the expression.
There are quite a few misgivings about this
feature. In my view this feature encourages bad
behavior such as trying to encode structural
information into tag values or trying to abuse
it as a more general purpose data store. The
compromise for now is supporting the decode
with a clear warning in the docs and we'll see
how it goes.

Note, wiki update was already run: https://github.com/Netflix/atlas/wiki/style-decode


case in case class isn't annotated as keyword

Instead, only class is.

sxr is effectively unmaintained and there are many issues since it was originally targeted at Scala 2.7.  Please feel free to fork and submit pull requests or take over maintenance.


update readme

Signed-off-by: xiang<EMAIL_ADDRESS>

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


How to fork and create Table export in pdf, xml and other format.

Expected Behavior

Current Behavior

Steps to Reproduce (for bugs)

Your Environment

Tech
Version

Material-UI

MUI-datatables

React

browser

etc

Out of scope for this library. Generating PDF's and Excels in the client is a big task. I'm not looking to bloat the library to that extent.


Qingwei/flow

Changes Unknown when pulling f898d733c51f1fef66ceeb1165c7e72cd8630a98 on qingweibinary:qingwei/flow into ** on binary-com:master**.

Note: I've added a suppress comment, which works like eslint-disable-line for eslint, this is used to ignore highchart imports because we use a custom one, and also used in several places where making flow stop complain is too painful


Uncaught RangeError: Position 2 outside of fragment (<ordered_list>)

I recently upgraded tiptap and tiptap-extensions. And it seemed that the nodes are not working now. I got errors as above. Does anyone else have the same issue?
Version info:
"tiptap": "^0.19.0",
"tiptap-extensions": "^0.21.1"

Complete stack trace:

Uncaught RangeError: Position 2 outside of fragment (<ordered_list>)
at Fragment.findIndex (index.js:278)
at insertInto (index.js:596)
at Slice.insertAt (index.js:527)
at ReplaceAroundStep.apply (index.js:564)
at Transaction.maybeStep (index.js:349)
at Transaction.step (index.js:340)
at doWrapInList (schema-list.js:104)
at schema-list.js:94
at commands.esm.js:209
at tiptap.esm.js:464

And I am using tiptap with Vuetify.js and font awesome if that matters.

I can't reproduce that error in this sandbox. Can you provide a sandbox or repo?

I am also having this same trouble...only for bullet_list and ordered_list.  I am using the floating menu, however also seems to happen with menububble as well.  I will try to see if I can make a repo or figure where the trouble is.  I don't know if this is only from the latest version.  I will also try installing an older build and see if the trouble goes away.  Thanks for making this excellent editor!

Is there still an error?

I have a similar error after upgrading to 1.13.0. It works in development mode but breaks in build (using vue-cli). It happens with lists and blockquote.
Uncaught RangeError: Position 2 outside of fragment (<bullet_list>)
    at a.findIndex (chunk-vendors.1cd43dbc.js:7)
    at g (chunk-vendors.1cd43dbc.js:7)
    at d.insertAt (chunk-vendors.1cd43dbc.js:7)
    at e.apply (chunk-vendors.1cd43dbc.js:24)
    at e.h.maybeStep (chunk-vendors.1cd43dbc.js:24)
    at e.h.step (chunk-vendors.1cd43dbc.js:24)
    at e.h.wrap (chunk-vendors.1cd43dbc.js:24)
    at i.<anonymous> (chunk-vendors.1cd43dbc.js:7)
    at T.handleTextInput (chunk-vendors.1cd43dbc.js:7)
    at chunk-vendors.1cd43dbc.js:7

Similar error here after upgrading to 1.13.0, and still exist in 1.14.0
RangeError: Position 2 outside of fragment (<bullet_list>)
    at Fragment.findIndex (index.js:278)
    at insertInto (index.js:596)
    at Slice.insertAt (index.js:527)
    at ReplaceAroundStep.apply (index.js:564)
    at Transaction.maybeStep (index.js:349)
    at Transaction.step (index.js:340)
    at doWrapInList (schema-list.js:104)
    at schema-list.js:94
    at commands.esm.js:336
    at commands.<computed> (tiptap.esm.js:539)

Bullet List and Order List is broken. Headings and inline styles work fine.
I've currently downgraded it to 1.11.0 to made my editor work again.

can anyone provide a codesandbox?

Closing this due to inactivity.


Java 10: Warnings: Illegal reflective access: CloneableConverter

What
When starting a spring boot application, using Orika with Java 10, I receive the following warnings:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by ma.glasnost.orika.converter.builtin.CloneableConverter (file:/xxxr) to method java.lang.Object.clone()
WARNING: Please consider reporting this to the maintainers of ma.glasnost.orika.converter.builtin.CloneableConverter
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Versions
I am using Java 10.0.2 and orika-core 1.5.2
How can this issue be solved? I did not check with Java 9 but I expect it to be the same (as with other libraries, which use Reflections).

Bump!
Any news on this?

Nice!

Quick answer: in  Java >9  you'll need to add --add-opens java.base/java.lang=ALL-UNNAMED
Actually this particular converter need to use .clone method if available (even if private)
I removed the need for reflection in builtin  converters, the reflection based will stay there if wanted.
should be available in 1.6.0
Just keep in mind those warning wont affect anything now a lot of infrastructure code in Java ecosystem just ignoring those warning some naughty people even disable the logger 😅
/**
     * Java 9 now complains about every privileged action regardless.
     * Displaying warnings of "illegal usage" and then instructing users
     * to go hassle the maintainers in order to have it fixed.
     * Making it hush for now, see all fixed.
     * @param tu theUnsafe that'll fix it */
    static void disableWarning(TheUnsafe tu) {
        try {
            if (ClassFile.MAJOR_VERSION < ClassFile.JAVA_9)
                return;
            Class<?> cls = Class.forName("jdk.internal.module.IllegalAccessLogger");
            Field logger = cls.getDeclaredField("logger");
            tu.call("putObjectVolatile", cls, tu.call("staticFieldOffset", logger), null);
        } catch (Exception e) { /*swallow*/ }
    }

(from javassist)
We will not do that but gradually remove all illegal usages (there is only few places in Orika)

Branch 1.6.x is available (main repository, free of illegal access) please check it out and let me know.

I am using orkia core 1.5.4 latest in maven till now, but I am still getting. Where to get 1.6.* ?

Using java 11 and Orika 1.5.2 with the same problem

Using java 13 and orika-core 1.5.4  with same problem.

Using java 11 and Orika 1.5.4 with the same problem

Quick answer: in Java >9 you'll need to add --add-opens java.base/java.lang=ALL-UNNAMED
Actually this particular converter need to use .clone method if available
I removed the need for reflection in builtin converters (ma.glasnost.orika.converter.builtin.CloneableConverter), and the reflection based one will stay there if wanted.
This modification should be available in 1.6.0
Just keep in mind those warnings wont affect anything. Now a lot of infrastructure code in Java ecosystem are just ignoring those warnings. Some naughty people dared to disable the logger 😅
/**
     * Java 9 now complains about every privileged action regardless.
     * Displaying warnings of "illegal usage" and then instructing users
     * to go hassle the maintainers in order to have it fixed.
     * Making it hush for now, see all fixed.
     * @param tu theUnsafe that'll fix it */
    static void disableWarning(TheUnsafe tu) {
        try {
            if (ClassFile.MAJOR_VERSION < ClassFile.JAVA_9)
                return;
            Class<?> cls = Class.forName("jdk.internal.module.IllegalAccessLogger");
            Field logger = cls.getDeclaredField("logger");
            tu.call("putObjectVolatile", cls, tu.call("staticFieldOffset", logger), null);
        } catch (Exception e) { /*swallow*/ }
    }

(from javassist)
We will not do that but gradually remove all illegal usages (there is only few places in Orika)

This is not true in my case, the destination object's properties are all set to null on mapper.map(source, destination.class)

No news on this?

Bump.

Bump.

Bump

Any chance of releasing the 1.6.0 version any time soon? It's been 2 years since you have mentioned it.

I locally built 1.6.0 branch and used for our project with Java 11 open and it is working fine without any issues

The WARNING: All illegal access operations will be denied in a future release - part of the error is now becoming reality. In Java 16 orika mapper simply does not work any more*. With the upcoming release of Java 17 (which is an LTS build!), I think the release of version 1.6 is becoming quite important.
* Error logs:
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orikaMapperFacade' defined in class path resource [net/rakugakibox/spring/boot/orika/OrikaAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is

org.springframework.beans.BeanInstantiationException: Failed to instantiate [ma.glasnost.orika.MapperFacade]: Factory method 'orikaMapperFacade' threw exception; nested exception is java.lang.reflect.InaccessibleObjectException: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @744e1a70

FYI: JDK 17 now has landed.

So I guess the answer is - stay on JDK 11, or look for something else.  Fortunately for me, I don't need to upgrade immediately, but it looks like it's time to reevaluate whether it's not better to just write the mapping layer by hand and forget about Orika.

I mean, it's only been three years since this was first reported, so nobody could possibly expect any sort of solution in that time frame.

In 2022, I was also affected by this problem.

Bump

Hi @elaatifi ya djari, think about releasing the 1.6.0, I'm having the same issue with 1.5.4.


New Contribution

Contributor: mabera
SSH Public key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH6W6JEmErHS2DyO7xdKnjJL8xMj8wePal+k1iOmdVpG
Attestation: [any form of attestation for contribution (e.g., signature) - Optional]

AM Actively Ready


[5.3] Improve Eloquent naming consistency

Improves naming of model methods.
getKey() - returns key value while getForeignKey() returns key name.
Changed to getForeignKeyName() to be consistent with getKeyName().
setCreatedAt() and setUpdatedAt() now use methods to get column names instead of constants.
fillable() renamed to setFillable() (same as setVisible() and setHidden()).
guard() renamed to setGuarded() - same as above + not to confuse with static unguard() method.

I don't like change to setFillable.

I most cases in the framework methods without get or set behave either like getters or have mixed behavior. But here it is different and it confuses a lot


[v3] Uncaught TypeError: CanvasGraphics.renderGraphics is not a function

I just migrated to v3 and I'm getting this error.
The renderGraphics function is being called in Graphics.js 823.
The renderGraphics function doesn't exist on CanvasGraphics.

The issue is only present when using CanvasRenderer. Is it deprecated?

It most certainly does:
https://github.com/GoodBoyDigital/pixi.js/blob/master/src/core/renderers/canvas/utils/CanvasGraphics.js#L16
Do you have a running example of this?

You are totally right, it does.
Not sure why I'm getting this error when trying to use CanvasRenderer, no issues when ussing WebGLRenderer.
I'm gonna publish an example of this ASAP and let you know.

That method is only called with canvas renderer, it is how graphics are drawn to the canvas. You won't see that call in WebGL rendering because it doesn't use the CanvasGraphics object at all for that.
Looking forward to you test case.

You guys! Look!

This was a regression, got it fixed in latest dev. Will hotfix shortly.

@englercj Thanks! Sorry, I couldn't build the test case.


ui issue in  customer  order view page in blisss theme in mobile view

Bagisto Version

[ ] master branch

Steps To Reproduce

go to customer profile page
Actual Result

Please check this is working fine.